The heat.engine.clients.os.neutron Module

class heat.engine.clients.os.neutron.NetworkConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'neutronclient.common.exceptions.NeutronClientException'>, <class 'heat.common.exception.NovaNetworkNotFound'>, <class 'heat.common.exception.PhysicalResourceNameAmbiguity'>)
validate_with_client(client, value)[source]
class heat.engine.clients.os.neutron.NeutronClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

NETWORK = 'network'
exceptions_module = <module 'neutronclient.common.exceptions' from '/home/jenkins/workspace/heat-docs-ubuntu-xenial/.tox/venv/local/lib/python2.7/site-packages/neutronclient/common/exceptions.pyc'>
find_neutron_resource(props, key, key_type)[source]
get_secgroup_uuids(security_groups)[source]

Returns a list of security group UUIDs.

Args: security_groups: List of security group names or UUIDs

is_conflict(ex)[source]
is_no_unique(ex)[source]
is_not_found(ex)[source]
is_over_limit(ex)[source]
network_id_from_subnet_id(subnet_id)[source]
resolve_network(props, net_key, net_id_key)[source]
resolve_port(props, port_key, port_id_key)[source]
resolve_router(props, router_key, router_id_key)[source]
resolve_subnet(props, subnet_key, subnet_id_key)[source]
service_types = ['network']
class heat.engine.clients.os.neutron.PortConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'neutronclient.common.exceptions.NeutronClientException'>,)
validate_with_client(client, value)[source]
class heat.engine.clients.os.neutron.RouterConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'neutronclient.common.exceptions.NeutronClientException'>,)
validate_with_client(client, value)[source]
class heat.engine.clients.os.neutron.SubnetConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'neutronclient.common.exceptions.NeutronClientException'>,)
validate_with_client(client, value)[source]

Previous topic

The heat.engine.clients.os.monasca Module

Next topic

The heat.engine.clients.os.nova Module

Project Source

This Page