TVD: Add LBaaS get_operating_status support

Change-Id: I9676be9d31764ea63d0bd61fc914e3f81eee5611
This commit is contained in:
Adit Sarfaty 2018-10-25 15:33:32 +03:00
parent a3bc1e4f98
commit 4363e74d3e

View File

@ -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):