Availability Zone action implementations
Bases: osc_lib.command.command.Lister
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Manage access to the clients, including authenticating when needed.
Bases: osc_lib.clientmanager.ClientManager
Manages access to API clients, including authentication
Wrap osc_lib’s ClientManager to maintain compatibility for the existing plugin V2 interface. Some currently private attributes become public in osc-lib so we need to maintain a transition period.
Check if Compute endpoint is enabled
Check if the network endpoint is enabled
Check if volume endpoint is enabled
Set up authentication
Add plugin options to the parser
Find plugin entry points
Configuration action implementations
Bases: osc_lib.command.command.ShowOne
Return an argparse.ArgumentParser
.
Return a two-part tuple with a tuple of column names and a tuple of values.
Extension action implementations
Bases: osc_lib.command.command.Lister
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Bases: osc_lib.command.command.ShowOne
Return an argparse.ArgumentParser
.
Return a two-part tuple with a tuple of column names and a tuple of values.
Limits Action Implementation
Bases: osc_lib.command.command.Lister
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Module action implementation
Bases: osc_lib.command.command.Lister
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Bases: osc_lib.command.command.ShowOne
Return an argparse.ArgumentParser
.
Return a two-part tuple with a tuple of column names and a tuple of values.
Bases: openstackclient.common.progressbar._ProgressBarBase
A file wrapper with a progress bar.
The file wrapper shows and advances a progress bar whenever the wrapped file’s read method is called.
Bases: osc_lib.command.command.Command
Return an argparse.ArgumentParser
.
Override to do something useful.
The returned value will be returned by the program.
Ask user Y/N question
msg (str) – question text
default (bool) – default value
User choice
Bases: osc_lib.command.command.Command
Return an argparse.ArgumentParser
.
Override to do something useful.
The returned value will be returned by the program.
Quota action implementations
Bases: object
Bases: osc_lib.command.command.Lister
, openstackclient.common.quota.BaseQuota
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Bases: openstackclient.network.common.NetDetectionMixin
, osc_lib.command.command.Command
Return an argparse.ArgumentParser
.
Override to do something useful.
The returned value will be returned by the program.
Bases: osc_lib.command.command.ShowOne
, openstackclient.common.quota.BaseQuota
Return an argparse.ArgumentParser
.
Return a two-part tuple with a tuple of column names and a tuple of values.
Get and filter the display and attribute columns for an SDK resource.
Common utility function for preparing the output of an OSC show command. Some of the columns may need to get renamed, others made invisible.
sdk_resource – An SDK resource
osc_column_map – A hash of mappings for display column names
invisible_columns – A list of invisible column names
Two tuples containing the names of the display and attribute columns
Versions Action Implementation
Bases: osc_lib.command.command.Lister
Return an argparse.ArgumentParser
.
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.