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 0x7f75a149b210>
-
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 0x7f75a149b310>
-
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 0x7f75a149b410>
-
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 0x7f75a149b5d0>
-
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 0x7f75a149b790>
-
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 0x7f75a11d4250>
-
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 0x7f75a27952d0>
-
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 0x7f75a11d4790>
-
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 0x7f75a27952d0>
-
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 0x7f75a0f38ed0>
-
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 0x7f75a27952d0>
-
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 0x7f75a0f382d0>
-
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 0x7f75a27952d0>
-
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 0x7f75a0ac5f50>
-
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 0x7f75a27952d0>
-
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 0x7f75a12f4790>
-
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 0x7f75a12f41d0>
-
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 0x7f75a493c210>
-
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 0x7f75a2caf210>
-
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 0x7f75a1fa1f50>
-
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 0x7f75a1fa1550>
-
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 0x7f75a18458d0>
-
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 0x7f75a2d1ffd0>
-
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 0x7f75a2674e50>
-
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 0x7f75a2674fd0>
-
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 0x7f75a2674ad0>
-
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 0x7f75a12ca8d0>
-
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 0x7f75a12ca550>
-
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 0x7f75a12cabd0>
-
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 0x7f75a12ca410>
-
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 0x7f75a12ca6d0>
-
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 0x7f75a0e7f5d0>
-
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 0x7f75a0e7ff50>
-
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 0x7f75a0a03ad0>
-
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 0x7f75a0a038d0>
-
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 0x7f75a0a03450>
-
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 0x7f75a0a5c490>
-
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 0x7f75a0a5c190>
-
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 0x7f75a0a5c0d0>
-
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 0x7f75a06f4790>
-
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 0x7f75a0b078d0>
-
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 0x7f75a0b07710>
-
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 0x7f75a0d5a1d0>
-
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 0x7f75a0ab0690>
-
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 0x7f75a0b03cd0>
-
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 0x7f75a28fb410>
-
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 0x7f75a0b6fdd0>
-
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 0x7f75a0d3dbd0>
-
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 0x7f75a0d3ddd0>
-
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 0x7f75a19ec1d0>
-
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 0x7f75a1430790>
-
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 0x7f75a32c28d0>
-
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 0x7f75a1ef9fd0>
-
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 0x7f75a1ef9ad0>
-
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 0x7f75a04aa610>
-
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 0x7f75a04aa750>
-
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 0x7f75a04aa910>
-
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 0x7f75a04aab10>
-
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 0x7f75a02cd950>
-
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 0x7f75a02cda10>
-
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 0x7f75a02cdbd0>
-
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 0x7f75a02cdd50>
-
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 0x7f75a02cdf50>
-
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 0x7f75a02db190>
-
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 0x7f75a153e650>
-
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 0x7f75a153e390>
-
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 0x7f75a153e2d0>
-
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 0x7f75a153eb90>
-
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 0x7f75a153efd0>
-
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 0x7f75a153e5d0>
-
take_action(parsed_args)
Module contents