Browse Source

NSX|P: Remove tier1 router service in cleanup

Change-Id: I23d3919d56d6cdb7a5693e14e2db2fdafd1d92bb
changes/74/627174/2
Adit Sarfaty 3 years ago
parent
commit
4831350452
  1. 5
      devstack/tools/nsxp_cleanup.py

5
devstack/tools/nsxp_cleanup.py

@ -154,6 +154,11 @@ class NSXClient(object):
for rtr in routers:
# remove all nat rules from this router before deletion
self.cleanup_tier1_nat_rules(rtr['id'])
try:
self.nsxpolicy.tier1.remove_edge_cluster(rtr['id'])
except exceptions.ManagerError as e:
# Not always exists
pass
try:
self.nsxpolicy.tier1.delete(rtr['id'])
except exceptions.ManagerError as e:

Loading…
Cancel
Save