Hook to add global options
Returns a network proxy
Bases: object
Convenience methods for nova-network vs. neutron decisions.
A live environment detects which network type it is running and creates its parser with only the options relevant to that network type.
But the command classes are used for docs builds as well, and docs must present the options for both network types, often qualified accordingly.
Override to do something useful.
Override to do something useful.
Default is no updates to parser.
Default is no updates to parser.
Default is no updates to parser.
Bases: NetDetectionMixin
, Command
Network and Compute Command
Command class for commands that support implementation via the network or compute endpoint. Such commands have different implementations for take_action() and may even have different arguments.
Bases: NetworkAndComputeCommand
Network and Compute Delete
Delete class for commands that support implementation via the network or compute endpoint. Such commands have different implementations for take_action() and may even have different arguments. This class supports bulk deletion, and error handling following the rules in doc/source/command-errors.rst.
Override to do something useful.
The returned value will be returned by the program.
Bases: NetDetectionMixin
, Lister
Network and Compute Lister
Lister class for commands that support implementation via the network or compute endpoint. Such commands have different implementations for take_action() and may even have different arguments.
Bases: NetDetectionMixin
, ShowOne
Network and Compute ShowOne
ShowOne class for commands that support implementation via the network or compute endpoint. Such commands have different implementations for take_action() and may even have different arguments.
Return a two-part tuple with a tuple of column names and a tuple of values.
Bases: Command
Create and Update commands with additional extra properties.
Extra properties can be passed to the command and are then send to the Neutron as given to the command.
Return an argparse.ArgumentParser
.
Bases: NeutronCommandWithExtraArgs
Convert key1:value1;key2:value2;… string into dictionary.
strdict – string in the form of key1:value1;key2:value2
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.