The Network Class
The network high-level interface is available through the network member of a Connection object. The network member will only be added if the service is detected.
Network Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
dhcp_agent_hosting_networks
- dhcp_agent_hosting_networks(agent, **query)
DHCP 에이전트에 의해 호스팅되는 네트워크의 생성기입니다.
- Parameters:
agent Either the agent id of an instance ofAgentquery kwargs query: Optional query parameters to be sentto limit the resources being returned.
- Returns:
A generator of networks
add_dhcp_agent_to_network
- add_dhcp_agent_to_network(agent, network)
네트워크에 DHCP 에이전트 추가
- Parameters:
agent Either the agent id of an instance ofAgentnetwork Network instance
- Returns:
remove_dhcp_agent_from_network
- remove_dhcp_agent_from_network(agent, network)
네트워크에서 DHCP 에이전트 제거
- Parameters:
agent Either the agent id of an instance ofAgentnetwork Network instance
- Returns:
create_network
- create_network(**attrs)
속성에서 새 네트워크 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Network,comprised of the properties on the Network class.
- Returns:
The results of network creation
- Return type:
Network
delete_network
- delete_network(network, ignore_missing, if_revision)
네트워크 삭제
- Parameters:
network The value can be either the ID of a network or aNetwork instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the network does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent network.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_network
- find_network(name_or_id, ignore_missing, **query)
단일 네트워크 찾기
- Parameters:
name_or_id The name or ID of a network.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Network or None
get_network
- get_network(network)
단일 네트워크 가져오기
- Parameters:
network The value can be the ID of a network or aNetwork instance.
- Returns:
One Network
- Raises:
ResourceNotFoundwhen no resource can be found.
networks
- networks(**query)
네트워크 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:description: The network description.ipv4_address_scope_id: The ID of the IPv4 address scope forthe network.ipv6_address_scope_id: The ID of the IPv6 address scope forthe network.is_admin_state_up: Network administrative stateis_port_security_enabled: The port security status.is_router_external: Network is external or not.is_shared: Whether the network is shared across projects.name: The name of the network.status: Network statusproject_id: Owner tenant IDprovider_network_type: Network physical mechanismprovider_physical_network: Physical networkprovider_segmentation_id: VLAN ID for VLAN networks or TunnelID for GENEVE/GRE/VXLAN networks
- Returns:
A generator of network objects
- Return type:
Network
update_network
- update_network(network, if_revision, **attrs)
네트워크 업데이트
- Parameters:
network Either the id of a network or an instance of typeNetwork.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the network representedby network.
- Returns:
The updated network
- Return type:
Network
find_network_ip_availability
- find_network_ip_availability(name_or_id, ignore_missing, **query)
네트워크의 IP 가용성 찾기
- Parameters:
name_or_id The name or ID of a network.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneNetworkIPAvailabilityor None
get_network_ip_availability
- get_network_ip_availability(network)
네트워크의 IP 가용성 가져오기
- Parameters:
network The value can be the ID of a network or aNetwork instance.
- Returns:
OneNetworkIPAvailability
- Raises:
ResourceNotFoundwhen no resource can be found.
network_ip_availabilities
- network_ip_availabilities(**query)
네트워크 IP 가용성 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:ip_version: IP version of the networknetwork_id: ID of network to use when listening network IPavailability.network_name: The name of the network for the particularnetwork IP availability.project_id: Owner tenant ID
- Returns:
A generator of network ip availability objects
- Return type:
NetworkIPAvailability
Port Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_port
- create_port(**attrs)
속성에서 새 포트 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Port,comprised of the properties on the Port class.
- Returns:
The results of port creation
- Return type:
Port
create_ports
- create_ports(data)
속성 목록에서 포트 생성
- Parameters:
data (list) List of dicts of attributes which will be used tocreate a Port,comprised of the properties on the Port class.
- Returns:
A generator of port objects
- Return type:
Port
delete_port
- delete_port(port, ignore_missing, if_revision)
포트 삭제
- Parameters:
port The value can be either the ID of a port or aPort instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the port does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent port.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_port
- find_port(name_or_id, ignore_missing, **query)
단일 포트 찾기
- Parameters:
name_or_id The name or ID of a port.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Port or None
get_port
- get_port(port)
단일 포트 가져오기
- Parameters:
port The value can be the ID of a port or aPort instance.
- Returns:
One Port
- Raises:
ResourceNotFoundwhen no resource can be found.
ports
- ports(**query)
포트 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:description: The port description.device_id: Port device ID.device_owner: Port device owner (e.g. network:dhcp).ip_address: IP addresses of an allowed address pair.is_admin_state_up: The administrative state of the port.is_port_security_enabled: The port security status.mac_address: Port MAC address.name: The port name.network_id: ID of network that owns the ports.project_id: The ID of the project who owns the network.status: The port status. Value is ACTIVE or DOWN.subnet_id: The ID of the subnet.
- Returns:
A generator of port objects
- Return type:
Port
update_port
- update_port(port, if_revision, **attrs)
포트 업데이트
- Parameters:
port Either the id of a port or aPort instance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the port representedby port.
- Returns:
The updated port
- Return type:
Port
Router Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_router
- create_router(**attrs)
속성에서 새 라우터 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Router,comprised of the properties on the Router class.
- Returns:
The results of router creation
- Return type:
Router
delete_router
- delete_router(router, ignore_missing, if_revision)
라우터 삭제
- Parameters:
router The value can be either the ID of a router or aRouter instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the router does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent router.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_router
- find_router(name_or_id, ignore_missing, **query)
단일 라우터 찾기
- Parameters:
name_or_id The name or ID of a router.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Router or None
get_router
- get_router(router)
단일 라우터 가져오기
- Parameters:
router The value can be the ID of a router or aRouter instance.
- Returns:
One Router
- Raises:
ResourceNotFoundwhen no resource can be found.
routers
- routers(**query)
라우터 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: The description of a router.flavor_id: The ID of the flavor.is_admin_state_up: Router administrative state is up or notis_distributed: The distributed state of a routeris_ha: The highly-available state of a routername: Router nameproject_id: The ID of the project this router is associatedwith.status: The status of the router.
- Returns:
A generator of router objects
- Return type:
Router
update_router
- update_router(router, if_revision, **attrs)
라우터 업데이트
- Parameters:
router Either the id of a router or aRouter instance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the router representedby router.
- Returns:
The updated router
- Return type:
Router
add_interface_to_router
- add_interface_to_router(router, subnet_id, port_id)
라우터에 인터페이스 추가
- Parameters:
router Either the router ID or an instance ofRoutersubnet_id ID of the subnetport_id ID of the port
- Returns:
Router with updated interface
- Return type:
Router
remove_interface_from_router
- remove_interface_from_router(router, subnet_id, port_id)
라우터에서 인터페이스 제거
- Parameters:
router Either the router ID or an instance ofRoutersubnet ID of the subnetport ID of the port
- Returns:
Router with updated interface
- Return type:
Router
add_extra_routes_to_router
- add_extra_routes_to_router(router, body)
라우터에 추가 경로 추가
- Parameters:
router Either the router ID or an instance ofRouterbody The request body as documented in the api-ref.
- Returns:
Router with updated extra routes
- Return type:
Router
remove_extra_routes_from_router
- remove_extra_routes_from_router(router, body)
라우터에서 추가 경로 제거
- Parameters:
router Either the router ID or an instance ofRouterbody The request body as documented in the api-ref.
- Returns:
Router with updated extra routes
- Return type:
Router
add_gateway_to_router
- add_gateway_to_router(router, **body)
라우터에 게이트웨이 추가
- Parameters:
router Either the router ID or an instance ofRouterbody Body with the gateway information
- Returns:
Router with updated interface
- Return type:
Router
remove_gateway_from_router
- remove_gateway_from_router(router, **body)
라우터에서 게이트웨이 제거
- Parameters:
router Either the router ID or an instance ofRouterbody Body with the gateway information
- Returns:
Router with updated interface
- Return type:
Router
add_external_gateways
- add_external_gateways(router, body)
라우터 외부 게이트웨이 추가
- Parameters:
router Either the router ID or an instance ofRouterbody Body containing the external_gateways parameter.
- Returns:
Router with added gateways
- Return type:
Router
update_external_gateways
- update_external_gateways(router, body)
라우터 외부 게이트웨이 업데이트
- Parameters:
router Either the router ID or an instance ofRouterbody Body containing the external_gateways parameter.
- Returns:
Router with updated gateways
- Return type:
Router
remove_external_gateways
- remove_external_gateways(router, body)
라우터 외부 게이트웨이 제거
- Parameters:
router Either the router ID or an instance ofRouterbody Body containing the external_gateways parameter.
- Returns:
Router without the removed gateways
- Return type:
Router
create_conntrack_helper
- create_conntrack_helper(router, **attrs)
속성에서 새 L3 연결 트랙 도우미 만들기
- Parameters:
router Either the router ID or an instance ofRouterattrs Keyword arguments which will be used to create aConntrackHelper,comprised of the properties on the ConntrackHelper class.
- Returns:
The results of conntrack helper creation
- Return type:
ConntrackHelper
conntrack_helpers
- conntrack_helpers(router, **query)
연결 트랙 도우미 생성기 반환
- Parameters:
router Either the router ID or an instance ofRouterquery (kwargs) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of conntrack helper objects
- Return type:
ConntrackHelper
get_conntrack_helper
- get_conntrack_helper(conntrack_helper, router)
단일 L3 연결 트랙 도우미를 구하십시오
- Parameters:
conntrack_helper The value can be the ID of a L3 conntrackhelper or aConntrackHelper,instance.router The value can be the ID of a Router or aRouter instance.
- Returns:
OneConntrackHelper
- Raises:
ResourceNotFoundwhen no resource can be found.
update_conntrack_helper
- update_conntrack_helper(conntrack_helper, router, **attrs)
L3 conntrack_helper 업데이트
- Parameters:
conntrack_helper The value can be the ID of a L3 conntrackhelper or aConntrackHelper,instance.router The value can be the ID of a Router or aRouter instance.attrs The attributes to update on the L3 conntrack helperrepresented by conntrack_helper.
- Returns:
The updated conntrack helper
- Return type:
ConntrackHelper
delete_conntrack_helper
- delete_conntrack_helper(conntrack_helper, router, ignore_missing)
L3 conntrack_helper 삭제
- Parameters:
conntrack_helper The value can be the ID of a L3 conntrackhelper or aConntrackHelper,instance.router The value can be the ID of a Router or aRouter instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the floating ip does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent ip.
- Returns:
None
Floating IP Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_ip
- create_ip(**attrs)
속성에서 새 플로팅 IP 생성
- Parameters:
attrs Keyword arguments which will be used to createa FloatingIP,comprised of the properties on the FloatingIP class.
- Returns:
The results of floating ip creation
- Return type:
FloatingIP
delete_ip
- delete_ip(floating_ip, ignore_missing, if_revision)
부동 IP 삭제
- Parameters:
floating_ip The value can be either the ID of a floating ipor a FloatingIPinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the floating ip does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent ip.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_available_ip
- find_available_ip()
사용 가능한 IP 찾기
- Returns:
One FloatingIPor None
find_ip
- find_ip(name_or_id, ignore_missing, **query)
단일 IP 찾기
- Parameters:
name_or_id The name or ID of an IP.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One FloatingIPor None
get_ip
- get_ip(floating_ip)
단일 부동 IP 가져오기
- Parameters:
floating_ip The value can be the ID of a floating ip or aFloatingIPinstance.
- Returns:
One FloatingIP
- Raises:
ResourceNotFoundwhen no resource can be found.
ips
- ips(**query)
ips 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: The description of a floating IP.fixed_ip_address: The fixed IP address associated with afloating IP address.floating_ip_address: The IP address of a floating IP.floating_network_id: The ID of the network associated witha floating IP.port_id: The ID of the port to which a floating IP isassociated.project_id: The ID of the project a floating IP isassociated with.router_id: The ID of an associated router.status: The status of a floating IP, which can be ACTIVEor DOWN.
- Returns:
A generator of floating IP objects
- Return type:
FloatingIP
update_ip
- update_ip(floating_ip, if_revision, **attrs)
IP 업데이트
- Parameters:
floating_ip Either the id of a ip or aFloatingIPinstance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the ip representedby value.
- Returns:
The updated ip
- Return type:
FloatingIP
Pool Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_pool
- create_pool(**attrs)
속성에서 새 풀 생성
- Parameters:
attrs Keyword arguments which will be used to createa Pool,comprised of the properties on the Pool class.
- Returns:
The results of pool creation
- Return type:
Pool
delete_pool
- delete_pool(pool, ignore_missing)
풀 삭제
- Parameters:
pool The value can be either the ID of a pool or aPool instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the pool does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent pool.
- Returns:
None
find_pool
- find_pool(name_or_id, ignore_missing, **query)
단일 풀 찾기
- Parameters:
name_or_id The name or ID of a pool.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Pool or None
get_pool
- get_pool(pool)
단일 풀 가져오기
- Parameters:
pool The value can be the ID of a pool or aPool instance.
- Returns:
One Pool
- Raises:
ResourceNotFoundwhen no resource can be found.
pools
- pools(**query)
풀 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: The description for the pool.is_admin_state_up: The administrative state of the pool.lb_algorithm: The load-balancer algorithm used, which is oneof round-robin, least-connections and so on.name: The name of the node pool.project_id: The ID of the project the pool is associatedwith.protocol: The protocol used by the pool, which is one ofTCP, HTTP or HTTPS.provider: The name of the provider of the load balancerservice.subnet_id: The subnet on which the members of the pool arelocated.virtual_ip_id: The ID of the virtual IP used.
- Returns:
A generator of pool objects
- Return type:
Pool
update_pool
- update_pool(pool, **attrs)
풀 업데이트
- Parameters:
pool Either the id of a pool or aPool instance.attrs The attributes to update on the pool representedby pool.
- Returns:
The updated pool
- Return type:
Pool
create_pool_member
- create_pool_member(pool, **attrs)
속성에서 새 풀 구성원 생성
- Parameters:
pool The pool can be either the ID of a pool or aPool instance thatthe member will be created in.attrs Keyword arguments which will be used to createa PoolMember,comprised of the properties on the PoolMember class.
- Returns:
The results of pool member creation
- Return type:
PoolMember
delete_pool_member
- delete_pool_member(pool_member, pool, ignore_missing)
풀 구성원 삭제
- Parameters:
pool_member The member can be either the ID of a pool member or aPoolMember instance.pool The pool can be either the ID of a pool or aPool instance thatthe member belongs to.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the pool member does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent pool member.
- Returns:
None
find_pool_member
- find_pool_member(name_or_id, pool, ignore_missing, **query)
단일 풀 멤버 찾기
- Parameters:
name_or_id (str) The name or ID of a pool member.pool The pool can be either the ID of a pool or aPool instance thatthe member belongs to.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One PoolMemberor None
get_pool_member
- get_pool_member(pool_member, pool)
단일 풀 멤버 가져오기
- Parameters:
pool_member The member can be the ID of a pool member or aPoolMemberinstance.pool The pool can be either the ID of a pool or aPool instance thatthe member belongs to.
- Returns:
One PoolMember
- Raises:
ResourceNotFoundwhen no resource can be found.
pool_members
- pool_members(pool, **query)
풀 구성원의 생성기를 반환합니다
- Parameters:
pool The pool can be either the ID of a pool or aPool instance thatthe member belongs to.query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:address: The IP address of the pool member.is_admin_state_up: The administrative state of the poolmember.name: Name of the pool member.project_id: The ID of the project this pool member isassociated with.protocol_port: The port on which the application is hosted.subnet_id: Subnet ID in which to access this pool member.weight: A positive integer value that indicates the relativeportion of traffic that this member should receive from thepool.
- Returns:
A generator of pool member objects
- Return type:
PoolMember
update_pool_member
- update_pool_member(pool_member, pool, **attrs)
풀 구성원 업데이트
- Parameters:
pool_member Either the ID of a pool member or aPoolMemberinstance.pool The pool can be either the ID of a pool or aPool instance thatthe member belongs to.attrs The attributes to update on the pool memberrepresented by pool_member.
- Returns:
The updated pool member
- Return type:
PoolMember
Auto Allocated Topology Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
get_auto_allocated_topology
- get_auto_allocated_topology(project)
지정된 테넌트의 자동 할당 토폴로지 가져오기
- Parameters:
project The value is the ID or name of a project
- Returns:
The auto-allocated topology
- Return type:
AutoAllocatedTopology
delete_auto_allocated_topology
- delete_auto_allocated_topology(project, ignore_missing)
자동 할당된 토폴로지 삭제
- Parameters:
project The value is the ID or name of a projectignore_missing When set to FalseResourceNotFound will beraised when the topology does not exist.When set to True, no exception will be raised whenattempting to delete nonexistant topology
- Returns:
None
validate_auto_allocated_topology
- validate_auto_allocated_topology(project)
자동 할당을 위한 리소스 검증
- Parameters:
project The value is the ID or name of a project
- Returns:
Whether all resources are correctly configured or not
- Return type:
ValidateTopology
Default Security Group Rules Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_default_security_group_rule
- create_default_security_group_rule(**attrs)
속성에서 새 기본 보안 그룹 규칙 생성
- Parameters:
attrs Keyword arguments which will be used to create aDefaultSecurityGroupRule,comprised of the properties on the DefaultSecurityGroupRule class.
- Returns:
The results of default security group rule creation
- Return type:
DefaultSecurityGroupRule
delete_default_security_group_rule
- delete_default_security_group_rule(default_security_group_rule, ignore_missing)
기본 보안 그룹 규칙 삭제
- Parameters:
default_security_group_rule The value can be either the ID of a default security group ruleor aDefaultSecurityGroupRule instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the defaul security group rule does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent default security group rule.
- Returns:
None
find_default_security_group_rule
- find_default_security_group_rule(name_or_id, ignore_missing, **query)
단일 기본 보안 그룹 규칙 찾기
- Parameters:
name_or_id (str) The ID of a default security group rule.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneDefaultSecurityGroupRule or None
get_default_security_group_rule
- get_default_security_group_rule(default_security_group_rule)
단일 기본 보안 그룹 규칙 가져오기
- Parameters:
default_security_group_rule The value can be the ID of a default security group rule or aDefaultSecurityGroupRule instance.
- Returns:
DefaultSecurityGroupRule
- Raises:
ResourceNotFoundwhen no resource can be found.
default_security_group_rules
- default_security_group_rules(**query)
기본 보안 그룹 규칙 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:description: The default security group rule descriptiondirection: Default security group rule directionether_type: Must be IPv4 or IPv6, and addresses representedin CIDR must match the ingress or egress rule.protocol: Default security group rule protocolremote_group_id: ID of a remote security group
- Returns:
A generator of default security group rule objects
- Return type:
DefaultSecurityGroupRule
Security Group Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_security_group
- create_security_group(**attrs)
속성에서 새 보안 그룹 생성
- Parameters:
attrs Keyword arguments which will be used to createa SecurityGroup,comprised of the properties on the SecurityGroup class.
- Returns:
The results of security group creation
- Return type:
SecurityGroup
delete_security_group
- delete_security_group(security_group, ignore_missing, if_revision)
보안 그룹 삭제
- Parameters:
security_group The value can be either the ID of a security group or aSecurityGroupinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the security group does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent security group.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_security_group
- find_security_group(name_or_id, ignore_missing, **query)
단일 보안 그룹 찾기
- Parameters:
name_or_id The name or ID of a security group.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSecurityGroupor None
get_security_group
- get_security_group(security_group)
단일 보안 그룹 가져오기
- Parameters:
security_group The value can be the ID of a security group or aSecurityGroupinstance.
- Returns:
OneSecurityGroup
- Raises:
ResourceNotFoundwhen no resource can be found.
security_groups
- security_groups(**query)
보안 그룹의 생성기를 반환합니다
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: Security group descriptiond: The id of a security group, or list of security group idsname: The name of a security groupproject_id: The ID of the project this security group isassociated with.
- Returns:
A generator of security group objects
- Return type:
SecurityGroup
update_security_group
- update_security_group(security_group, if_revision, **attrs)
보안 그룹 업데이트
- Parameters:
security_group Either the id of a security group or aSecurityGroupinstance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the security grouprepresented by security_group.
- Returns:
The updated security group
- Return type:
SecurityGroup
create_security_group_rule
- create_security_group_rule(**attrs)
속성에서 새 보안 그룹 규칙 생성
- Parameters:
attrs Keyword arguments which will be used to create aSecurityGroupRule,comprised of the properties on theSecurityGroupRule class.
- Returns:
The results of security group rule creation
- Return type:
SecurityGroupRule
create_security_group_rules
- create_security_group_rules(data)
속성 목록에서 새 보안 그룹 규칙 생성
- Parameters:
data (list) List of dicts of attributes which will be used tocreate aSecurityGroupRule,comprised of the properties on the SecurityGroupRuleclass.
- Returns:
A generator of security group rule objects
- Return type:
SecurityGroupRule
delete_security_group_rule
- delete_security_group_rule(security_group_rule, ignore_missing, if_revision)
보안 그룹 규칙 삭제
- Parameters:
security_group_rule The value can be either the ID of a security group ruleor aSecurityGroupRuleinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the security group rule does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent security group rule.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_security_group_rule
- find_security_group_rule(name_or_id, ignore_missing, **query)
단일 보안 그룹 규칙 찾기
- Parameters:
name_or_id (str) The ID of a security group rule.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSecurityGroupRuleor None
get_security_group_rule
- get_security_group_rule(security_group_rule)
단일 보안 그룹 규칙 가져오기
- Parameters:
security_group_rule The value can be the ID of a security group rule or aSecurityGroupRuleinstance.
- Returns:
SecurityGroupRule
- Raises:
ResourceNotFoundwhen no resource can be found.
security_group_rules
- security_group_rules(**query)
보안 그룹 규칙 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:description: The security group rule descriptiondirection: Security group rule directionether_type: Must be IPv4 or IPv6, and addresses representedin CIDR must match the ingress or egress rule.project_id: The ID of the project this security group ruleis associated with.protocol: Security group rule protocolremote_group_id: ID of a remote security groupsecurity_group_id: ID of security group that owns the rules
- Returns:
A generator of security group rule objects
- Return type:
SecurityGroupRule
Address Group Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_address_group
- create_address_group(**attrs)
속성에서 새 주소 그룹 생성
- Parameters:
attrs Keyword arguments which will be used to createa AddressGroup,comprised of the properties on the AddressGroup class.
- Returns:
The results of address group creation
- Return type:
AddressGroup
delete_address_group
- delete_address_group(address_group, ignore_missing)
주소 그룹 삭제
- Parameters:
address_group The value can be either the ID of anaddress group ora AddressGroupinstance.ignore_missing (bool) When set to FalseResourceNotFound willbe raised when the address group does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent address group.
- Returns:
None
find_address_group
- find_address_group(name_or_id, ignore_missing, **query)
단일 주소 그룹 찾기
- Parameters:
name_or_id The name or ID of an address group.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One AddressGroupor None
get_address_group
- get_address_group(address_group)
단일 주소 그룹 가져오기
- Parameters:
address_group The value can be the ID of an address group or aAddressGroup instance.
- Returns:
One AddressGroup
- Raises:
ResourceNotFoundwhen no resource can be found.
address_groups
- address_groups(**query)
주소 그룹의 생성기를 반환합니다
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.name: Address group namedescription: Address group descriptionproject_id: Owner project ID
- Returns:
A generator of address group objects
- Return type:
AddressGroup
update_address_group
- update_address_group(address_group, **attrs)
주소 그룹 업데이트
- Parameters:
address_group Either the ID of an address group or aAddressGroup instance.attrs The attributes to update on the address grouprepresented by value.
- Returns:
The updated address group
- Return type:
AddressGroup
add_addresses_to_address_group
- add_addresses_to_address_group(address_group, addresses)
주소 그룹에 주소 추가
- Parameters:
address_group Either the ID of an address group or aAddressGroup instance.addresses (list) List of address strings.
- Returns:
AddressGroup with updated addresses
- Return type:
AddressGroup
remove_addresses_from_address_group
- remove_addresses_from_address_group(address_group, addresses)
주소 그룹에서 주소 제거
- Parameters:
address_group Either the ID of an address group or aAddressGroup instance.addresses (list) List of address strings.
- Returns:
AddressGroup with updated addresses
- Return type:
AddressGroup
Availability Zone Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
availability_zones
- availability_zones(**query)
가용 영역의 생성기 반환
- Parameters:
query (dict) optional query parameters to be set to limit thereturned resources. Valid parameters include:name: The name of an availability zone.resource: The type of resource for the availability zone.
- Returns:
A generator of availability zone objects
- Return type:
AvailabilityZone
Address Scope Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_address_scope
- create_address_scope(**attrs)
속성에서 새 주소 범위 만들기
- Parameters:
attrs Keyword arguments which will be used to createa AddressScope,comprised of the properties on the AddressScope class.
- Returns:
The results of address scope creation
- Return type:
AddressScope
delete_address_scope
- delete_address_scope(address_scope, ignore_missing)
주소 범위 삭제
- Parameters:
address_scope The value can be either the ID of anaddress scope ora AddressScopeinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the address scope does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent address scope.
- Returns:
None
find_address_scope
- find_address_scope(name_or_id, ignore_missing, **query)
단일 주소 범위 찾기
- Parameters:
name_or_id The name or ID of an address scope.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One AddressScopeor None
get_address_scope
- get_address_scope(address_scope)
단일 주소 범위 가져오기
- Parameters:
address_scope The value can be the ID of an address scope or aAddressScope instance.
- Returns:
One AddressScope
- Raises:
ResourceNotFoundwhen no resource can be found.
address_scopes
- address_scopes(**query)
주소 범위 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.name: Address scope nameip_version: Address scope IP address versiontenant_id: Owner tenant IDshared: Address scope is shared (boolean)
- Returns:
A generator of address scope objects
- Return type:
AddressScope
update_address_scope
- update_address_scope(address_scope, **attrs)
주소 범위 업데이트
- Parameters:
address_scope Either the ID of an address scope or aAddressScope instance.attrs The attributes to update on the address scoperepresented by value.
- Returns:
The updated address scope
- Return type:
AddressScope
Quota Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
delete_quota
- delete_quota(quota, ignore_missing)
할당량 삭제(기본 할당량으로 재설정)
- Parameters:
quota The value can be either the ID of a quota or aQuota instance.The ID of a quota is the same as the project IDfor the quota.ignore_missing (bool) When set to FalseResourceNotFound will beraised when quota does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent quota.
- Returns:
None
get_quota
- get_quota(quota, details)
쿼터를 얻다
- Parameters:
quota The value can be the ID of a quota or aQuota instance.The ID of a quota is the same as the project IDfor the quota.details If set to True, details about quota usage willbe returned.
- Returns:
One Quota
- Raises:
ResourceNotFoundwhen no resource can be found.
get_quota_default
- get_quota_default(quota)
기본 할당량 가져오기
- Parameters:
quota The value can be the ID of a default quota or aQuotaDefaultinstance. The ID of a default quota is the sameas the project ID for the default quota.
- Returns:
One QuotaDefault
- Raises:
ResourceNotFoundwhen no resource can be found.
quotas
- quotas(**query)
할당량 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Currently no queryparameter is supported.
- Returns:
A generator of quota objects
- Return type:
Quota
update_quota
- update_quota(quota, **attrs)
할당량 업데이트
- Parameters:
quota Either the ID of a quota or aQuota instance.The ID of a quota is the same as the project IDfor the quota.attrs The attributes to update on the quota representedby quota.
- Returns:
The updated quota
- Return type:
Quota
QoS Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_qos_bandwidth_limit_rule
- create_qos_bandwidth_limit_rule(qos_policy, **attrs)
새 대역폭 제한 규칙 만들기
- Parameters:
attrs Keyword arguments which will be used to createaQoSBandwidthLimitRule,comprised of the properties on theQoSBandwidthLimitRule class.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
The results of resource creation
- Return type:
QoSBandwidthLimitRule
delete_qos_bandwidth_limit_rule
- delete_qos_bandwidth_limit_rule(qos_rule, qos_policy, ignore_missing)
대역폭 제한 규칙 삭제
- Parameters:
qos_rule The value can be either the ID of a bandwidth limitrule or aQoSBandwidthLimitRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent bandwidth limit rule.
- Returns:
None
find_qos_bandwidth_limit_rule
- find_qos_bandwidth_limit_rule(qos_rule_id, qos_policy, ignore_missing, **query)
대역폭 제한 규칙 찾기
- Parameters:
qos_rule_id The ID of a bandwidth limit rule.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneQoSBandwidthLimitRuleor None
get_qos_bandwidth_limit_rule
- get_qos_bandwidth_limit_rule(qos_rule, qos_policy)
단일 대역폭 제한 규칙 가져오기
- Parameters:
qos_rule The value can be the ID of a minimum bandwidth rule oraQoSBandwidthLimitRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
OneQoSBandwidthLimitRule
- Raises:
ResourceNotFoundwhen no resource can be found.
qos_bandwidth_limit_rules
- qos_bandwidth_limit_rules(qos_policy, **query)
대역폭 제한 규칙 생성기 반환
- Parameters:
qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.query (kwargs) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of bandwidth limit rule objects
- Return type:
QoSBandwidthLimitRule
update_qos_bandwidth_limit_rule
- update_qos_bandwidth_limit_rule(qos_rule, qos_policy, **attrs)
대역폭 제한 규칙 업데이트
- Parameters:
qos_rule Either the id of a bandwidth limit rule or aQoSBandwidthLimitRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.attrs The attributes to update on the bandwidth limit rulerepresented by qos_rule.
- Returns:
The updated minimum bandwidth rule
- Return type:
QoSBandwidthLimitRule
create_qos_dscp_marking_rule
- create_qos_dscp_marking_rule(qos_policy, **attrs)
새 QoS DSCP 표시 규칙 생성
- Parameters:
attrs Keyword arguments which will be used to createaQoSDSCPMarkingRule,comprised of the properties on theQosDscpMarkingRule class.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
The results of router creation
- Return type:
QoSDSCPMarkingRule
delete_qos_dscp_marking_rule
- delete_qos_dscp_marking_rule(qos_rule, qos_policy, ignore_missing)
QoS DSCP 표시 규칙 삭제
- Parameters:
qos_rule The value can be either the ID of a minimum bandwidthrule or aQoSDSCPMarkingRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent minimum bandwidth rule.
- Returns:
None
find_qos_dscp_marking_rule
- find_qos_dscp_marking_rule(qos_rule_id, qos_policy, ignore_missing, **query)
QoS DSCP 표시 규칙 찾기
- Parameters:
qos_rule_id The ID of a QoS DSCP marking rule.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneQoSDSCPMarkingRuleor None
get_qos_dscp_marking_rule
- get_qos_dscp_marking_rule(qos_rule, qos_policy)
단일 QoS DSCP 표시 규칙 가져오기
- Parameters:
qos_rule The value can be the ID of a minimum bandwidth rule oraQoSDSCPMarkingRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
OneQoSDSCPMarkingRule
- Raises:
ResourceNotFoundwhen no resource can be found.
qos_dscp_marking_rules
- qos_dscp_marking_rules(qos_policy, **query)
QoS DSCP 표시 규칙 생성기 반환
- Parameters:
qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.query (kwargs) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of QoS DSCP marking rule objects
- Return type:
QoSDSCPMarkingRule
update_qos_dscp_marking_rule
- update_qos_dscp_marking_rule(qos_rule, qos_policy, **attrs)
QoS DSCP 표시 규칙 업데이트
- Parameters:
qos_rule Either the id of a minimum bandwidth rule or aQoSDSCPMarkingRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.attrs The attributes to update on the QoS DSCP marking rulerepresented by qos_rule.
- Returns:
The updated QoS DSCP marking rule
- Return type:
QoSDSCPMarkingRule
create_qos_minimum_bandwidth_rule
- create_qos_minimum_bandwidth_rule(qos_policy, **attrs)
새 최소 대역폭 규칙 만들기
- Parameters:
attrs Keyword arguments which will be used to createaQoSMinimumBandwidthRule,comprised of the properties on theQoSMinimumBandwidthRule class.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
The results of resource creation
- Return type:
QoSMinimumBandwidthRule
delete_qos_minimum_bandwidth_rule
- delete_qos_minimum_bandwidth_rule(qos_rule, qos_policy, ignore_missing)
최소 대역폭 규칙 삭제
- Parameters:
qos_rule The value can be either the ID of a minimum bandwidthrule or aQoSMinimumBandwidthRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent minimum bandwidth rule.
- Returns:
None
find_qos_minimum_bandwidth_rule
- find_qos_minimum_bandwidth_rule(qos_rule_id, qos_policy, ignore_missing, **query)
최소 대역폭 규칙 찾기
- Parameters:
qos_rule_id The ID of a minimum bandwidth rule.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneQoSMinimumBandwidthRuleor None
get_qos_minimum_bandwidth_rule
- get_qos_minimum_bandwidth_rule(qos_rule, qos_policy)
단일 최소 대역폭 규칙 가져오기
- Parameters:
qos_rule The value can be the ID of a minimum bandwidth rule oraQoSMinimumBandwidthRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicyinstance.
- Returns:
OneQoSMinimumBandwidthRule
- Raises:
ResourceNotFoundwhen no resource can be found.
qos_minimum_bandwidth_rules
- qos_minimum_bandwidth_rules(qos_policy, **query)
최소 대역폭 규칙 생성기 반환
- Parameters:
qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.query (kwargs) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of minimum bandwidth rule objects
- Return type:
QoSMinimumBandwidthRule
update_qos_minimum_bandwidth_rule
- update_qos_minimum_bandwidth_rule(qos_rule, qos_policy, **attrs)
최소 대역폭 규칙 업데이트
- Parameters:
qos_rule Either the id of a minimum bandwidth rule or aQoSMinimumBandwidthRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicyinstance.attrs The attributes to update on the minimum bandwidth rulerepresented by qos_rule.
- Returns:
The updated minimum bandwidth rule
- Return type:
QoSMinimumBandwidthRule
create_qos_minimum_packet_rate_rule
- create_qos_minimum_packet_rate_rule(qos_policy, **attrs)
새 최소 패킷 속도 규칙 만들기
- Parameters:
attrs Keyword arguments which will be used to create aQoSMinimumPacketRateRule,comprised of the properties on the QoSMinimumPacketRateRule class.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
The results of resource creation
- Return type:
QoSMinimumPacketRateRule
delete_qos_minimum_packet_rate_rule
- delete_qos_minimum_packet_rate_rule(qos_rule, qos_policy, ignore_missing)
최소 패킷 속도 규칙 삭제
- Parameters:
qos_rule The value can be either the ID of a minimum packetrate rule or aQoSMinimumPacketRateRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will be raised whenthe resource does not exist. When set to True, no exceptionwill be set when attempting to delete a nonexistent minimum packetrate rule.
- Returns:
None
find_qos_minimum_packet_rate_rule
- find_qos_minimum_packet_rate_rule(qos_rule_id, qos_policy, ignore_missing, **query)
최소 패킷 속도 규칙 찾기
- Parameters:
qos_rule_id The ID of a minimum packet rate rule.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will be raised whenthe resource does not exist. When set to True, None will bereturned when attempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneQoSMinimumPacketRateRuleor None
get_qos_minimum_packet_rate_rule
- get_qos_minimum_packet_rate_rule(qos_rule, qos_policy)
단일 최소 패킷 속도 규칙 가져오기
- Parameters:
qos_rule The value can be the ID of a minimum packet rate ruleor aQoSMinimumPacketRateRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.
- Returns:
OneQoSMinimumPacketRateRule
- Raises:
ResourceNotFound when noresource can be found.
qos_minimum_packet_rate_rules
- qos_minimum_packet_rate_rules(qos_policy, **query)
최소 패킷 속도 규칙 생성기 반환
- Parameters:
qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.query (kwargs) Optional query parameters to be sent to limit theresources being returned.
- Returns:
A generator of minimum packet rate rule objects
- Return type:
QoSMinimumPacketRateRule
update_qos_minimum_packet_rate_rule
- update_qos_minimum_packet_rate_rule(qos_rule, qos_policy, **attrs)
최소 패킷 속도 규칙 업데이트
- Parameters:
qos_rule Either the id of a minimum packet rate rule or aQoSMinimumPacketRateRuleinstance.qos_policy The value can be the ID of the QoS policy that therule belongs or aQoSPolicy instance.attrs The attributes to update on the minimum packet rate rulerepresented by qos_rule.
- Returns:
The updated minimum packet rate rule
- Return type:
QoSMinimumPacketRateRule
create_qos_policy
- create_qos_policy(**attrs)
속성에서 새 QoS 정책 생성
- Parameters:
attrs Keyword arguments which will be used to createa QoSPolicy,comprised of the properties on theQoSPolicy class.
- Returns:
The results of QoS policy creation
- Return type:
QoSPolicy
delete_qos_policy
- delete_qos_policy(qos_policy, ignore_missing)
QoS 정책 삭제
- Parameters:
qos_policy The value can be either the ID of a QoS policy or aQoSPolicyinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the QoS policy does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent QoS policy.
- Returns:
None
find_qos_policy
- find_qos_policy(name_or_id, ignore_missing, **query)
단일 QoS 정책 찾기
- Parameters:
name_or_id The name or ID of a QoS policy.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One QoSPolicy orNone
get_qos_policy
- get_qos_policy(qos_policy)
단일 QoS 정책 가져오기
- Parameters:
qos_policy The value can be the ID of a QoS policy or aQoSPolicyinstance.
- Returns:
One QoSPolicy
- Raises:
ResourceNotFoundwhen no resource can be found.
qos_policies
- qos_policies(**query)
QoS 정책 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: The description of a QoS policy.is_shared: Whether the policy is shared among projects.name: The name of a QoS policy.project_id: The ID of the project who owns the network.
- Returns:
A generator of QoS policy objects
- Return type:
QoSPolicy
update_qos_policy
- update_qos_policy(qos_policy, **attrs)
QoS 정책 업데이트
- Parameters:
qos_policy Either the id of a QoS policy or aQoSPolicy instance.attrs The attributes to update on the QoS policy representedby qos_policy.
- Returns:
The updated QoS policy
- Return type:
QoSPolicy
find_qos_rule_type
- find_qos_rule_type(rule_type_name, ignore_missing)
단일 QoS 규칙 유형 세부 정보 찾기
- Parameters:
rule_type_name The name of a QoS rule type.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.
- Returns:
One QoSRuleTypeor None
get_qos_rule_type
- get_qos_rule_type(qos_rule_type)
단일 QoS 규칙 유형에 대한 세부 정보 가져오기
- Parameters:
qos_rule_type The value can be the name of a QoS policyrule type or aQoSRuleTypeinstance.
- Returns:
One QoSRuleType
- Raises:
ResourceNotFoundwhen no resource can be found.
qos_rule_types
- qos_rule_types(**query)
QoS 규칙 유형의 생성기를 반환합니다
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources returned. Valid parameters include:type: The type of the QoS rule type.
- Returns:
A generator of QoS rule type objects
- Return type:
QoSRuleType
Agent Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
agents
- agents(**query)
네트워크 에이전트 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources being returned.agent_type: Agent type.availability_zone: The availability zone for an agent.binary: The name of the agents application binary.description: The description of the agent.host: The host (host name or host address) the agent isrunning on.topic: The message queue topic used.is_admin_state_up: The administrative state of the agent.is_alive: Whether the agent is alive.
- Returns:
A generator of agents
- Return type:
Agent
delete_agent
- delete_agent(agent, ignore_missing)
네트워크 에이전트 삭제
- Parameters:
agent The value can be the ID of a agent or aAgent instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the agent does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent agent.
- Returns:
None
get_agent
- get_agent(agent)
단일 네트워크 에이전트 가져오기
- Parameters:
agent The value can be the ID of a agent or aAgent instance.
- Returns:
One Agent
- Return type:
Agent
- Raises:
ResourceNotFoundwhen no resource can be found.
update_agent
- update_agent(agent, **attrs)
네트워크 에이전트 업데이트
- Parameters:
agent The value can be the ID of a agent or aAgent instance.attrs The attributes to update on the agent representedby value.
- Returns:
One Agent
- Return type:
Agent
network_hosting_dhcp_agents
- network_hosting_dhcp_agents(network, **query)
네트워크에서 호스팅되는 DHCP 에이전트의 생성기입니다.
- Parameters:
network The instance ofNetworkquery (dict) Optional query parameters to be sent to limit theresources returned.
- Returns:
A generator of hosted DHCP agents
routers_hosting_l3_agents
- routers_hosting_l3_agents(router, **query)
라우터를 호스팅하는 L3 에이전트의 생성기를 반환합니다
- Parameters:
router Either the router id or an instance ofRouterquery (kwargs) Optional query parameters to be sent to limitthe resources returned
- Returns:
A generator of Router L3 Agents
- Return type:
RouterL3Agents
agent_hosted_routers
- agent_hosted_routers(agent, **query)
L3 에이전트에 의해 호스팅되는 라우터의 생성기를 반환합니다
- Parameters:
agent Either the agent id of an instance ofAgentquery (kwargs) Optional query parameters to be sent to limitthe resources returned
- Returns:
A generator of routers
- Return type:
L3AgentRouters
add_router_to_agent
- add_router_to_agent(agent, router)
L3 에이전트에 라우터 추가
- Parameters:
agent Either the id of an agentAgent instancerouter A router instance
- Returns:
Agent with attached router
- Return type:
Agent
remove_router_from_agent
- remove_router_from_agent(agent, router)
L3 에이전트에서 라우터 제거
- Parameters:
agent Either the id of an agent or anAgent instancerouter A router instance
- Returns:
Agent with removed router
- Return type:
Agent
RBAC Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_rbac_policy
- create_rbac_policy(**attrs)
속성에서 새 RBAC 정책 생성
- Parameters:
attrs Keyword arguments which will be used to create aRBACPolicy,comprised of the properties on the RBACPolicy class.
- Returns:
The results of RBAC policy creation
- Return type:
RBACPolicy
delete_rbac_policy
- delete_rbac_policy(rbac_policy, ignore_missing)
RBAC 정책 삭제
- Parameters:
rbac_policy The value can be either the ID of a RBAC policy ora RBACPolicy instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the RBAC policy does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent RBAC policy.
- Returns:
None
find_rbac_policy
- find_rbac_policy(rbac_policy, ignore_missing, **query)
단일 RBAC 정책 찾기
- Parameters:
rbac_policy The ID of a RBAC policy.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneRBACPolicy or None
get_rbac_policy
- get_rbac_policy(rbac_policy)
단일 RBAC 정책 가져오기
- Parameters:
rbac_policy The value can be the ID of a RBAC policy or aRBACPolicy instance.
- Returns:
One RBACPolicy
- Raises:
ResourceNotFoundwhen no resource can be found.
rbac_policies
- rbac_policies(**query)
RBAC 정책 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Available parametersinclude:action: RBAC policy actionobject_type: Type of the object that the RBAC policy affectstarget_project_id: ID of the tenant that the RBAC policyaffectsproject_id: Owner tenant ID
- Returns:
A generator of rbac objects
- Return type:
RBACPolicy
update_rbac_policy
- update_rbac_policy(rbac_policy, **attrs)
RBAC 정책 업데이트
- Parameters:
rbac_policy Either the id of a RBAC policy or aRBACPolicy instance.attrs The attributes to update on the RBAC policyrepresented by rbac_policy.
- Returns:
The updated RBAC policy
- Return type:
RBACPolicy
Listener Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_listener
- create_listener(**attrs)
속성에서 새 청취자 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Listener,comprised of the properties on the Listener class.
- Returns:
The results of listener creation
- Return type:
Listener
delete_listener
- delete_listener(listener, ignore_missing)
청취자 삭제
- Parameters:
listener The value can be either the ID of a listner or aListener instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the listner does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent listener.
- Returns:
None
find_listener
- find_listener(name_or_id, ignore_missing, **query)
한 명의 청취자 찾기
- Parameters:
name_or_id The name or ID of a listener.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Listener or None
get_listener
- get_listener(listener)
청취자 한 명 확보
- Parameters:
listener The value can be the ID of a listener or aListenerinstance.
- Returns:
One Listener
- Raises:
ResourceNotFoundwhen no resource can be found.
listeners
- listeners(**query)
청취자 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:connection_limit: The maximum number of connectionspermitted for the load-balancer.default_pool_id: The ID of the default pool.default_tls_container_ref: A reference to a container of TLSsecret.description: The description of a listener.is_admin_state_up: The administrative state of the listener.name: The name of a listener.project_id: The ID of the project associated with a listener.protocol: The protocol of the listener.protocol_port: Port the listener will listen to.
- Returns:
A generator of listener objects
- Return type:
Listener
update_listener
- update_listener(listener, **attrs)
청취자 업데이트
- Parameters:
listener Either the id of a listener or aListenerinstance.attrs The attributes to update on the listenerrepresented by listener.
- Returns:
The updated listener
- Return type:
Listener
Subnet Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_subnet
- create_subnet(**attrs)
속성에서 새 서브넷 생성
- Parameters:
attrs Keyword arguments which will be used to createa Subnet,comprised of the properties on the Subnet class.
- Returns:
The results of subnet creation
- Return type:
Subnet
delete_subnet
- delete_subnet(subnet, ignore_missing, if_revision)
서브넷 삭제
- Parameters:
subnet The value can be either the ID of a subnet or aSubnet instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the subnet does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent subnet.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_subnet
- find_subnet(name_or_id, ignore_missing, **query)
단일 서브넷 찾기
- Parameters:
name_or_id The name or ID of a subnet.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Subnet or None
get_subnet
- get_subnet(subnet)
단일 서브넷 가져오기
- Parameters:
subnet The value can be the ID of a subnet or aSubnet instance.
- Returns:
One Subnet
- Raises:
ResourceNotFoundwhen no resource can be found.
subnets
- subnets(**query)
서브넷 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:cidr: Subnet CIDRdescription: The subnet descriptiongateway_ip: Subnet gateway IP addressip_version: Subnet IP address versionipv6_address_mode: The IPv6 address modeipv6_ra_mode: The IPv6 router advertisement modeis_dhcp_enabled: Subnet has DHCP enabled (boolean)name: Subnet namenetwork_id: ID of network that owns the subnetsproject_id: Owner tenant IDsubnet_pool_id: The subnet pool ID from which to obtain aCIDR.
- Returns:
A generator of subnet objects
- Return type:
Subnet
update_subnet
- update_subnet(subnet, if_revision, **attrs)
서브넷 업데이트
- Parameters:
subnet Either the id of a subnet or aSubnet instance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the subnet representedby subnet.
- Returns:
The updated subnet
- Return type:
Subnet
create_subnet_pool
- create_subnet_pool(**attrs)
속성에서 새 서브넷 풀 생성
- Parameters:
attrs Keyword arguments which will be used to createa SubnetPool,comprised of the properties on the SubnetPool class.
- Returns:
The results of subnet pool creation
- Return type:
SubnetPool
delete_subnet_pool
- delete_subnet_pool(subnet_pool, ignore_missing)
서브넷 풀 삭제
- Parameters:
subnet_pool The value can be either the ID of a subnet pool ora SubnetPool instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the subnet pool does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent subnet pool.
- Returns:
None
find_subnet_pool
- find_subnet_pool(name_or_id, ignore_missing, **query)
단일 서브넷 풀 찾기
- Parameters:
name_or_id The name or ID of a subnet pool.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One SubnetPoolor None
get_subnet_pool
- get_subnet_pool(subnet_pool)
단일 서브넷 풀 가져오기
- Parameters:
subnet_pool The value can be the ID of a subnet pool or aSubnetPool instance.
- Returns:
One SubnetPool
- Raises:
ResourceNotFoundwhen no resource can be found.
subnet_pools
- subnet_pools(**query)
서브넷 풀 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:address_scope_id: Subnet pool address scope IDdescription: The subnet pool descriptionip_version: The IP address familyis_default: Subnet pool is the default (boolean)is_shared: Subnet pool is shared (boolean)name: Subnet pool nameproject_id: Owner tenant ID
- Returns:
A generator of subnet pool objects
- Return type:
SubnetPool
update_subnet_pool
- update_subnet_pool(subnet_pool, **attrs)
서브넷 풀 업데이트
- Parameters:
subnet_pool Either the ID of a subnet pool or aSubnetPool instance.attrs The attributes to update on the subnet poolrepresented by subnet_pool.
- Returns:
The updated subnet pool
- Return type:
SubnetPool
Load Balancer Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_load_balancer
- create_load_balancer(**attrs)
속성에서 새 로드 밸런서 생성
- Parameters:
attrs Keyword arguments which will be used to createa LoadBalancer,comprised of the properties on the LoadBalancer class.
- Returns:
The results of load balancer creation
- Return type:
LoadBalancer
delete_load_balancer
- delete_load_balancer(load_balancer, ignore_missing)
로드 밸런서 삭제
- Parameters:
load_balancer The value can be the ID of a load balancer or aLoadBalancerinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the load balancer does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent load balancer.
- Returns:
None
find_load_balancer
- find_load_balancer(name_or_id, ignore_missing, **query)
단일 로드 밸런서 찾기
- Parameters:
name_or_id The name or ID of a load balancer.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One LoadBalanceror None
get_load_balancer
- get_load_balancer(load_balancer)
단일 로드 밸런서 가져오기
- Parameters:
load_balancer The value can be the ID of a load balancer or aLoadBalancerinstance.
- Returns:
One LoadBalancer
- Raises:
ResourceNotFoundwhen no resource can be found.
load_balancers
- load_balancers(**query)
로드 밸런서의 제너레이터를 반환합니다
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of load balancer objects
- Return type:
LoadBalancer
update_load_balancer
- update_load_balancer(load_balancer, **attrs)
로드 밸런서 업데이트
- Parameters:
load_balancer Either the id of a load balancer or aLoadBalancerinstance.attrs The attributes to update on the load balancerrepresented by load_balancer.
- Returns:
The updated load balancer
- Return type:
LoadBalancer
Health Monitor Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_health_monitor
- create_health_monitor(**attrs)
속성에서 새 상태 모니터 만들기
- Parameters:
attrs Keyword arguments which will be used to createa HealthMonitor,comprised of the properties on the HealthMonitor class.
- Returns:
The results of health monitor creation
- Return type:
HealthMonitor
delete_health_monitor
- delete_health_monitor(health_monitor, ignore_missing)
상태 모니터 삭제
- Parameters:
health_monitor The value can be either the ID of ahealth monitor or aHealthMonitorinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the health monitor does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent health monitor.
- Returns:
None
find_health_monitor
- find_health_monitor(name_or_id, ignore_missing, **query)
단일 상태 모니터 찾기
- Parameters:
name_or_id The name or ID of a health monitor.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneHealthMonitoror None
get_health_monitor
- get_health_monitor(health_monitor)
단일 상태 모니터 가져오기
- Parameters:
health_monitor The value can be the ID of a health monitor or aHealthMonitorinstance.
- Returns:
OneHealthMonitor
- Raises:
ResourceNotFoundwhen no resource can be found.
health_monitors
- health_monitors(**query)
상태 모니터 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:delay: the time in milliseconds between sending probes.expected_codes: The expected HTTP codes for a pssing HTTP(S)monitor.http_method: The HTTP method a monitor uses for requests.is_admin_state_up: The administrative state of a healthmonitor.max_retries: The maximum consecutive health probe attempts.project_id: The ID of the project this health monitor isassociated with.timeout: The maximum number of milliseconds for a monitor towait for a connection to be established before ittimes out.type: The type of probe sent by the load balancer for healthcheck, which can be PING, TCP, HTTP orHTTPS.url_path: The path portion of a URI that will be probed.
- Returns:
A generator of health monitor objects
- Return type:
HealthMonitor
update_health_monitor
- update_health_monitor(health_monitor, **attrs)
상태 모니터 업데이트
- Parameters:
health_monitor Either the id of a health monitor or aHealthMonitorinstance.attrs The attributes to update on the health monitorrepresented by value.
- Returns:
The updated health monitor
- Return type:
HealthMonitor
Metering Label Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_metering_label
- create_metering_label(**attrs)
속성에서 새 미터링 레이블 생성
- Parameters:
attrs Keyword arguments which will be used to createa MeteringLabel,comprised of the properties on the MeteringLabel class.
- Returns:
The results of metering label creation
- Return type:
MeteringLabel
delete_metering_label
- delete_metering_label(metering_label, ignore_missing)
미터링 레이블 삭제
- Parameters:
metering_label The value can be either the ID of a metering label or aMeteringLabelinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the metering label does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent metering label.
- Returns:
None
find_metering_label
- find_metering_label(name_or_id, ignore_missing, **query)
단일 미터링 레이블 찾기
- Parameters:
name_or_id The name or ID of a metering label.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneMeteringLabelor None
get_metering_label
- get_metering_label(metering_label)
단일 미터링 레이블 가져오기
- Parameters:
metering_label The value can be the ID of a metering label or aMeteringLabelinstance.
- Returns:
OneMeteringLabel
- Raises:
ResourceNotFoundwhen no resource can be found.
metering_labels
- metering_labels(**query)
미터링 레이블 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:description: Description of a metering label.name: Name of a metering label.is_shared: Boolean indicating whether a metering label isshared.project_id: The ID of the project a metering label isassociated with.
- Returns:
A generator of metering label objects
- Return type:
MeteringLabel
update_metering_label
- update_metering_label(metering_label, **attrs)
미터링 레이블 업데이트
- Parameters:
metering_label Either the id of a metering label or aMeteringLabelinstance.attrs The attributes to update on the metering labelrepresented by metering_label.
- Returns:
The updated metering label
- Return type:
MeteringLabel
create_metering_label_rule
- create_metering_label_rule(**attrs)
속성에서 새 미터링 레이블 규칙 생성
- Parameters:
attrs Keyword arguments which will be used to create aMeteringLabelRule,comprised of the properties on the MeteringLabelRule class.
- Returns:
The results of metering label rule creation
- Return type:
MeteringLabelRule
delete_metering_label_rule
- delete_metering_label_rule(metering_label_rule, ignore_missing)
미터링 레이블 규칙 삭제
- Parameters:
metering_label_rule The value can be either the ID of a metering label ruleor aMeteringLabelRuleinstance.ignore_missing (bool) When set to FalseResourceNotFound will be raisedwhen the metering label rule does not exist. When set to True,no exception will be set when attempting to delete a nonexistentmetering label rule.
- Returns:
None
find_metering_label_rule
- find_metering_label_rule(name_or_id, ignore_missing, **query)
단일 미터링 레이블 규칙 찾기
- Parameters:
name_or_id The name or ID of a metering label rule.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneMeteringLabelRuleor None
get_metering_label_rule
- get_metering_label_rule(metering_label_rule)
단일 미터링 레이블 규칙 가져오기
- Parameters:
metering_label_rule The value can be the ID of a metering label rule or aMeteringLabelRuleinstance.
- Returns:
OneMeteringLabelRule
- Raises:
ResourceNotFoundwhen no resource can be found.
metering_label_rules
- metering_label_rules(**query)
미터링 레이블 규칙 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:direction: The direction in which metering label rule isapplied.metering_label_id: The ID of a metering label this rule isassociated with.project_id: The ID of the project the metering label rule isassociated with.remote_ip_prefix: The remote IP prefix to be associated withthis metering label rule.
- Returns:
A generator of metering label rule objects
- Return type:
MeteringLabelRule
update_metering_label_rule
- update_metering_label_rule(metering_label_rule, **attrs)
미터링 레이블 규칙 업데이트
- Parameters:
metering_label_rule Either the id of a metering label rule or aMeteringLabelRuleinstance.attrs The attributes to update on the metering label rulerepresented by metering_label_rule.
- Returns:
The updated metering label rule
- Return type:
MeteringLabelRule
Segment Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_segment
- create_segment(**attrs)
속성에서 새 세그먼트 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Segment,comprised of the properties on the Segment class.
- Returns:
The results of segment creation
- Return type:
Segment
delete_segment
- delete_segment(segment, ignore_missing)
세그먼트 삭제
- Parameters:
segment The value can be either the ID of a segment or aSegmentinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the segment does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent segment.
- Returns:
None
find_segment
- find_segment(name_or_id, ignore_missing, **query)
단일 세그먼트 찾기
- Parameters:
name_or_id The name or ID of a segment.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Segment or None
get_segment
- get_segment(segment)
단일 세그먼트 가져오기
- Parameters:
segment The value can be the ID of a segment or aSegmentinstance.
- Returns:
One Segment
- Raises:
ResourceNotFoundwhen no resource can be found.
segments
- segments(**query)
세그먼트 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned. Available parameters include:description: The segment descriptionname: Name of the segmentsnetwork_id: ID of the network that owns the segmentsnetwork_type: Network type for the segmentsphysical_network: Physical network name for the segmentssegmentation_id: Segmentation ID for the segments
- Returns:
A generator of segment objects
- Return type:
Segment
update_segment
- update_segment(segment, **attrs)
세그먼트 업데이트
- Parameters:
segment Either the id of a segment or aSegment instance.attrs The attributes to update on the segment representedby segment.
- Returns:
The update segment
- Return type:
Segment
Flavor Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_flavor
- create_flavor(**attrs)
속성에서 새 네트워크 서비스 맛 만들기
- Parameters:
attrs Keyword arguments which will be used to createa Flavor,comprised of the properties on the Flavor class.
- Returns:
The results of flavor creation
- Return type:
Flavor
delete_flavor
- delete_flavor(flavor, ignore_missing)
네트워크 서비스 환경설정 삭제
- Parameters:
flavor The value can be either the ID of a flavor or aFlavor instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the flavor does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent flavor.
- Returns:
None
find_flavor
- find_flavor(name_or_id, ignore_missing, **query)
단일 네트워크 서비스 맛 찾기
- Parameters:
name_or_id The name or ID of a flavor.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Flavor or None
get_flavor
- get_flavor(flavor)
단일 네트워크 서비스 맛 보기
- Parameters:
flavor The value can be the ID of a flavor or aFlavor instance.
- Returns:
One Flavor
- Raises:
ResourceNotFoundwhen no resource can be found.
update_flavor
- update_flavor(flavor, **attrs)
네트워크 서비스 맛 업데이트
- Parameters:
flavor Either the id of a flavor or aFlavor instance.attrs The attributes to update on the flavor representedby flavor.
- Returns:
The updated flavor
- Return type:
Flavor
flavors
- flavors(**query)
네트워크 서비스 맛 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parametersinclude:description: The description of a flavor.is_enabled: Whether a flavor is enabled.name: The name of a flavor.service_type: The service type to which a falvor applies.
- Returns:
A generator of flavor objects
- Return type:
Flavor
Service Profile Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
associate_flavor_with_service_profile
- associate_flavor_with_service_profile(flavor, service_profile)
네트워크 맛을 서비스 프로파일과 연결합니다.
- Parameters:
flavor Either the id of a flavor or aFlavor instance.service_profile The value can be either the ID of a service profile or aServiceProfileinstance.
- Returns:
disassociate_flavor_from_service_profile
- disassociate_flavor_from_service_profile(flavor, service_profile)
네트워크 환경설정과 서비스 프로파일의 연결을 해제합니다.
- Parameters:
flavor Either the id of a flavor or aFlavor instance.service_profile The value can be either the ID of a service profile or aServiceProfileinstance.
- Returns:
create_service_profile
- create_service_profile(**attrs)
속성에서 새 네트워크 서비스 맛 프로파일 생성
- Parameters:
attrs Keyword arguments which will be used to createa ServiceProfile,comprised of the properties on the ServiceProfileclass.
- Returns:
The results of service profile creation
- Return type:
ServiceProfile
delete_service_profile
- delete_service_profile(service_profile, ignore_missing)
네트워크 서비스 환경설정 프로파일 삭제
- Parameters:
service_profile The value can be either the ID of a serviceprofile or aServiceProfileinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the service profile does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent service profile.
- Returns:
None
find_service_profile
- find_service_profile(name_or_id, ignore_missing, **query)
단일 네트워크 서비스 맛 프로파일 찾기
- Parameters:
name_or_id The name or ID of a service profile.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneServiceProfileor None
get_service_profile
- get_service_profile(service_profile)
단일 네트워크 서비스 맛 프로파일 가져오기
- Parameters:
service_profile The value can be the ID of a service_profile ora ServiceProfileinstance.
- Returns:
OneServiceProfile
- Raises:
ResourceNotFoundwhen no resource can be found.
service_profiles
- service_profiles(**query)
네트워크 서비스 맛 프로파일 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources returned. Available parameters inclue:description: The description of the service flavor profiledriver: Provider driver for the service flavor profileis_enabled: Whether the profile is enabledproject_id: The owner project ID
- Returns:
A generator of service profile objects
- Return type:
ServiceProfile
update_service_profile
- update_service_profile(service_profile, **attrs)
네트워크 맛 서비스 프로파일 업데이트
- Parameters:
service_profile Either the id of a service profile or aServiceProfileinstance.attrs The attributes to update on the service profilerepresented by service_profile.
- Returns:
The updated service profile
- Return type:
ServiceProfile
Tag Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
VPNaaS Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_vpn_endpoint_group
- create_vpn_endpoint_group(**attrs)
속성에서 새 vpn 끝점 그룹 생성
- Parameters:
attrs Keyword arguments which will be used to create aVpnEndpointGroup,comprised of the properties on the VpnEndpointGroup class.
- Returns:
The results of vpn endpoint group creation.
- Return type:
VpnEndpointGroup
delete_vpn_endpoint_group
- delete_vpn_endpoint_group(vpn_endpoint_group, ignore_missing)
vpn 서비스 삭제
- Parameters:
vpn_endpoint_group The value can be either the ID of a vpn service or aVpnEndpointGroupinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the vpn service does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent vpn service.
- Returns:
None
find_vpn_endpoint_group
- find_vpn_endpoint_group(name_or_id, ignore_missing, **query)
단일 VPN 서비스 찾기
- Parameters:
name_or_id The name or ID of a vpn service.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneVpnEndpointGroupor None
get_vpn_endpoint_group
- get_vpn_endpoint_group(vpn_endpoint_group)
단일 VPN 서비스 가져오기
- Parameters:
vpn_endpoint_group The value can be the ID of a vpn serviceor aVpnEndpointGroupinstance.
- Returns:
OneVpnEndpointGroup
- Raises:
ResourceNotFoundwhen no resource can be found.
vpn_endpoint_groups
- vpn_endpoint_groups(**query)
vpn 서비스 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of vpn service objects
- Return type:
VpnEndpointGroup
update_vpn_endpoint_group
- update_vpn_endpoint_group(vpn_endpoint_group, **attrs)
VPN 서비스 업데이트
- Parameters:
vpn_endpoint_group Either the id of a vpn service or aVpnEndpointGroupinstance.attrs The attributes to update on the VPN servicerepresented by vpn_endpoint_group.
- Returns:
The updated vpnservice
- Return type:
VpnEndpointGroup
create_vpn_ipsec_site_connection
- create_vpn_ipsec_site_connection(**attrs)
속성에서 새 IPsec 사이트 연결 만들기
- Parameters:
attrs Keyword arguments which will be used to create aVpnIPSecSiteConnection,comprised of the properties on the IPSecSiteConnection class.
- Returns:
The results of IPsec site connection creation
- Return type:
VpnIPSecSiteConnection
find_vpn_ipsec_site_connection
- find_vpn_ipsec_site_connection(name_or_id, ignore_missing, **query)
단일 IPsec 사이트 연결 찾기
- Parameters:
name_or_id The name or ID of an IPsec site connection.ignore_missing (bool) When set to FalseResourceNotFoundwill be raised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods such as query filters.
- Returns:
OneVpnIPSecSiteConnectionor None
get_vpn_ipsec_site_connection
- get_vpn_ipsec_site_connection(ipsec_site_connection)
단일 IPsec 사이트 연결 가져오기
- Parameters:
ipsec_site_connection The value can be the ID of an IPsec siteconnection or aVpnIPSecSiteConnectioninstance.
- Returns:
OneVpnIPSecSiteConnection
- Raises:
ResourceNotFoundwhen no resource can be found.
vpn_ipsec_site_connections
- vpn_ipsec_site_connections(**query)
IPsec 사이트 연결 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources being returned.
- Returns:
A generator of IPsec site connection objects
- Return type:
VpnIPSecSiteConnection
update_vpn_ipsec_site_connection
- update_vpn_ipsec_site_connection(ipsec_site_connection, **attrs)
IPsec 사이트 연결 업데이트
- Ipsec:
Either the id of an IPsec site connection oraVpnIPSecSiteConnectioninstance.
- Parameters:
attrs The attributes to update on the IPsec siteconnection represented by ipsec_site_connection.
- Returns:
The updated IPsec site connection
- Return type:
VpnIPSecSiteConnection
delete_vpn_ipsec_site_connection
- delete_vpn_ipsec_site_connection(ipsec_site_connection, ignore_missing)
IPsec 사이트 연결 삭제
- Parameters:
ipsec_site_connection The value can be either the ID of anIPsec site connection, or aVpnIPSecSiteConnectioninstance.ignore_missing (bool) When set to FalseResourceNotFound will be raised whenthe IPsec site connection does not exist.When set to True, no exception will be set when attempting todelete a nonexistent IPsec site connection.
- Returns:
None
create_vpn_ike_policy
- create_vpn_ike_policy(**attrs)
속성에서 새 ike 정책 생성
- Parameters:
attrs Keyword arguments which will be used to create aVpnIkePolicy,comprised of the properties on the VpnIkePolicy class.
- Returns:
The results of ike policy creation :rtype:VpnIkePolicy
find_vpn_ike_policy
- find_vpn_ike_policy(name_or_id, ignore_missing, **query)
단일 ike 정책 찾기
- Parameters:
name_or_id The name or ID of an IKE policy.ignore_missing (bool) When set to FalseResourceNotFoundwill be raised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods such as query filters.
- Returns:
OneVpnIkePolicy or None.
get_vpn_ike_policy
- get_vpn_ike_policy(ike_policy)
싱글아이크 정책 가져오기
- Parameters:
ike_policy The value can be the ID of an IKE policy or aVpnIkePolicyinstance.
- Returns:
OneVpnIkePolicy
- Return type:
VpnIkePolicy
- Raises:
ResourceNotFound when noresource can be found.
vpn_ike_policies
- vpn_ike_policies(**query)
IKE 정책 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources being returned.
- Returns:
A generator of ike policy objects
- Return type:
VpnIkePolicy
update_vpn_ike_policy
- update_vpn_ike_policy(ike_policy, **attrs)
IKE 정책 업데이트
- Ike:
Either the IK of an IKE policy or aVpnIkePolicyinstance.
- Parameters:
attrs The attributes to update on the ike policyrepresented by ike_policy.
- Returns:
The updated ike policy
- Return type:
VpnIkePolicy
delete_vpn_ike_policy
- delete_vpn_ike_policy(ike_policy, ignore_missing)
IKE 정책 삭제
- Parameters:
ike_policy The value can be either the ID of an ike policy, ora VpnIkePolicyinstance.ignore_missing (bool) When set to FalseResourceNotFoundwill be raised when the ike policy does not exist.When set to True, no exception will be set when attempting todelete a nonexistent ike policy.
- Returns:
None
create_vpn_ipsec_policy
- create_vpn_ipsec_policy(**attrs)
속성에서 새 IPsec 정책 생성
- Parameters:
attrs Keyword arguments which will be used to create aVpnIpsecPolicy,comprised of the properties on the VpnIpsecPolicy class.
- Returns:
The results of IPsec policy creation :rtype:VpnIpsecPolicy
find_vpn_ipsec_policy
- find_vpn_ipsec_policy(name_or_id, ignore_missing, **query)
단일 IPsec 정책 찾기
- Parameters:
name_or_id The name or ID of an IPsec policy.ignore_missing (bool) When set to FalseResourceNotFoundwill be raised when the resource does not exist. When set toTrue, None will be returned when attempting to find anonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods such as query filters.
- Returns:
OneVpnIpsecPolicyor None.
get_vpn_ipsec_policy
- get_vpn_ipsec_policy(ipsec_policy)
단일 IPsec 정책 가져오기
- Parameters:
ipsec_policy The value can be the ID of an IPcec policy or aVpnIpsecPolicyinstance.
- Returns:
OneVpnIpsecPolicy
- Return type:
VpnIpsecPolicy
- Raises:
ResourceNotFound when noresource can be found.
vpn_ipsec_policies
- vpn_ipsec_policies(**query)
IPsec 정책 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limit theresources being returned.
- Returns:
A generator of IPsec policy objects
- Return type:
VpnIpsecPolicy
update_vpn_ipsec_policy
- update_vpn_ipsec_policy(ipsec_policy, **attrs)
IPsec 정책 업데이트
- Ipsec:
Either the id of an IPsec policy or aVpnIpsecPolicyinstance.
- Parameters:
attrs The attributes to update on the IPsec policyrepresented by ipsec_policy.
- Returns:
The updated IPsec policy
- Return type:
VpnIpsecPolicy
delete_vpn_ipsec_policy
- delete_vpn_ipsec_policy(ipsec_policy, ignore_missing)
IPsec 정책 삭제
- Parameters:
ipsec_policy The value can be either the ID of an IPsec policy,or aVpnIpsecPolicyinstance.ignore_missing (bool) When set to FalseResourceNotFoundwill be raised when the IPsec policy does not exist. When set toTrue, no exception will be set when attempting to delete anonexistent IPsec policy.
- Returns:
None
create_vpn_service
- create_vpn_service(**attrs)
속성에서 새 VPN 서비스 생성
- Parameters:
attrs Keyword arguments which will be used to createa VpnService,comprised of the properties on the VpnService class.
- Returns:
The results of vpn service creation
- Return type:
VpnService
delete_vpn_service
- delete_vpn_service(vpn_service, ignore_missing)
vpn 서비스 삭제
- Parameters:
vpn_service The value can be either the ID of a vpn service or aVpnService instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the vpn service does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent vpn service.
- Returns:
None
find_vpn_service
- find_vpn_service(name_or_id, ignore_missing, **query)
단일 VPN 서비스 찾기
- Parameters:
name_or_id The name or ID of a vpn service.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One VpnServiceor None
get_vpn_service
- get_vpn_service(vpn_service)
단일 VPN 서비스 가져오기
- Parameters:
vpn_service The value can be the ID of a vpn service or aVpnServiceinstance.
- Returns:
OneVpnService
- Raises:
ResourceNotFoundwhen no resource can be found.
vpn_services
- vpn_services(**query)
vpn 서비스 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of vpn service objects
- Return type:
VpnService
update_vpn_service
- update_vpn_service(vpn_service, **attrs)
VPN 서비스 업데이트
- Parameters:
vpn_service Either the id of a vpn service or aVpnService instance.attrs The attributes to update on the VPN servicerepresented by vpn_service.
- Returns:
The updated vpnservice
- Return type:
VpnService
Extension Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
find_extension
- find_extension(name_or_id, ignore_missing, **query)
단일 확장자 찾기
- Parameters:
name_or_id The name or ID of a extension.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One Extensionor None
extensions
- extensions(**query)
확장 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Currently noparameter is supported.
- Returns:
A generator of extension objects
- Return type:
Extension
Service Provider Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
service_providers
- service_providers(**query)
서비스 공급자의 생성기 반환
- Parameters:
query (kwargs) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of service provider objects
- Return type:
ServiceProvider
Local IP Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_local_ip
- create_local_ip(**attrs)
속성에서 새 로컬 IP 생성
- Parameters:
attrs Keyword arguments which will be used to createa LocalIP,comprised of the properties on the LocalIP class.
- Returns:
The results of local ip creation
- Return type:
LocalIP
delete_local_ip
- delete_local_ip(local_ip, ignore_missing, if_revision)
로컬 IP 삭제
- Parameters:
local_ip The value can be either the ID of a local ip or aLocalIPinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the local ip does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent ip.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_local_ip
- find_local_ip(name_or_id, ignore_missing, **query)
로컬 IP 찾기
- Parameters:
name_or_id The name or ID of an local IP.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One LocalIPor None
get_local_ip
- get_local_ip(local_ip)
단일 로컬 IP 가져오기
- Parameters:
local_ip The value can be the ID of a local ip or aLocalIPinstance.
- Returns:
One LocalIP
- Raises:
ResourceNotFoundwhen no resource can be found.
local_ips
- local_ips(**query)
로컬 ips의 생성기를 반환합니다
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.name: Local IP namedescription: Local IP descriptionproject_id: Owner project IDnetwork_id: Local IP networklocal_port_id: Local port IDlocal_ip_address: The IP address of a Local IPip_mode: The Local IP mode
- Returns:
A generator of local ip objects
- Return type:
LocalIP
update_local_ip
- update_local_ip(local_ip, if_revision, **attrs)
로컬 IP 업데이트
- Parameters:
local_ip Either the id of a local ip or aLocalIPinstance.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.attrs The attributes to update on the ip representedby value.
- Returns:
The updated ip
- Return type:
LocalIP
create_local_ip_association
- create_local_ip_association(local_ip, **attrs)
속성에서 새 로컬 IP 연결 만들기
- Parameters:
local_ip The value can be the ID of a Local IP or aLocalIPinstance.attrs Keyword arguments which will be used to createaLocalIPAssociation,comprised of the properties on the LocalIP class.
- Returns:
The results of local ip association creation
- Return type:
LocalIPAssociation
delete_local_ip_association
- delete_local_ip_association(local_ip, fixed_port_id, ignore_missing, if_revision)
로컬 IP 연결 삭제
- Parameters:
local_ip The value can be the ID of a Local IP or aLocalIPinstance.fixed_port_id The value can be either the fixed port IDor a :class:~openstack.network.v2.local_ip_association.LocalIPAssociationinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the local ip association does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent ip.if_revision (int) Revision to put in If-Match header of updaterequest to perform compare-and-swap update.
- Returns:
None
find_local_ip_association
- find_local_ip_association(name_or_id, local_ip, ignore_missing, **query)
로컬 IP 연결 찾기
- Parameters:
name_or_id The name or ID of local ip association.local_ip The value can be the ID of a Local IP or aLocalIPinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneLocalIPAssociationor None
get_local_ip_association
- get_local_ip_association(local_ip_association, local_ip)
단일 로컬 IP 연결 가져오기
- Parameters:
local_ip The value can be the ID of a Local IP or aLocalIPinstance.local_ip_association The value can be the IDof a local ip association or aLocalIPAssociationinstance.
- Returns:
OneLocalIPAssociation
- Raises:
ResourceNotFoundwhen no resource can be found.
local_ip_associations
- local_ip_associations(local_ip, **query)
로컬 IP 연결의 생성기를 반환합니다
- Parameters:
local_ip The value can be the ID of a Local IP or aLocalIP instance.query (dict) Optional query parameters to be sent to limitthe resources being returned.fixed_port_id: The ID of the port to which a local IPis associatedfixed_ip: The fixed ip address associated with aa Local IPhost: Host where local ip is associated
- Returns:
A generator of local ip association objects
- Return type:
LocalIPAssociation
Ndp Proxy Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_ndp_proxy
- create_ndp_proxy(**attrs)
속성에서 새 ndp 프록시 생성
- Parameters:
attrs Keyword arguments which will be used to createa NDPProxxy,comprised of the properties on the NDPProxy class.
- Returns:
The results of ndp proxy creation
- Return type:
NDPProxxy
get_ndp_proxy
- get_ndp_proxy(ndp_proxy)
단일 ndp 프록시 가져오기
- Parameters:
ndp_proxy The value can be the ID of a ndp proxyor a NDPProxyinstance.
- Returns:
OneNDPProxy
- Raises:
ResourceNotFoundwhen no resource can be found.
find_ndp_proxy
- find_ndp_proxy(ndp_proxy_id, ignore_missing, **query)
단일 ndp 프록시 찾기
- Parameters:
ndp_proxy_id The ID of a ndp proxy.ignore_missing (bool) When set to FalseResourceNotFound will be raised whenthe resource does not exist. When set to True, None will bereturned when attempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One NDPProxy or None
delete_ndp_proxy
- delete_ndp_proxy(ndp_proxy, ignore_missing)
삭제 및 프록시
- Parameters:
ndp_proxy The value can be the ID of a ndp proxyor a NDPProxyinstance.ignore_missing (bool) When set to FalseResourceNotFound will be raised whenthe router does not exist. When set to True, no exception willbe set when attempting to delete a nonexistent ndp proxy.
- Returns:
None
ndp_proxies
- ndp_proxies(**query)
ndp 프록시 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned. Valid parameters are:router_id: The ID fo the routerport_id: The ID of internal port.ip_address: The internal IP address
- Returns:
A generator of port forwarding objects
- Return type:
PortForwarding
update_ndp_proxy
- update_ndp_proxy(ndp_proxy, **attrs)
업데이트 및 dp 프록시
- Parameters:
ndp_proxy The value can be the ID of a ndp proxy or aNDPProxy instance.attrs The attributes to update on the ip representedby value.
- Returns:
The updated ndp_proxy
- Return type:
NDPProxy
BGP Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_bgp_peer
- create_bgp_peer(**attrs)
속성에서 새 BGP 피어 생성
delete_bgp_peer
- delete_bgp_peer(peer, ignore_missing)
BGP 피어 삭제
find_bgp_peer
- find_bgp_peer(name_or_id, ignore_missing, **query)
단일 BGP 피어 찾기
get_bgp_peer
- get_bgp_peer(peer)
BGP 피어 신호 가져오기
update_bgp_peer
- update_bgp_peer(peer, **attrs)
BGP 피어 업데이트
bgp_peers
- bgp_peers(**query)
BGP 피어 생성기 반환
create_bgp_speaker
- create_bgp_speaker(**attrs)
새 BGP 스피커 만들기
delete_bgp_speaker
- delete_bgp_speaker(speaker, ignore_missing)
BGP 스피커 삭제
find_bgp_speaker
- find_bgp_speaker(name_or_id, ignore_missing, **query)
단일 BGP 피어 찾기
get_bgp_speaker
- get_bgp_speaker(speaker)
신호 BGP 스피커 가져오기
update_bgp_speaker
- update_bgp_speaker(speaker, **attrs)
BGP 스피커 업데이트
bgp_speakers
- bgp_speakers(**query)
BGP 피어 생성기 반환
add_bgp_peer_to_speaker
- add_bgp_peer_to_speaker(speaker, peer_id)
지정된 BGP 스피커에 BGP 피어를 바인딩합니다.
remove_bgp_peer_from_speaker
- remove_bgp_peer_from_speaker(speaker, peer_id)
BGP 스피커에서 BGP 피어 바인딩을 해제합니다.
add_gateway_network_to_speaker
- add_gateway_network_to_speaker(speaker, network_id)
지정한 BGP 스피커에 네트워크를 추가합니다.
remove_gateway_network_from_speaker
- remove_gateway_network_from_speaker(speaker, network_id)
지정된 BGP 스피커에서 네트워크를 제거합니다.
get_advertised_routes_of_speaker
- get_advertised_routes_of_speaker(speaker)
지정된 BGP 스피커에 의해 애드버타이즈된 모든 루트를 나열합니다.
get_bgp_dragents_hosting_speaker
- get_bgp_dragents_hosting_speaker(speaker)
호스트하는 모든 BGP 동적 에이전트 목록
지정된 BGP 스피커.
add_bgp_speaker_to_dragent
- add_bgp_speaker_to_dragent(bgp_agent, bgp_speaker_id)
지정한 동적 라우팅 에이전트에 BGP 스피커를 추가합니다.
get_bgp_speakers_hosted_by_dragent
- get_bgp_speakers_hosted_by_dragent(bgp_agent)
지정된 동적 라우팅에서 호스팅되는 모든 BGP 시커 목록
대리인.
remove_bgp_speaker_from_dragent
- remove_bgp_speaker_from_dragent(bgp_agent, bgp_speaker_id)
지정한 동적으로 호스팅되는 BGP 스피커 삭제
루팅 에이전트.
Tap As A Service Operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_tap_flow
- create_tap_flow(**attrs)
속성에서 새 탭 흐름 만들기
delete_tap_flow
- delete_tap_flow(tap_flow, ignore_missing)
탭 흐름 삭제
find_tap_flow
- find_tap_flow(name_or_id, ignore_missing, **query)
단일 탭 서비스 찾기
get_tap_flow
- get_tap_flow(tap_flow)
신호 탭 흐름 가져오기
update_tap_flow
- update_tap_flow(tap_flow, **attrs)
탭 흐름 업데이트
tap_flows
- tap_flows(**query)
탭 흐름 생성기 반환
create_tap_service
- create_tap_service(**attrs)
속성에서 새 탭 서비스 만들기
delete_tap_service
- delete_tap_service(tap_service, ignore_missing)
탭 서비스 삭제
find_tap_service
- find_tap_service(name_or_id, ignore_missing, **query)
단일 탭 서비스 찾기
update_tap_service
- update_tap_service(tap_service, **attrs)
탭 서비스 업데이트
tap_services
- tap_services(**query)
탭 서비스의 생성기 반환
BGPVPN operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_bgpvpn
- create_bgpvpn(**attrs)
새 BGPVPN 만들기
- Parameters:
attrs Keyword arguments which will be used to create aBgpVpn, comprised of theproperties on the BGPVPN class, for details see the Neutronapi-ref.
- Returns:
The result of BGPVPN creation
- Return type:
BgpVpn
delete_bgpvpn
- delete_bgpvpn(bgpvpn, ignore_missing)
BGPVPN 삭제
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the BGPVPN does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent BGPVPN.
- Returns:
None
find_bgpvpn
- find_bgpvpn(name_or_id, ignore_missing, **query)
단일 BGPVPN 찾기
- Parameters:
name_or_id The name or ID of a BGPVPN.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One BGPVPNor None
get_bgpvpn
- get_bgpvpn(bgpvpn)
Get a signle BGPVPN
- Parameters:
bgpvpn The value can be the ID of a BGPVPN or aBgpVpn instance.
- Returns:
One BgpVpn
- Raises:
ResourceNotFoundwhen no resource can be found.
update_bgpvpn
- update_bgpvpn(bgppvpn, **attrs)
BGPVPN 업데이트
- Parameters:
bgpvpn Either the ID of a BGPVPN or aBgpVpn instance.attrs The attributes to update on the BGPVPN representedby value.
- Returns:
The updated BGPVPN
- Return type:
BgpVpn
bgpvpns
- bgpvpns(**query)
BGP VPN 생성기 반환
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of BgpVPN objects
- Return type:
BgpVpn
create_bgpvpn_network_association
- create_bgpvpn_network_association(bgpvpn, **attrs)
새 BGPVPN 네트워크 연결 만들기
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.attrs Keyword arguments which will be used to createa BgpVpnNetworkAssociation,comprised of the properties on the BgpVpnNetworkAssociation class.
- Returns:
The results of BgpVpnNetworkAssociation creation
- Return type:
BgpVpnNetworkAssociation
delete_bgpvpn_network_association
- delete_bgpvpn_network_association(bgpvpn, net_association, ignore_missing)
BGPVPN 네트워크 연결 삭제
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.net_association The value can be either the ID of abgpvpn_network_association ora BgpVpnNetworkAssociation instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the BgpVpnNetworkAssociation does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent BgpVpnNetworkAssociation.
- Returns:
None
get_bgpvpn_network_association
- get_bgpvpn_network_association(bgpvpn, net_association)
BGPVPN 네트워크 연결 신호 가져오기
- Parameters:
bgpvpn The value can be the ID of a BGPVPN or aBgpVpn instance.net_association The value can be the ID of aBgpVpnNetworkAssociation or aBgpVpnNetworkAssociation instance.
- Returns:
One BgpVpnNetworkAssociation
- Raises:
ResourceNotFoundwhen no resource can be found.
bgpvpn_network_associations
- bgpvpn_network_associations(bgpvpn, **query)
BGP VPN 네트워크 연결 생성기 반환
- Param:
bgpvpn: The value can be the ID of a BGPVPN or aBgpVpn instance.
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of BgpVpnNetworkAssociation objects
- Return type:
BgpVpnNetworkAssociation
create_bgpvpn_port_association
- create_bgpvpn_port_association(bgpvpn, **attrs)
새 BGPVPN 포트 연결 만들기
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.attrs Keyword arguments which will be used to createa BgpVpnPortAssociation,comprised of the properties on the BgpVpnPortAssociation class.
- Returns:
The results of BgpVpnPortAssociation creation
- Return type:
BgpVpnPortAssociation
delete_bgpvpn_port_association
- delete_bgpvpn_port_association(bgpvpn, port_association, ignore_missing)
BGPVPN 포트 연결 삭제
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.port_association The value can be either the ID of abgpvpn_port_association ora BgpVpnPortAssociation instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the BgpVpnPortAssociation does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent BgpVpnPortAssociation.
- Returns:
None
find_bgpvpn_port_association
- find_bgpvpn_port_association(name_or_id, bgpvpn_id, ignore_missing, **query)
단일 BGPVPN 포트 연결 찾기
- Parameters:
name_or_id The name or ID of a BgpVpnNetworkAssociation.bgpvpn_id The value can be the ID of a BGPVPN.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
One BGPVPNor None
get_bgpvpn_port_association
- get_bgpvpn_port_association(bgpvpn, port_association)
BGPVPN 포트 연결 신호 가져오기
- Parameters:
bgpvpn The value can be the ID of a BGPVPN or aBgpVpn instance.port_association The value can be the ID of aBgpVpnPortAssociation or aBgpVpnPortAssociation instance.
- Returns:
One BgpVpnPortAssociation
- Raises:
ResourceNotFoundwhen no resource can be found.
update_bgpvpn_port_association
- update_bgpvpn_port_association(bgpvpn, port_association, **attrs)
BPGPN 포트 연결 업데이트
- Parameters:
bgpvpn Either the ID of a BGPVPN or aBgpVpn instance.port_association The value can be the ID of aBgpVpnPortAssociation or aBgpVpnPortAssociation instance.attrs The attributes to update on the BGPVPN representedby value.
- Returns:
The updated BgpVpnPortAssociation.
- Return type:
BgpVpn
bgpvpn_port_associations
- bgpvpn_port_associations(bgpvpn, **query)
BGP VPN 포트 연결 생성기 반환
- Param:
bgpvpn: The value can be the ID of a BGPVPN or aBgpVpn instance.
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of BgpVpnNetworkAssociation objects
- Return type:
BgpVpnNetworkAssociation
create_bgpvpn_router_association
- create_bgpvpn_router_association(bgpvpn, **attrs)
새 BGPVPN 라우터 연결 만들기
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.attrs Keyword arguments which will be used to createa BgpVpnRouterAssociation,comprised of the properties on the BgpVpnRouterAssociation class.
- Returns:
The results of BgpVpnRouterAssociation creation
- Return type:
BgpVpnRouterAssociation
delete_bgpvpn_router_association
- delete_bgpvpn_router_association(bgpvpn, router_association, ignore_missing)
BGPVPN 라우터 연결 삭제
- Parameters:
bgpvpn The value can be either the ID of a bgpvpn ora BgpVpn instance.port_association The value can be either the ID of abgpvpn_router_association ora BgpVpnRouterAssociation instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the BgpVpnRouterAssociation does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent BgpVpnRouterAsociation.
- Returns:
None
get_bgpvpn_router_association
- get_bgpvpn_router_association(bgpvpn, router_association)
BGPVPN 라우터 연결 신호 가져오기
- Parameters:
bgpvpn The value can be the ID of a BGPVPN or aBgpVpn instance.router_association The value can be the ID of aBgpVpnRouterAssociation or aBgpVpnRouterAssociation instance.
- Returns:
One BgpVpnRouterAssociation
- Raises:
ResourceNotFoundwhen no resource can be found.
update_bgpvpn_router_association
- update_bgpvpn_router_association(bgpvpn, router_association, **attrs)
BPGPN 라우터 연결 업데이트
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of BgpVpnNetworkAssociation objects
- Return type:
BgpVpnNetworkAssociation
bgpvpn_router_associations
- bgpvpn_router_associations(bgpvpn, **query)
BGP VPN 라우터 연결의 생성기 반환
- Param:
bgpvpn: The value can be the ID of a BGPVPN or aBgpVpn instance.
- Parameters:
query (dict) Optional query parameters to be sent to limitthe resources being returned.
- Returns:
A generator of BgpVpnRouterAssociation objects
- Return type:
BgpVpnRouterAssociation
SFC operations
openstack.network.v2._proxy.Proxy(session, statsd_client, statsd_prefix, prometheus_counter, prometheus_histogram, influxdb_config, influxdb_client, *args, **kwargs)
create_sfc_flow_classifier
- create_sfc_flow_classifier(**attrs)
속성에서 새 Flow Classifier 만들기
- Parameters:
attrs Keyword arguments which will be used to create aSfcFlowClassifier,comprised of the properties on the SfcFlowClassifier class.
- Returns:
The results of SFC Flow Classifier creation
- Return type:
SfcFlowClassifier
delete_sfc_flow_classifier
- delete_sfc_flow_classifier(flow_classifier, ignore_missing)
흐름 분류기 삭제
- Parameters:
flow_classifier The value can be either the ID of a flow classifier or aSfcFlowClassifierinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the flow classifier does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent flow classifier.
- Returns:
None
find_sfc_flow_classifier
- find_sfc_flow_classifier(name_or_id, ignore_missing, **query)
단일 흐름 분류기 찾기
- Parameters:
name_or_id (str) The name or ID of an SFC flow classifier.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSfcFlowClassifier or None
get_sfc_flow_classifier
- get_sfc_flow_classifier(flow_classifier)
단일 흐름 분류기 가져오기
- Parameters:
flow_classifier The value can be the ID of an SFC flow classifier or aSfcFlowClassifier instance.
- Returns:
SfcFlowClassifier
- Raises:
ResourceNotFoundwhen no resource can be found.
update_sfc_flow_classifier
- update_sfc_flow_classifier(flow_classifier, **attrs)
흐름 분류기 업데이트
- Parameters:
flow_classifier The value can be the ID of a Flow ClassifierSfcFlowClassifier,instance.attrs The attributes to update on the Flow Classifier
- Returns:
The updated Flow Classifier.
- Return type:
SfcFlowClassifier
create_sfc_port_chain
- create_sfc_port_chain(**attrs)
속성에서 새 포트 체인 만들기
- Parameters:
attrs Keyword arguments which will be used to create aSfcPortChain,comprised of the properties on the SfcPortchain class.
- Returns:
The results of SFC Port Chain creation
- Return type:
SfcPortChain
delete_sfc_port_chain
- delete_sfc_port_chain(port_chain, ignore_missing)
포트 체인 삭제
- Parameters:
port_chain The value can be either the ID of a port chain or aSfcPortChaininstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the port chain does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent port chain.
- Returns:
None
find_sfc_port_chain
- find_sfc_port_chain(name_or_id, ignore_missing, **query)
단일 포트 체인 찾기
- Parameters:
name_or_id (str) The name or ID of an SFC port chain.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSfcPortChain or None
get_sfc_port_chain
- get_sfc_port_chain(port_chain)
포트 체인 신호 가져오기
- Parameters:
port_chain The value can be the ID of an SFC port chain or aSfcPortChaininstance.
- Returns:
SfcPortchain
- Raises:
ResourceNotFoundwhen no resource can be found.
update_sfc_port_chain
- update_sfc_port_chain(port_chain, **attrs)
포트 체인 업데이트
- Parameters:
flow_classifier The value can be the ID of a Flow ClassifierSfcFlowClassifier,instance.attrs The attributes to update on the Flow Classifier
- Returns:
The updated Flow Classifier.
- Return type:
SfcFlowClassifier
create_sfc_port_pair
- create_sfc_port_pair(**attrs)
속성에서 새 포트 쌍 생성
- Parameters:
attrs Keyword arguments which will be used to create aSfcPortPair,comprised of the properties on the SfcPortPair class.
- Returns:
The results of SFC Port Pair creation
- Return type:
SfPortPair
delete_sfc_port_pair
- delete_sfc_port_pair(port_pair, ignore_missing)
포트 쌍 삭제
- Parameters:
port_pair The value can be either the ID of a port pair or aSfcPortPairinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the port pair does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent port pair.
- Returns:
None
find_sfc_port_pair
- find_sfc_port_pair(name_or_id, ignore_missing, **query)
단일 포트 쌍 찾기
- Parameters:
name_or_id (str) The name or ID of an SFC port pair.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSfcPortPair or None
get_sfc_port_pair
- get_sfc_port_pair(port_pair)
사인 포트 쌍 가져오기
- Parameters:
port_pair The value can be the ID of an SFC port pair or aSfcPortPairinstance.
- Returns:
SfcPortPair
- Raises:
ResourceNotFoundwhen no resource can be found.
update_sfc_port_pair
- update_sfc_port_pair(port_pair, **attrs)
포트 쌍 업데이트
- Parameters:
port_pair The value can be the ID of a Port PairSfcPortPair,instance.attrs The attributes to update on the Port Pair
- Returns:
The updated Port Pair.
- Return type:
SfcPortPair
create_sfc_port_pair_group
- create_sfc_port_pair_group(**attrs)
속성에서 새 포트 쌍 그룹 생성
- Parameters:
attrs Keyword arguments which will be used to create aSfcPortPairGroup,comprised of the properties on the SfcPortPairGroup class.
- Returns:
The results of SFC Port Pair Group creation
- Return type:
SfcPortPairGroup
delete_sfc_port_pair_group
- delete_sfc_port_pair_group(port_pair_group, ignore_missing)
포트 쌍 그룹 삭제
- Parameters:
port_pair_group The value can be either the ID of a port pair group or aSfcPortPairGroup instance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the port pair group does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent port pair group.
- Returns:
None
find_sfc_port_pair_group
- find_sfc_port_pair_group(name_or_id, ignore_missing, **query)
단일 포트 쌍 그룹 찾기
- Parameters:
name_or_id (str) The name or ID of an SFC port pair group.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSfcPortPairGroup or None
get_sfc_port_pair_group
- get_sfc_port_pair_group(port_pair_group)
신호 포트 쌍 그룹 가져오기
- Parameters:
port_pair_group The value can be the ID of an SFC port pair group or aSfcPortPairGroupinstance.
- Returns:
SfcPortPairGroup
- Raises:
ResourceNotFoundwhen no resource can be found.
update_sfc_port_pair_group
- update_sfc_port_pair_group(port_pair_group, **attrs)
포트 쌍 그룹 업데이트
- Parameters:
port_pair_group The value can be the ID of a Port Pair GroupSfcPortPairGroup,instance.attrs The attributes to update on the Port Pair Group
- Returns:
The updated Port Pair Group.
- Return type:
SfcPortPairGroup
create_sfc_service_graph
- create_sfc_service_graph(**attrs)
속성에서 새 서비스 그래프 만들기
- Parameters:
attrs Keyword arguments which will be used to create aSfcServiceGraph,comprised of the properties on the SfcServiceGraph class.
- Returns:
The results of SFC Service Graph creation
- Return type:
SfcServiceGraph
delete_sfc_service_graph
- delete_sfc_service_graph(service_graph, ignore_missing)
서비스 그래프 삭제
- Parameters:
service_graph The value can be either the ID of a service graph or aSfcServiceGraphinstance.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the service graph does not exist.When set to True, no exception will be set whenattempting to delete a nonexistent service graph.
- Returns:
None
find_sfc_service_graph
- find_sfc_service_graph(name_or_id, ignore_missing, **query)
단일 서비스 그래프 찾기
- Parameters:
name_or_id (str) The name or ID of an SFC service graph.ignore_missing (bool) When set to FalseResourceNotFound will beraised when the resource does not exist.When set to True, None will be returned whenattempting to find a nonexistent resource.query (dict) Any additional parameters to be passed intounderlying methods. such as query filters.
- Returns:
OneSfcServiceGraph or None
get_sfc_service_graph
- get_sfc_service_graph(service_graph)
단일 서비스 그래프 가져오기
- Parameters:
service_graph The value can be the ID of an SFC service graph or aSfcServiceGraphinstance.
- Returns:
SfcServiceGraph
- Raises:
ResourceNotFoundwhen no resource can be found.
update_sfc_service_graph
- update_sfc_service_graph(service_graph, **attrs)
서비스 그래프 업데이트
- Parameters:
service_graph The value can be the ID of a Service GraphSfcServiceGraph,instance.attrs The attributes to update on the Service Graph
- Returns:
The updated Service Graph.
- Return type:
SfcServiceGraph