heat.engine.clients.os.neutron 包¶
子模块¶
- heat.engine.clients.os.neutron.lbaas_constraints 模块
- heat.engine.clients.os.neutron.neutron_constraints 模块
- heat.engine.clients.os.neutron.taas_constraints 模块
模块内容¶
- class heat.engine.clients.os.neutron.NeutronClientPlugin(*args, **kwargs)[源代码]¶
基类:
ExtensionMixin,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.12/site-packages/neutronclient/common/exceptions.py'>¶
- find_resourceid_by_name_or_id(resource, name_or_id, cmd_resource=None)[源代码]¶
根据名称或 ID 查找资源 ID。
resource 参数应为 RES_TYPES 中定义的常量之一。
- service_types = ['network']¶