heat.engine.clients.os.octavia module

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

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

base_url = '/lbaas/flavors'
class heat.engine.clients.os.octavia.FlavorProfileConstraint[source]

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

base_url = '/lbaas/flavorprofiles'
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/src/opendev.org/openstack/heat/.tox/docs/lib/python3.6/site-packages/octaviaclient/api/v2/octavia.py'>
get_flavor(value)[source]
get_flavorprofile(value)[source]
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.exceptions.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'