Linux bridge leaves artifacts when all ports are deleted from network

Asked by Gary Kotton on 2012-04-30

When all ports are removed from the network the linux bridge still leaves the bridge. This is only deleted when the network is deleted.
Is this by design or a bug?
Maybe it would be best if the bridge was deleted when the last port is deleted from the bridge

Question information

English Edit question
neutron Edit question
No assignee Edit question
Solved by:
Sumit Naiksatam
Last query:
Last reply:
Best Sumit Naiksatam (snaiksat) said : #1

Hi Gary, This is currently by design. Note that there is additional gateway related configuration that is performed on the nova-network side, and which gets triggered only when the network is created. If the bridge is deleted, this configuration will be lost, and will not be available when the same network has to be used again. Hence I did not do this optimization.

Once all the L3 configuration is moved to Quantum (and we are not using nova-network any more), one can consider performing this optimization.

Gary Kotton (garyk) said : #2

Thanks Sumit Naiksatam, that solved my question.