heat.engine.clients.os.octavia module

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

Bases: OctaviaConstraint

base_url = '/lbaas/availabilityzones'
class heat.engine.clients.os.octavia.AvailabilityZoneProfileConstraint[source]

Bases: OctaviaConstraint

base_url = '/lbaas/availabilityzoneprofiles'
class heat.engine.clients.os.octavia.FlavorConstraint[source]

Bases: OctaviaConstraint

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

Bases: OctaviaConstraint

base_url = '/lbaas/flavorprofiles'
class heat.engine.clients.os.octavia.L7PolicyConstraint[source]

Bases: OctaviaConstraint

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

Bases: OctaviaConstraint

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

Bases: OctaviaConstraint

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

Bases: 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.10/site-packages/octaviaclient/api/v2/octavia.py'>
get_availabilityzoneprofile(value)[source]
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: 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: OctaviaConstraint

base_url = '/lbaas/pools'