heat.engine.clients.os.octavia module

heat.engine.clients.os.octavia module

class heat.engine.clients.os.octavia.L7PolicyConstraint[source]

Bases: heat.engine.clients.os.octavia.OctaviaConstraint

base_url = '/lbaas/l7policies'
class heat.engine.clients.os.octavia.ListenerConstraint[source]

Bases: heat.engine.clients.os.octavia.OctaviaConstraint

base_url = '/lbaas/listeners'
class heat.engine.clients.os.octavia.LoadbalancerConstraint[source]

Bases: heat.engine.clients.os.octavia.OctaviaConstraint

base_url = '/lbaas/loadbalancers'
class heat.engine.clients.os.octavia.OctaviaClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

LOADBALANCER = 'load-balancer'
V2 = '2'
default_version = '2'
exceptions_module = <module 'octaviaclient.api.v2.octavia' from '/home/zuul/.venv/local/lib/python2.7/site-packages/octaviaclient/api/v2/octavia.pyc'>
get_l7policy(value)[source]
get_listener(value)[source]
get_loadbalancer(value)[source]
get_pool(value)[source]
is_conflict(ex)[source]

Returns True if the exception is a conflict.

is_not_found(ex)[source]

Returns True if the exception is a not-found.

is_over_limit(ex)[source]

Returns True if the exception is an over-limit.

service_types = ['load-balancer']
supported_versions = ['2']
class heat.engine.clients.os.octavia.OctaviaConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

base_url = None
expected_exceptions = (<class 'osc_lib.exceptions.NotFound'>, <class 'octaviaclient.api.v2.octavia.OctaviaClientException'>)
validate_with_client(client, value)[source]
class heat.engine.clients.os.octavia.PoolConstraint[source]

Bases: heat.engine.clients.os.octavia.OctaviaConstraint

base_url = '/lbaas/pools'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.