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 at 0x7f741708c8d0>
-
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 at 0x7f741708ced0>
-
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 at 0x7f741708cf10>
-
take_action(parsed_args)
-
class openstackclient.network.v2.address_scope.SetAddressScope(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Set address scope properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f74172ff390>
-
take_action(parsed_args)
-
class openstackclient.network.v2.address_scope.ShowAddressScope(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display address scope details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f74172ff450>
-
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 at 0x7f7417329550>
-
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 at 0x7f74181bc7d0>
-
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 at 0x7f7416a262d0>
-
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 at 0x7f74181bc7d0>
-
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 at 0x7f7416a26d90>
-
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 at 0x7f74181bc7d0>
-
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 at 0x7f74179c3c10>
-
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 at 0x7f74181bc7d0>
-
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 at 0x7f74164c9310>
-
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 at 0x7f74181bc7d0>
-
take_action_compute(client, parsed_args)
-
take_action_network(client, parsed_args)
openstackclient.network.v2.ip_availability module
IP Availability Info implementations
-
class openstackclient.network.v2.ip_availability.ListIPAvailability(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Lister
List IP availability for network
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741771fad0>
-
take_action(parsed_args)
-
class openstackclient.network.v2.ip_availability.ShowIPAvailability(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Show network IP availability details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741771f890>
-
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
Create new network
-
log = <logging.Logger object at 0x7f7416f4cc50>
-
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 at 0x7f7416f4c0d0>
-
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 at 0x7f7416f4cad0>
-
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 at 0x7f741ab0c950>
-
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 at 0x7f741ab0cbd0>
-
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 at 0x7f74170d9a90>
-
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 at 0x7f74170d9910>
-
take_action(parsed_args)
-
class openstackclient.network.v2.network_agent.SetNetworkAgent(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Set network agent properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f74171bf350>
-
take_action(parsed_args)
-
class openstackclient.network.v2.network_agent.ShowNetworkAgent(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display network agent details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f74171bfa10>
-
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 at 0x7f741799dd50>
-
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 at 0x7f741799d390>
-
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 at 0x7f741799de10>
-
take_action(parsed_args)
-
class openstackclient.network.v2.network_rbac.SetNetworkRBAC(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Set network RBAC policy properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741799d290>
-
take_action(parsed_args)
-
class openstackclient.network.v2.network_rbac.ShowNetworkRBAC(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display network RBAC policy details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741795cc10>
-
take_action(parsed_args)
openstackclient.network.v2.network_segment module
Network segment action implementations
-
class openstackclient.network.v2.network_segment.ListNetworkSegment(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Lister
List network segments
- (Caution: This is a beta command and subject to change.
- Use global option –os-beta-command to enable
this command)
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7416edfb10>
-
take_action(parsed_args)
-
class openstackclient.network.v2.network_segment.ShowNetworkSegment(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display network segment details
- (Caution: This is a beta command and subject to change.
- Use global option –os-beta-command to enable
this command)
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7416edf910>
-
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 at 0x7f74169a3dd0>
-
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 at 0x7f74169a31d0>
-
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 at 0x7f74169a3b50>
-
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 at 0x7f7416947790>
-
take_action(parsed_args)
-
class openstackclient.network.v2.port.ShowPort(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display port details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7416947c90>
-
take_action(parsed_args)
-
class openstackclient.network.v2.port.UnsetPort(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Unset port properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7416947190>
-
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 at 0x7f741650d490>
-
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 at 0x7f74164ed650>
-
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 at 0x7f7416515090>
-
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 at 0x7f7416515250>
-
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 at 0x7f74164ad350>
-
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 at 0x7f74164ad2d0>
-
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 at 0x7f74164ade90>
-
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 at 0x7f74173647d0>
-
take_action(parsed_args)
-
class openstackclient.network.v2.router.ShowRouter(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display router details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7417364290>
-
take_action(parsed_args)
-
class openstackclient.network.v2.router.UnsetRouter(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Unset router properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f7417364190>
-
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 at 0x7f7417315bd0>
-
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 at 0x7f7417315990>
-
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 at 0x7f7416c69d50>
-
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 at 0x7f7416c69810>
-
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 at 0x7f7416c69210>
-
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 at 0x7f74160fdad0>
-
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 at 0x7f74160fdc10>
-
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 at 0x7f74160fde10>
-
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 at 0x7f74160fdfd0>
-
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 at 0x7f7415ea5f10>
-
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 at 0x7f7415e73050>
-
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 at 0x7f7415e73250>
-
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 at 0x7f7415e73450>
-
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 at 0x7f7415e73650>
-
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 at 0x7f7415e73850>
-
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 at 0x7f741744bc10>
-
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 at 0x7f741744bcd0>
-
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 at 0x7f741744b710>
-
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 at 0x7f741744b510>
-
take_action(parsed_args)
-
class openstackclient.network.v2.subnet_pool.ShowSubnetPool(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.ShowOne
Display subnet pool details
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741744b1d0>
-
take_action(parsed_args)
-
class openstackclient.network.v2.subnet_pool.UnsetSubnetPool(app, app_args, cmd_name=None)
Bases: osc_lib.command.command.Command
Unset subnet pool properties
-
get_parser(prog_name)
-
log = <logging.Logger object at 0x7f741744bad0>
-
take_action(parsed_args)
Module contents