glanceclient.v2.shell module

glanceclient.v2.shell.do_explain(gc, args)

Describe a specific model.

glanceclient.v2.shell.do_image_create(gc, args)

Create a new image.

glanceclient.v2.shell.do_image_create_via_import(gc, args)

EXPERIMENTAL: Create a new image via image import.

Use the interoperable image import workflow to create an image. This command is designed to be backward compatible with the current image-create command, so its behavior is as follows:

  • If an import-method is specified (either on the command line or through the OS_IMAGE_IMPORT_METHOD environment variable, then you must provide a data source appropriate to that method (for example, –file for glance-direct, or –uri for web-download).

  • If no import-method is specified AND you provide either a –file or data to stdin, the command will assume you are using the ‘glance-direct’ import-method and will act accordingly.

  • If no import-method is specified and no data is supplied via –file or stdin, the command will simply create an image record in ‘queued’ status.

glanceclient.v2.shell.do_image_deactivate(gc, args)

Deactivate specified image.

glanceclient.v2.shell.do_image_delete(gc, args)

Delete specified image.

glanceclient.v2.shell.do_image_download(gc, args)

Download a specific image.

glanceclient.v2.shell.do_image_import(gc, args)

Initiate the image import taskflow.

glanceclient.v2.shell.do_image_list(gc, args)

List images you can access.

glanceclient.v2.shell.do_image_reactivate(gc, args)

Reactivate specified image.

glanceclient.v2.shell.do_image_show(gc, args)

Describe a specific image.

glanceclient.v2.shell.do_image_stage(gc, args)

Upload data for a specific image to staging.

glanceclient.v2.shell.do_image_tag_delete(gc, args)

Delete the tag associated with the given image.

glanceclient.v2.shell.do_image_tag_update(gc, args)

Update an image with the given tag.

glanceclient.v2.shell.do_image_update(gc, args)

Update an existing image.

glanceclient.v2.shell.do_image_upload(gc, args)

Upload data for a specific image.

glanceclient.v2.shell.do_import_info(gc, args)

Print import methods available from Glance.

glanceclient.v2.shell.do_location_add(gc, args)

Add a location (and related metadata) to an image.

glanceclient.v2.shell.do_location_delete(gc, args)

Remove locations (and related metadata) from an image.

glanceclient.v2.shell.do_location_update(gc, args)

Update metadata of an image’s location.

glanceclient.v2.shell.do_md_namespace_create(gc, args)

Create a new metadata definitions namespace.

glanceclient.v2.shell.do_md_namespace_delete(gc, args)

Delete specified metadata definitions namespace with its contents.

glanceclient.v2.shell.do_md_namespace_import(gc, args)

Import a metadata definitions namespace from file or standard input.

glanceclient.v2.shell.do_md_namespace_list(gc, args)

List metadata definitions namespaces.

glanceclient.v2.shell.do_md_namespace_objects_delete(gc, args)

Delete all metadata definitions objects inside a specific namespace.

glanceclient.v2.shell.do_md_namespace_properties_delete(gc, args)

Delete all metadata definitions property inside a specific namespace.

glanceclient.v2.shell.do_md_namespace_resource_type_list(gc, args)

List resource types associated to specific namespace.

glanceclient.v2.shell.do_md_namespace_show(gc, args)

Describe a specific metadata definitions namespace.

Lists also the namespace properties, objects and resource type associations.

glanceclient.v2.shell.do_md_namespace_tags_delete(gc, args)

Delete all metadata definitions tags inside a specific namespace.

glanceclient.v2.shell.do_md_namespace_update(gc, args)

Update an existing metadata definitions namespace.

glanceclient.v2.shell.do_md_object_create(gc, args)

Create a new metadata definitions object inside a namespace.

glanceclient.v2.shell.do_md_object_delete(gc, args)

Delete a specific metadata definitions object inside a namespace.

glanceclient.v2.shell.do_md_object_list(gc, args)

List metadata definitions objects inside a specific namespace.

glanceclient.v2.shell.do_md_object_property_show(gc, args)

Describe a specific metadata definitions property inside an object.

glanceclient.v2.shell.do_md_object_show(gc, args)

Describe a specific metadata definitions object inside a namespace.

glanceclient.v2.shell.do_md_object_update(gc, args)

Update metadata definitions object inside a namespace.

glanceclient.v2.shell.do_md_property_create(gc, args)

Create a new metadata definitions property inside a namespace.

glanceclient.v2.shell.do_md_property_delete(gc, args)

Delete a specific metadata definitions property inside a namespace.

glanceclient.v2.shell.do_md_property_list(gc, args)

List metadata definitions properties inside a specific namespace.

glanceclient.v2.shell.do_md_property_show(gc, args)

Describe a specific metadata definitions property inside a namespace.

glanceclient.v2.shell.do_md_property_update(gc, args)

Update metadata definitions property inside a namespace.

glanceclient.v2.shell.do_md_resource_type_associate(gc, args)

Associate resource type with a metadata definitions namespace.

glanceclient.v2.shell.do_md_resource_type_deassociate(gc, args)

Deassociate resource type with a metadata definitions namespace.

glanceclient.v2.shell.do_md_resource_type_list(gc, args)

List available resource type names.

glanceclient.v2.shell.do_md_tag_create(gc, args)

Add a new metadata definitions tag inside a namespace.

glanceclient.v2.shell.do_md_tag_create_multiple(gc, args)

Create new metadata definitions tags inside a namespace.

glanceclient.v2.shell.do_md_tag_delete(gc, args)

Delete a specific metadata definitions tag inside a namespace.

glanceclient.v2.shell.do_md_tag_list(gc, args)

List metadata definitions tags inside a specific namespace.

glanceclient.v2.shell.do_md_tag_show(gc, args)

Describe a specific metadata definitions tag inside a namespace.

glanceclient.v2.shell.do_md_tag_update(gc, args)

Rename a metadata definitions tag inside a namespace.

glanceclient.v2.shell.do_member_create(gc, args)

Create member for a given image.

glanceclient.v2.shell.do_member_delete(gc, args)

Delete image member.

glanceclient.v2.shell.do_member_list(gc, args)

Describe sharing permissions by image.

glanceclient.v2.shell.do_member_update(gc, args)

Update the status of a member for a given image.

glanceclient.v2.shell.do_stores_delete(gc, args)

Delete image from specific store.

glanceclient.v2.shell.do_stores_info(gc, args)

Print available backends from Glance.

glanceclient.v2.shell.do_task_create(gc, args)

Create a new task.

glanceclient.v2.shell.do_task_list(gc, args)

List tasks you can access.

glanceclient.v2.shell.do_task_show(gc, args)

Describe a specific task.

glanceclient.v2.shell.get_image_schema()
glanceclient.v2.shell.get_namespace_schema()
glanceclient.v2.shell.get_resource_type_schema()