heat.engine.clients.os.neutron package¶
Submodules¶
Module contents¶
- class heat.engine.clients.os.neutron.NeutronClientPlugin(*args, **kwargs)[source]¶
Bases:
heat.engine.clients.os.ExtensionMixin
,heat.engine.clients.client_plugin.ClientPlugin
- NETWORK = 'network'¶
- RES_TYPES = ('network', 'subnet', 'router', 'port', 'subnetpool', 'address_scope', 'security_group', 'policy', 'loadbalancer', 'listener', 'pool', 'l7policy')¶
- RES_TYPE_ADDRESS_SCOPE = 'address_scope'¶
- RES_TYPE_LB_L7POLICY = 'l7policy'¶
- RES_TYPE_LB_LISTENER = 'listener'¶
- RES_TYPE_LB_POOL = 'pool'¶
- RES_TYPE_LOADBALANCER = 'loadbalancer'¶
- RES_TYPE_NETWORK = 'network'¶
- RES_TYPE_PORT = 'port'¶
- RES_TYPE_QOS_POLICY = 'policy'¶
- RES_TYPE_ROUTER = 'router'¶
- RES_TYPE_SECURITY_GROUP = 'security_group'¶
- RES_TYPE_SUBNET = 'subnet'¶
- RES_TYPE_SUBNET_POOL = 'subnetpool'¶
- exceptions_module = <module 'neutronclient.common.exceptions' from '/home/zuul/src/opendev.org/openstack/heat/.tox/docs/lib/python3.10/site-packages/neutronclient/common/exceptions.py'>¶
- find_resourceid_by_name_or_id(resource, name_or_id, cmd_resource=None)[source]¶
Find a resource ID given either a name or an ID.
The resource argument should be one of the constants defined in RES_TYPES.
- get_qos_policy_id(policy)[source]¶
Returns the id of QoS policy.
Args: policy: ID or name of the policy.
- get_secgroup_uuids(security_groups)[source]¶
Returns a list of security group UUIDs.
Args: security_groups: List of security group names or UUIDs
- resolve_ext_resource(resource, name_or_id)[source]¶
Returns the id and validate neutron ext resource.
- service_types = ['network']¶