NSX|P: Add deletion of certificates to devstack cleanup
Change-Id: Ie2917aeeaae4b65b32f367f8de79720e167fa228
This commit is contained in:
parent
e499e6c1a9
commit
b03c5f23fe
@ -477,6 +477,10 @@ class NSXClient(object):
|
|||||||
self._cleanup_lb_resource(self.nsxpolicy.load_balancer.lb_service,
|
self._cleanup_lb_resource(self.nsxpolicy.load_balancer.lb_service,
|
||||||
'LB services')
|
'LB services')
|
||||||
|
|
||||||
|
def cleanup_lb_certificates(self):
|
||||||
|
self._cleanup_lb_resource(self.nsxpolicy.certificate,
|
||||||
|
'Certificates')
|
||||||
|
|
||||||
def cleanup_lb_gateways(self):
|
def cleanup_lb_gateways(self):
|
||||||
# cleanup gateway policies and other resources related to the
|
# cleanup gateway policies and other resources related to the
|
||||||
# allowed cidrs feature
|
# allowed cidrs feature
|
||||||
@ -523,6 +527,7 @@ class NSXClient(object):
|
|||||||
self.cleanup_lb_services()
|
self.cleanup_lb_services()
|
||||||
self.cleanup_lb_server_pools()
|
self.cleanup_lb_server_pools()
|
||||||
self.cleanup_lb_monitors()
|
self.cleanup_lb_monitors()
|
||||||
|
self.cleanup_lb_certificates()
|
||||||
|
|
||||||
def cleanup_fwaas_router_resources(self, rtr_id):
|
def cleanup_fwaas_router_resources(self, rtr_id):
|
||||||
# delete the GW policy
|
# delete the GW policy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user