Update octavia client
Change-Id: I84ec45a5928af2451a593effd2f5c90f972e7b7a
This commit is contained in:
parent
df17188e02
commit
1e5b02cd64
@ -16,7 +16,8 @@ from __future__ import absolute_import
|
||||
from tobiko.openstack.octavia import _client
|
||||
|
||||
|
||||
octavia_client = _client.octavia_client
|
||||
OCTAVIA_CLIENT_CLASSSES = _client.OCTAVIA_CLIENT_CLASSSES
|
||||
get_loadbalancer = _client.get_loadbalancer
|
||||
get_octavia_client = _client.get_octavia_client
|
||||
octavia_client = _client.octavia_client
|
||||
OctaviaClientFixture = _client.OctaviaClientFixture
|
||||
|
@ -67,3 +67,7 @@ def get_octavia_client(session=None, shared=True, init_client=None,
|
||||
init_client=init_client)
|
||||
tobiko.setup_fixture(client)
|
||||
return client.client
|
||||
|
||||
|
||||
def get_loadbalancer(loadbalancer_id, client=None):
|
||||
return octavia_client(client).load_balancer_show(lb_id=loadbalancer_id)
|
||||
|
Loading…
Reference in New Issue
Block a user