openstackclient.image.v2 package¶
Submodules¶
openstackclient.image.v2.cache module¶
- class openstackclient.image.v2.cache.ClearCachedImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.cache.ClearCachedImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.cache.DeleteCachedImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.cache.DeleteCachedImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.cache.ListCachedImage(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.cache.ListCachedImage (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.image.v2.cache.QueueCachedImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.cache.QueueCachedImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
openstackclient.image.v2.image module¶
Image V2 Action Implementations
- class openstackclient.image.v2.image.AddProjectToImage(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.AddProjectToImage (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.image.CreateImage(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- deadopts = ('size', 'location', 'copy-from', 'checksum', 'store')¶
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.CreateImage (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.image.DeleteImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.DeleteImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.image.ImportImage(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.ImportImage (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.image.ListImage(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.ListImage (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.image.v2.image.ListImageProjects(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.ListImageProjects (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.image.v2.image.RemoveProjectImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.RemoveProjectImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.image.SaveImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.SaveImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.image.SetImage(app, app_args, cmd_name=None)¶
Bases:
Command
- deadopts = ('visibility',)¶
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.SetImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.image.ShowImage(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.ShowImage (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.image.ShowProjectImage(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.ShowProjectImage (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.image.StageImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.StageImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.image.StoresInfo(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.StoresInfo (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.image.v2.image.UnsetImage(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.image.UnsetImage (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- openstackclient.image.v2.image.get_data_from_stdin()¶
openstackclient.image.v2.info module¶
openstackclient.image.v2.metadef_namespaces module¶
Image V2 Action Implementations
- class openstackclient.image.v2.metadef_namespaces.CreateMetadefNamespace(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_namespaces.CreateMetadefNamespace (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.metadef_namespaces.DeleteMetadefNamespace(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_namespaces.DeleteMetadefNamespace (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_namespaces.ListMetadefNamespace(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_namespaces.ListMetadefNamespace (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.image.v2.metadef_namespaces.SetMetadefNamespace(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_namespaces.SetMetadefNamespace (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_namespaces.ShowMetadefNamespace(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_namespaces.ShowMetadefNamespace (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
openstackclient.image.v2.metadef_objects module¶
Image V2 Action Implementations
- class openstackclient.image.v2.metadef_objects.CreateMetadefObjects(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.CreateMetadefObjects (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.metadef_objects.DeleteMetadefObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.DeleteMetadefObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_objects.ListMetadefObjects(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.ListMetadefObjects (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.image.v2.metadef_objects.SetMetadefObject(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.SetMetadefObject (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_objects.ShowMetadefObjectProperty(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.ShowMetadefObjectProperty (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.metadef_objects.ShowMetadefObjects(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_objects.ShowMetadefObjects (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
openstackclient.image.v2.metadef_properties module¶
- class openstackclient.image.v2.metadef_properties.CreateMetadefProperty(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_properties.CreateMetadefProperty (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.metadef_properties.DeleteMetadefProperty(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_properties.DeleteMetadefProperty (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_properties.ListMetadefProperties(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_properties.ListMetadefProperties (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.image.v2.metadef_properties.SetMetadefProperty(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_properties.SetMetadefProperty (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_properties.ShowMetadefProperty(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_properties.ShowMetadefProperty (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
openstackclient.image.v2.metadef_resource_type_association module¶
- class openstackclient.image.v2.metadef_resource_type_association.CreateMetadefResourceTypeAssociation(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_resource_type_association.CreateMetadefResourceTypeAssociation (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.
- class openstackclient.image.v2.metadef_resource_type_association.DeleteMetadefResourceTypeAssociation(app, app_args, cmd_name=None)¶
Bases:
Command
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_resource_type_association.DeleteMetadefResourceTypeAssociation (WARNING)>¶
- take_action(parsed_args)¶
Override to do something useful.
The returned value will be returned by the program.
- class openstackclient.image.v2.metadef_resource_type_association.ListMetadefResourceTypeAssociations(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.metadef_resource_type_association.ListMetadefResourceTypeAssociations (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
openstackclient.image.v2.metadef_resource_types module¶
Image V2 Action Implementations
- class openstackclient.image.v2.metadef_resource_types.ListMetadefResourceTypes(app, app_args, cmd_name=None)¶
Bases:
Lister
- log = <Logger openstackclient.image.v2.metadef_resource_types.ListMetadefResourceTypes (WARNING)>¶
- take_action(parsed_args)¶
Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
openstackclient.image.v2.task module¶
- class openstackclient.image.v2.task.ListTask(app, app_args, cmd_name=None)¶
Bases:
Lister
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.task.ListTask (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.image.v2.task.ShowTask(app, app_args, cmd_name=None)¶
Bases:
ShowOne
- get_parser(prog_name)¶
Return an
argparse.ArgumentParser
.
- log = <Logger openstackclient.image.v2.task.ShowTask (WARNING)>¶
- take_action(parsed_args)¶
Return a two-part tuple with a tuple of column names and a tuple of values.