From 4363e74d3eeac5274924a9ac1ad35554be7fcda7 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Thu, 25 Oct 2018 15:33:32 +0300 Subject: [PATCH] TVD: Add LBaaS get_operating_status support Change-Id: I9676be9d31764ea63d0bd61fc914e3f81eee5611 --- vmware_nsx/services/lbaas/nsx/lb_driver_v2.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vmware_nsx/services/lbaas/nsx/lb_driver_v2.py b/vmware_nsx/services/lbaas/nsx/lb_driver_v2.py index 53c0b38dd5..524b58c510 100644 --- a/vmware_nsx/services/lbaas/nsx/lb_driver_v2.py +++ b/vmware_nsx/services/lbaas/nsx/lb_driver_v2.py @@ -77,6 +77,13 @@ class EdgeLoadBalancerManager(base_mgr.LoadbalancerBaseManager): lb.tenant_id) return p.lbv2_driver.loadbalancer.stats(context, lb) + @log_helpers.log_method_call + def get_operating_status(self, context, id, with_members=False): + p = self.core_plugin._get_plugin_from_project(context, + context.project_id) + return p.lbv2_driver.loadbalancer.get_operating_status( + context, id, with_members=with_members) + class EdgeListenerManager(base_mgr.LoadbalancerBaseManager):