Flag an error if network is deleted which has ports attached to it
Bug #1573207 reported by
Sukhdev Kapur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-arista |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During initialization of Arista driver make sure to clean its DB to get in sync with neutron DB. This ensures that Arista driver's DB and neutron's DB are in sync.
Also, when a network delete is issued to Arista driver, fail this command if there are ports attached to this network
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/309622 /git.openstack. org/cgit/ openstack/ networking- arista/ commit/ ?id=5252768cbe3 d76aef2e6124424 ec741077ffeb57
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5252768cbe3d76a ef2e6124424ec74 1077ffeb57
Author: Sukhdev Kapur <email address hidden>
Date: Fri Apr 22 16:26:31 2016 -0700
Do not delete a network with ports attached to it
If a network has ports attached to it, do not delete the network
instead raise an exception so that user knows about this
condition.
Additionally, during initialization, when networks are deleted,
remove all the ports associated with the network.
Change-Id: Idb72305ac37dfe 0c865fe09fbc5ab 784d807906d
Closes-bug: #1573207