NSX|P: Remove tier1 router service in cleanup
Change-Id: I23d3919d56d6cdb7a5693e14e2db2fdafd1d92bb
This commit is contained in:
parent
8374f93bbc
commit
4831350452
@ -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…
x
Reference in New Issue
Block a user