openstackclient.network.v2 package

Submodules

openstackclient.network.v2.address_group module

Address group action implementations

class openstackclient.network.v2.address_group.CreateAddressGroup(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.CreateAddressGroup (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.address_group.DeleteAddressGroup(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.DeleteAddressGroup (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.address_group.ListAddressGroup(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.ListAddressGroup (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.address_group.SetAddressGroup(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.SetAddressGroup (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.address_group.ShowAddressGroup(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.ShowAddressGroup (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.address_group.UnsetAddressGroup(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_group.UnsetAddressGroup (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.address_scope module

Address scope action implementations

class openstackclient.network.v2.address_scope.CreateAddressScope(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_scope.CreateAddressScope (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.address_scope.DeleteAddressScope(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_scope.DeleteAddressScope (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.address_scope.ListAddressScope(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_scope.ListAddressScope (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.address_scope.SetAddressScope(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_scope.SetAddressScope (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.address_scope.ShowAddressScope(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.address_scope.ShowAddressScope (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.default_security_group_rule module

Default Security Group Rule action implementations

class openstackclient.network.v2.default_security_group_rule.CreateDefaultSecurityGroupRule(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

Add a new security group rule to the default security group template.

These rules will be applied to the default security groups created for any new project. They will not be applied to any existing default security groups.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.default_security_group_rule.CreateDefaultSecurityGroupRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.default_security_group_rule.DeleteDefaultSecurityGroupRule(app, app_args, cmd_name=None)

Bases: Command

Remove security group rule(s) from the default security group template.

These rules will not longer be applied to the default security groups created for any new project. They will not be removed from any existing default security groups.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.default_security_group_rule.DeleteDefaultSecurityGroupRule (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.default_security_group_rule.ListDefaultSecurityGroupRule(app, app_args, cmd_name=None)

Bases: Lister

List security group rules used for new default security groups.

This shows the rules that will be added to any new default security groups created. These rules may differ for the rules present on existing default security groups.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.default_security_group_rule.ListDefaultSecurityGroupRule (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.default_security_group_rule.ShowDefaultSecurityGroupRule(app, app_args, cmd_name=None)

Bases: ShowOne

Show a security group rule used for new default security groups.

This shows a rule that will be added to any new default security groups created. This rule may not be present on existing default security groups.

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.default_security_group_rule.ShowDefaultSecurityGroupRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.floating_ip module

IP Floating action implementations

class openstackclient.network.v2.floating_ip.CreateFloatingIP(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne, NeutronCommandWithExtraArgs

log = <Logger openstackclient.network.v2.floating_ip.CreateFloatingIP (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.floating_ip.DeleteFloatingIP(app, app_args, cmd_name=None)

Bases: NetworkAndComputeDelete

log = <Logger openstackclient.network.v2.floating_ip.DeleteFloatingIP (WARNING)>
r = None
resource = 'floating_ip'
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.floating_ip.ListFloatingIP(app, app_args, cmd_name=None)

Bases: NetworkAndComputeLister

log = <Logger openstackclient.network.v2.floating_ip.ListFloatingIP (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.floating_ip.SetFloatingIP(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip.SetFloatingIP (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.floating_ip.ShowFloatingIP(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne

log = <Logger openstackclient.network.v2.floating_ip.ShowFloatingIP (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.floating_ip.UnsetFloatingIP(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip.UnsetFloatingIP (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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: NetworkAndComputeLister

log = <Logger openstackclient.network.v2.floating_ip_pool.ListFloatingIPPool (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

openstackclient.network.v2.floating_ip_port_forwarding module

Floating IP Port Forwarding action implementations

class openstackclient.network.v2.floating_ip_port_forwarding.CreateFloatingIPPortForwarding(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip_port_forwarding.CreateFloatingIPPortForwarding (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.floating_ip_port_forwarding.DeleteFloatingIPPortForwarding(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip_port_forwarding.DeleteFloatingIPPortForwarding (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.floating_ip_port_forwarding.ListFloatingIPPortForwarding(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip_port_forwarding.ListFloatingIPPortForwarding (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.floating_ip_port_forwarding.SetFloatingIPPortForwarding(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip_port_forwarding.SetFloatingIPPortForwarding (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.floating_ip_port_forwarding.ShowFloatingIPPortForwarding(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.floating_ip_port_forwarding.ShowFloatingIPPortForwarding (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.floating_ip_port_forwarding.validate_and_assign_port_ranges(parsed_args, attrs)
openstackclient.network.v2.floating_ip_port_forwarding.validate_port(port)
openstackclient.network.v2.floating_ip_port_forwarding.validate_ports_diff(ports)
openstackclient.network.v2.floating_ip_port_forwarding.validate_ports_match(internal_ports, external_ports)

openstackclient.network.v2.ip_availability module

IP Availability Info implementations

class openstackclient.network.v2.ip_availability.ListIPAvailability(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ip_availability.ListIPAvailability (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.ip_availability.ShowIPAvailability(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ip_availability.ShowIPAvailability (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.l3_conntrack_helper module

L3 Conntrack Helper action implementations

class openstackclient.network.v2.l3_conntrack_helper.CreateConntrackHelper(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.l3_conntrack_helper.CreateConntrackHelper (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.l3_conntrack_helper.DeleteConntrackHelper(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.l3_conntrack_helper.DeleteConntrackHelper (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.l3_conntrack_helper.ListConntrackHelper(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.l3_conntrack_helper.ListConntrackHelper (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.l3_conntrack_helper.SetConntrackHelper(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.l3_conntrack_helper.SetConntrackHelper (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.l3_conntrack_helper.ShowConntrackHelper(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.l3_conntrack_helper.ShowConntrackHelper (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.local_ip module

Node Local IP action implementations

class openstackclient.network.v2.local_ip.CreateLocalIP(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip.CreateLocalIP (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.local_ip.DeleteLocalIP(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip.DeleteLocalIP (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.local_ip.ListLocalIP(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip.ListLocalIP (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.local_ip.SetLocalIP(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip.SetLocalIP (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.local_ip.ShowLocalIP(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip.ShowLocalIP (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.local_ip_association module

Node Local IP action implementations

class openstackclient.network.v2.local_ip_association.CreateLocalIPAssociation(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip_association.CreateLocalIPAssociation (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.local_ip_association.DeleteLocalIPAssociation(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip_association.DeleteLocalIPAssociation (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.local_ip_association.ListLocalIPAssociation(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.local_ip_association.ListLocalIPAssociation (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

openstackclient.network.v2.ndp_proxy module

Router NDP proxy action implementations

class openstackclient.network.v2.ndp_proxy.CreateNDPProxy(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ndp_proxy.CreateNDPProxy (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.ndp_proxy.DeleteNDPProxy(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ndp_proxy.DeleteNDPProxy (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.ndp_proxy.ListNDPProxy(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ndp_proxy.ListNDPProxy (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.ndp_proxy.SetNDPProxy(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ndp_proxy.SetNDPProxy (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.ndp_proxy.ShowNDPProxy(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.ndp_proxy.ShowNDPProxy (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network module

Network action implementations

class openstackclient.network.v2.network.AdminStateColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network.CreateNetwork(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne, NeutronCommandWithExtraArgs

log = <Logger openstackclient.network.v2.network.CreateNetwork (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_compute(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.network.DeleteNetwork(app, app_args, cmd_name=None)

Bases: NetworkAndComputeDelete

log = <Logger openstackclient.network.v2.network.DeleteNetwork (WARNING)>
r = None
resource = 'network'
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.network.ListNetwork(app, app_args, cmd_name=None)

Bases: NetworkAndComputeLister

log = <Logger openstackclient.network.v2.network.ListNetwork (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.network.RouterExternalColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network.SetNetwork(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network.SetNetwork (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network.ShowNetwork(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne

log = <Logger openstackclient.network.v2.network.ShowNetwork (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.network.UnsetNetwork(app, app_args, cmd_name=None)

Bases: NeutronUnsetCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network.UnsetNetwork (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.network_agent module

Network agent action implementations

class openstackclient.network.v2.network_agent.AddNetworkToAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.AddNetworkToAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.AddRouterToAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.AddRouterToAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.AdminStateColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network_agent.AliveColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network_agent.DeleteNetworkAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.DeleteNetworkAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.ListNetworkAgent(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.ListNetworkAgent (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_agent.RemoveNetworkFromAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.RemoveNetworkFromAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.RemoveRouterFromAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.RemoveRouterFromAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.SetNetworkAgent(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.SetNetworkAgent (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_agent.ShowNetworkAgent(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_agent.ShowNetworkAgent (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_auto_allocated_topology module

Auto-allocated Topology Implementations

class openstackclient.network.v2.network_auto_allocated_topology.CreateAutoAllocatedTopology(app, app_args, cmd_name=None)

Bases: ShowOne

check_resource_topology(client, parsed_args)
get_parser(prog_name)

Return an argparse.ArgumentParser.

get_topology(client, parsed_args)
log = <Logger openstackclient.network.v2.network_auto_allocated_topology.CreateAutoAllocatedTopology (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_auto_allocated_topology.DeleteAutoAllocatedTopology(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_auto_allocated_topology.DeleteAutoAllocatedTopology (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.network_flavor module

Flavor action implementations

class openstackclient.network.v2.network_flavor.AddNetworkFlavorToProfile(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.AddNetworkFlavorToProfile (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor.CreateNetworkFlavor(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.CreateNetworkFlavor (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_flavor.DeleteNetworkFlavor(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.DeleteNetworkFlavor (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor.ListNetworkFlavor(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.network.v2.network_flavor.ListNetworkFlavor (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_flavor.RemoveNetworkFlavorFromProfile(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.RemoveNetworkFlavorFromProfile (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor.SetNetworkFlavor(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.SetNetworkFlavor (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor.ShowNetworkFlavor(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor.ShowNetworkFlavor (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_flavor_profile module

class openstackclient.network.v2.network_flavor_profile.CreateNetworkFlavorProfile(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor_profile.CreateNetworkFlavorProfile (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_flavor_profile.DeleteNetworkFlavorProfile(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor_profile.DeleteNetworkFlavorProfile (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor_profile.ListNetworkFlavorProfile(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.network.v2.network_flavor_profile.ListNetworkFlavorProfile (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_flavor_profile.SetNetworkFlavorProfile(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor_profile.SetNetworkFlavorProfile (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_flavor_profile.ShowNetworkFlavorProfile(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_flavor_profile.ShowNetworkFlavorProfile (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_meter module

Metering Label Implementations

class openstackclient.network.v2.network_meter.CreateMeter(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter.CreateMeter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_meter.DeleteMeter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter.DeleteMeter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_meter.ListMeter(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.network.v2.network_meter.ListMeter (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_meter.ShowMeter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter.ShowMeter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

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: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter_rule.CreateMeterRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_meter_rule.DeleteMeterRule(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter_rule.DeleteMeterRule (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_meter_rule.ListMeterRule(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.network.v2.network_meter_rule.ListMeterRule (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_meter_rule.ShowMeterRule(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_meter_rule.ShowMeterRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_qos_policy module

class openstackclient.network.v2.network_qos_policy.CreateNetworkQosPolicy(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_policy.CreateNetworkQosPolicy (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_qos_policy.DeleteNetworkQosPolicy(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_policy.DeleteNetworkQosPolicy (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_qos_policy.ListNetworkQosPolicy(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_policy.ListNetworkQosPolicy (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_qos_policy.RulesColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network_qos_policy.SetNetworkQosPolicy(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_policy.SetNetworkQosPolicy (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_qos_policy.ShowNetworkQosPolicy(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_policy.ShowNetworkQosPolicy (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_qos_rule module

class openstackclient.network.v2.network_qos_rule.CreateNetworkQosRule(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule.CreateNetworkQosRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_qos_rule.DeleteNetworkQosRule(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule.DeleteNetworkQosRule (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_qos_rule.ListNetworkQosRule(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule.ListNetworkQosRule (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_qos_rule.SetNetworkQosRule(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule.SetNetworkQosRule (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_qos_rule.ShowNetworkQosRule(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule.ShowNetworkQosRule (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_qos_rule_type module

class openstackclient.network.v2.network_qos_rule_type.ListNetworkQosRuleType(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule_type.ListNetworkQosRuleType (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_qos_rule_type.ShowNetworkQosRuleType(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_qos_rule_type.ShowNetworkQosRuleType (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_rbac module

RBAC action implementations

class openstackclient.network.v2.network_rbac.CreateNetworkRBAC(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_rbac.CreateNetworkRBAC (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_rbac.DeleteNetworkRBAC(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_rbac.DeleteNetworkRBAC (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_rbac.ListNetworkRBAC(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_rbac.ListNetworkRBAC (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_rbac.SetNetworkRBAC(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_rbac.SetNetworkRBAC (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_rbac.ShowNetworkRBAC(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_rbac.ShowNetworkRBAC (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_segment module

Network segment action implementations

class openstackclient.network.v2.network_segment.CreateNetworkSegment(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment.CreateNetworkSegment (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_segment.DeleteNetworkSegment(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment.DeleteNetworkSegment (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_segment.ListNetworkSegment(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment.ListNetworkSegment (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_segment.SetNetworkSegment(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment.SetNetworkSegment (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_segment.ShowNetworkSegment(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment.ShowNetworkSegment (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_segment_range module

Network segment action implementations

class openstackclient.network.v2.network_segment_range.CreateNetworkSegmentRange(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment_range.CreateNetworkSegmentRange (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_segment_range.DeleteNetworkSegmentRange(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment_range.DeleteNetworkSegmentRange (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_segment_range.ListNetworkSegmentRange(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment_range.ListNetworkSegmentRange (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_segment_range.SetNetworkSegmentRange(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment_range.SetNetworkSegmentRange (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_segment_range.ShowNetworkSegmentRange(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_segment_range.ShowNetworkSegmentRange (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

openstackclient.network.v2.network_service_provider module

Network Service Providers Implementation

class openstackclient.network.v2.network_service_provider.ListNetworkServiceProvider(app, app_args, cmd_name=None)

Bases: Lister

log = <Logger openstackclient.network.v2.network_service_provider.ListNetworkServiceProvider (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

openstackclient.network.v2.network_trunk module

Network trunk and subports action implementations

class openstackclient.network.v2.network_trunk.AdminStateColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.network_trunk.CreateNetworkTrunk(app, app_args, cmd_name=None)

Bases: ShowOne

Create a network trunk for a given project

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.CreateNetworkTrunk (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_trunk.DeleteNetworkTrunk(app, app_args, cmd_name=None)

Bases: Command

Delete a given network trunk

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.DeleteNetworkTrunk (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_trunk.ListNetworkSubport(app, app_args, cmd_name=None)

Bases: Lister

List all subports for a given network trunk

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.ListNetworkSubport (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_trunk.ListNetworkTrunk(app, app_args, cmd_name=None)

Bases: Lister

List all network trunks

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.ListNetworkTrunk (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.network_trunk.SetNetworkTrunk(app, app_args, cmd_name=None)

Bases: Command

Set network trunk properties

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.SetNetworkTrunk (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.network_trunk.ShowNetworkTrunk(app, app_args, cmd_name=None)

Bases: ShowOne

Show information of a given network trunk

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.ShowNetworkTrunk (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.network_trunk.UnsetNetworkTrunk(app, app_args, cmd_name=None)

Bases: Command

Unset subports from a given network trunk

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.network_trunk.UnsetNetworkTrunk (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.port module

Port action implementations

class openstackclient.network.v2.port.AdminStateColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.port.CreatePort(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.CreatePort (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.port.DeletePort(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.DeletePort (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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: 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: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.ListPort (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.port.SetPort(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.SetPort (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.port.ShowPort(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.ShowPort (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.port.UnsetPort(app, app_args, cmd_name=None)

Bases: NeutronUnsetCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.port.UnsetPort (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.router module

Router action implementations

class openstackclient.network.v2.router.AddExtraRoutesToRouter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.AddExtraRoutesToRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.AddGatewayToRouter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.AddGatewayToRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.AddPortToRouter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.AddPortToRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.AddSubnetToRouter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.AddSubnetToRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.AdminStateColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.router.CreateRouter(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.CreateRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.DeleteRouter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.DeleteRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.ListRouter(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.ListRouter (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.router.RemoveExtraRoutesFromRouter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.RemoveExtraRoutesFromRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.RemoveGatewayFromRouter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.RemoveGatewayFromRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.RemovePortFromRouter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.RemovePortFromRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.RemoveSubnetFromRouter(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.RemoveSubnetFromRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.RouterInfoColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.router.RoutesColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.router.SetRouter(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.SetRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.router.ShowRouter(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.ShowRouter (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.router.UnsetRouter(app, app_args, cmd_name=None)

Bases: NeutronUnsetCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.router.UnsetRouter (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

openstackclient.network.v2.router.is_multiple_gateways_supported(n_client)

openstackclient.network.v2.security_group module

Security Group action implementations

class openstackclient.network.v2.security_group.ComputeSecurityGroupRulesColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.security_group.CreateSecurityGroup(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne, NeutronCommandWithExtraArgs

log = <Logger openstackclient.network.v2.security_group.CreateSecurityGroup (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group.DeleteSecurityGroup(app, app_args, cmd_name=None)

Bases: NetworkAndComputeDelete

log = <Logger openstackclient.network.v2.security_group.DeleteSecurityGroup (WARNING)>
r = None
resource = 'group'
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group.ListSecurityGroup(app, app_args, cmd_name=None)

Bases: NetworkAndComputeLister

FIELDS_TO_RETRIEVE = ['id', 'name', 'description', 'project_id', 'tags']
log = <Logger openstackclient.network.v2.security_group.ListSecurityGroup (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_compute(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group.NetworkSecurityGroupRulesColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.security_group.SetSecurityGroup(app, app_args, cmd_name=None)

Bases: NetworkAndComputeCommand, NeutronCommandWithExtraArgs

log = <Logger openstackclient.network.v2.security_group.SetSecurityGroup (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group.ShowSecurityGroup(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne

log = <Logger openstackclient.network.v2.security_group.ShowSecurityGroup (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group.UnsetSecurityGroup(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.security_group.UnsetSecurityGroup (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

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: NetworkAndComputeShowOne, NeutronCommandWithExtraArgs

log = <Logger openstackclient.network.v2.security_group_rule.CreateSecurityGroupRule (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group_rule.DeleteSecurityGroupRule(app, app_args, cmd_name=None)

Bases: NetworkAndComputeDelete

log = <Logger openstackclient.network.v2.security_group_rule.DeleteSecurityGroupRule (WARNING)>
r = None
resource = 'rule'
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group_rule.ListSecurityGroupRule(app, app_args, cmd_name=None)

Bases: NetworkAndComputeLister

log = <Logger openstackclient.network.v2.security_group_rule.ListSecurityGroupRule (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

update_parser_compute(parser)

Default is no updates to parser.

update_parser_network(parser)

Default is no updates to parser.

class openstackclient.network.v2.security_group_rule.ShowSecurityGroupRule(app, app_args, cmd_name=None)

Bases: NetworkAndComputeShowOne

log = <Logger openstackclient.network.v2.security_group_rule.ShowSecurityGroupRule (WARNING)>
take_action_compute(client, parsed_args)

Override to do something useful.

take_action_network(client, parsed_args)

Override to do something useful.

update_parser_common(parser)

Default is no updates to parser.

openstackclient.network.v2.subnet module

Subnet action implementations

class openstackclient.network.v2.subnet.AllocationPoolsColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.subnet.CreateSubnet(app, app_args, cmd_name=None)

Bases: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.CreateSubnet (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.subnet.DeleteSubnet(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.DeleteSubnet (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.subnet.HostRoutesColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

class openstackclient.network.v2.subnet.ListSubnet(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.ListSubnet (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.subnet.SetSubnet(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.SetSubnet (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.subnet.ShowSubnet(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.ShowSubnet (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.subnet.UnsetSubnet(app, app_args, cmd_name=None)

Bases: NeutronUnsetCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet.UnsetSubnet (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.subnet.UnsortedListColumn(value)

Bases: FormattableColumn

human_readable()

Return a basic human readable version of the data.

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: ShowOne, NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.CreateSubnetPool (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.subnet_pool.DeleteSubnetPool(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.DeleteSubnetPool (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.subnet_pool.ListSubnetPool(app, app_args, cmd_name=None)

Bases: Lister

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.ListSubnetPool (WARNING)>
take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class openstackclient.network.v2.subnet_pool.SetSubnetPool(app, app_args, cmd_name=None)

Bases: NeutronCommandWithExtraArgs

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.SetSubnetPool (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

class openstackclient.network.v2.subnet_pool.ShowSubnetPool(app, app_args, cmd_name=None)

Bases: ShowOne

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.ShowSubnetPool (WARNING)>
take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

class openstackclient.network.v2.subnet_pool.UnsetSubnetPool(app, app_args, cmd_name=None)

Bases: Command

get_parser(prog_name)

Return an argparse.ArgumentParser.

log = <Logger openstackclient.network.v2.subnet_pool.UnsetSubnetPool (WARNING)>
take_action(parsed_args)

Override to do something useful.

The returned value will be returned by the program.

Module contents