heat.engine.clients.os.openstacksdk module

class heat.engine.clients.os.openstacksdk.OpenStackSDKPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

CLUSTERING = 'clustering'
NETWORK = 'network'
exceptions_module = <module 'openstack.exceptions' from '/home/zuul/src/opendev.org/openstack/heat/.tox/docs/lib/python3.10/site-packages/openstack/exceptions.py'>
find_network_ip(value)[source]
find_network_port(value)[source]
find_network_segment(value)[source]
is_not_found(ex)[source]

Returns True if the exception is a not-found.

service_types = ['network', 'clustering']
class heat.engine.clients.os.openstacksdk.SegmentConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'openstack.exceptions.ResourceNotFound'>, <class 'openstack.exceptions.DuplicateResource'>)
validate_with_client(client, value)[source]