openstackclient.network.v2 package¶
Submodules¶
openstackclient.network.v2.address_scope module¶
Address scope action implementations
-
class
openstackclient.network.v2.address_scope.
CreateAddressScope
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create a new Address Scope
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.address_scope.
DeleteAddressScope
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete address scope(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.address_scope.
ListAddressScope
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List address scopes
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.floating_ip module¶
IP Floating action implementations
-
class
openstackclient.network.v2.floating_ip.
CreateFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Create floating IP
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.floating_ip.
CreateIPFloating
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip.CreateFloatingIP
Create floating IP
-
deprecated
= True¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
-
class
openstackclient.network.v2.floating_ip.
DeleteFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeDelete
Delete floating IP(s)
-
log
= <logging.Logger object>¶
-
r
= None¶
-
resource
= 'floating_ip'¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.floating_ip.
DeleteIPFloating
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip.DeleteFloatingIP
Delete floating IP(s)
-
deprecated
= True¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
-
class
openstackclient.network.v2.floating_ip.
ListFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeLister
List floating IP(s)
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
-
class
openstackclient.network.v2.floating_ip.
ListIPFloating
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip.ListFloatingIP
List floating IP(s)
-
deprecated
= True¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
-
class
openstackclient.network.v2.floating_ip.
ShowFloatingIP
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Display floating IP details
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.floating_ip.
ShowIPFloating
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip.ShowFloatingIP
Display floating IP details
-
deprecated
= True¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
openstackclient.network.v2.floating_ip_pool module¶
Floating IP Pool action implementations
-
class
openstackclient.network.v2.floating_ip_pool.
ListFloatingIPPool
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeLister
List pools of floating IP addresses
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
-
class
openstackclient.network.v2.floating_ip_pool.
ListIPFloatingPool
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip_pool.ListFloatingIPPool
List pools of floating IP addresses
-
deprecated
= True¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
openstackclient.network.v2.ip_availability module¶
IP Availability Info implementations
openstackclient.network.v2.network module¶
Network action implementations
-
class
openstackclient.network.v2.network.
CreateNetwork
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Create new network
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
update_parser_compute
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.network.
DeleteNetwork
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeDelete
Delete network(s)
-
log
= <logging.Logger object>¶
-
r
= None¶
-
resource
= 'network'¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.network.
ListNetwork
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeLister
List networks
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.network.
SetNetwork
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Set network properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network.
ShowNetwork
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Show network details
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
openstackclient.network.v2.network_agent module¶
Network agent action implementations
-
class
openstackclient.network.v2.network_agent.
DeleteNetworkAgent
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete network agent(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_agent.
ListNetworkAgent
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List network agents
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_rbac module¶
RBAC action implementations
-
class
openstackclient.network.v2.network_rbac.
CreateNetworkRBAC
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create network RBAC policy
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_rbac.
DeleteNetworkRBAC
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete network RBAC policy(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_rbac.
ListNetworkRBAC
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List network RBAC policies
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_segment module¶
Network segment action implementations
-
class
openstackclient.network.v2.network_segment.
CreateNetworkSegment
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create new network segment
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_segment.
DeleteNetworkSegment
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete network segment(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_segment.
ListNetworkSegment
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List network segments
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.port module¶
Port action implementations
-
class
openstackclient.network.v2.port.
CreatePort
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create a new port
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.port.
DeletePort
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete port(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.port.
JSONKeyValueAction
(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)¶ Bases:
argparse.Action
A custom action to parse arguments as JSON or key=value pairs
Ensures that
dest
is a dict
-
class
openstackclient.network.v2.port.
ListPort
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List ports
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.port.
SetPort
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Set port properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.router module¶
Router action implementations
-
class
openstackclient.network.v2.router.
AddPortToRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Add a port to a router
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
AddSubnetToRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Add a subnet to a router
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
CreateRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create a new router
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
DeleteRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete router(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
ListRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List routers
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
RemovePortFromRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Remove a port from a router
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
RemoveSubnetFromRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Remove a subnet from a router
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.router.
SetRouter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Set router properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.security_group module¶
Security Group action implementations
-
class
openstackclient.network.v2.security_group.
CreateSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Create a new security group
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.security_group.
DeleteSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeDelete
Delete security group(s)
-
log
= <logging.Logger object>¶
-
r
= None¶
-
resource
= 'group'¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.security_group.
ListSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeLister
List security groups
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_compute
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.security_group.
SetSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeCommand
Set security group properties
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.security_group.
ShowSecurityGroup
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Display security group details
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
openstackclient.network.v2.security_group_rule module¶
Security Group Rule action implementations
-
class
openstackclient.network.v2.security_group_rule.
CreateSecurityGroupRule
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Create a new security group rule
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
update_parser_compute
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.security_group_rule.
DeleteSecurityGroupRule
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeDelete
Delete security group rule(s)
-
log
= <logging.Logger object>¶
-
r
= None¶
-
resource
= 'rule'¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
-
class
openstackclient.network.v2.security_group_rule.
ListSecurityGroupRule
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeLister
List security group rules
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
update_parser_compute
(parser)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.security_group_rule.
ShowSecurityGroupRule
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.common.NetworkAndComputeShowOne
Display security group rule details
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
openstackclient.network.v2.subnet module¶
Subnet action implementations
-
class
openstackclient.network.v2.subnet.
CreateSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create a subnet
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet.
DeleteSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete subnet(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet.
ListSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List subnets
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet.
SetSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Set subnet properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet.
ShowSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Display subnet details
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet.
UnsetSubnet
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Unset subnet properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
openstackclient.network.v2.subnet.
convert_entries_to_gateway
(entries)¶
-
openstackclient.network.v2.subnet.
convert_entries_to_nexthop
(entries)¶
openstackclient.network.v2.subnet_pool module¶
Subnet pool action implementations
-
class
openstackclient.network.v2.subnet_pool.
CreateSubnetPool
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
Create subnet pool
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet_pool.
DeleteSubnetPool
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Delete subnet pool(s)
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet_pool.
ListSubnetPool
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
List subnet pools
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.subnet_pool.
SetSubnetPool
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
Set subnet pool properties
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-