@Armando, we can cause the binding to fail if the agent is in the admin_state_up == False condition. This will force Nova to reschedule if it tried to put a VM there. The following line would just check the admin state as well: https://github.com/openstack/neutron/blob/31f4c878cde38b240e76489ca2a2202ed53c495b/neutron/plugins/ml2/drivers/mech_agent.py#L69
@Carlos, would that meet your use case?
@Armando, we can cause the binding to fail if the agent is in the admin_state_up == False condition. This will force Nova to reschedule if it tried to put a VM there. The following line would just check the admin state as well: https:/ /github. com/openstack/ neutron/ blob/31f4c878cd e38b240e76489ca 2a2202ed53c495b /neutron/ plugins/ ml2/drivers/ mech_agent. py#L69
@Carlos, would that meet your use case?