diff --git a/devstack/tools/nsxp_cleanup.py b/devstack/tools/nsxp_cleanup.py index 0be245ac5f..096d43e520 100755 --- a/devstack/tools/nsxp_cleanup.py +++ b/devstack/tools/nsxp_cleanup.py @@ -451,6 +451,10 @@ class NSXClient(object): self._cleanup_lb_resource(self.nsxpolicy.load_balancer.lb_service, 'LB services') + def cleanup_lb_certificates(self): + self._cleanup_lb_resource(self.nsxpolicy.certificate, + 'Certificates') + def cleanup_lb_gateways(self): # cleanup gateway policies and other resources related to the # allowed cidrs feature @@ -497,6 +501,7 @@ class NSXClient(object): self.cleanup_lb_services() self.cleanup_lb_server_pools() self.cleanup_lb_monitors() + self.cleanup_lb_certificates() def cleanup_fwaas_router_resources(self, rtr_id): # delete the GW policy