I think the idea is to avoid traffic from or to any VMs attached to this network. So maybe a first fix could be to set the VMs port as dead when the network is set to down according to the suggestion I made in the mailing list [1]
[1] do not change the admin_state_up value of ports and introduce a new field in the get_device_details rpc call in order to indicate that the admin_state_up of network is down and then set the port as dead.
I think the idea is to avoid traffic from or to any VMs attached to this network. So maybe a first fix could be to set the VMs port as dead when the network is set to down according to the suggestion I made in the mailing list [1]
[1] do not change the admin_state_up value of ports and introduce a new field in the get_device_details rpc call in order to indicate that the admin_state_up of network is down and then set the port as dead.