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
-
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
-
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
-
get_parser
(prog_name)¶
-
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
-
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
-
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
-
log
= <logging.Logger object>¶
-
r
= None¶
-
resource
= 'floating_ip'¶
-
take_action
(parsed_args)¶ Implements a naive cache for the list of floating IPs
-
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
-
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
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_network
(parser)¶
-
-
class
openstackclient.network.v2.floating_ip.
ListIPFloating
(app, app_args, cmd_name=None)¶ Bases:
openstackclient.network.v2.floating_ip.ListFloatingIP
-
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
-
ip_cache
= []¶
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_common
(parser)¶
-
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
-
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
-
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.meter module¶
Metering Label Implementations
-
class
openstackclient.network.v2.meter.
CreateMeter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.meter.
DeleteMeter
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
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
-
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
-
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
-
log
= <logging.Logger object>¶
-
take_action_compute
(client, parsed_args)¶
-
take_action_network
(client, parsed_args)¶
-
update_parser_network
(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
-
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
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_meter_rule module¶
Meter Rule Implementations
-
class
openstackclient.network.v2.network_meter_rule.
CreateMeterRule
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_meter_rule.
DeleteMeterRule
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_qos_policy module¶
-
class
openstackclient.network.v2.network_qos_policy.
CreateNetworkQosPolicy
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_qos_policy.
DeleteNetworkQosPolicy
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_qos_policy.
ListNetworkQosPolicy
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_qos_rule module¶
-
class
openstackclient.network.v2.network_qos_rule.
CreateNetworkQosRule
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.ShowOne
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_qos_rule.
DeleteNetworkQosRule
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Command
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
-
class
openstackclient.network.v2.network_qos_rule.
ListNetworkQosRule
(app, app_args, cmd_name=None)¶ Bases:
osc_lib.command.command.Lister
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_qos_rule_type module¶
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
-
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
-
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
-
get_parser
(prog_name)¶
-
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
-
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
-
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
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-
openstackclient.network.v2.network_service_provider module¶
Network Service Providers Implementation
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
get_parser
(prog_name)¶
-
log
= <logging.Logger object>¶
-
take_action
(parsed_args)¶
-