2017-06-13 15:55:33 -04:00
.. _command-structure:
2014-11-17 16:42:30 -06:00
=================
2013-01-31 19:30:25 -06:00
Command Structure
=================
2013-07-29 17:05:02 -05:00
OpenStackClient has a consistent and predictable format for all of its commands.
2013-01-31 19:30:25 -06:00
Commands take the form::
2013-12-05 13:23:44 -06:00
openstack [<global-options> ] <object-1> <action> [<object-2> ] [<command-arguments> ]
2013-07-29 17:05:02 -05:00
2016-06-03 16:20:42 +08:00
.. NOTE ::
All long options names begin with two dashes (`` -- `` ) and use a single dash
2014-05-15 09:05:37 -05:00
(`` - `` ) internally between words (`` --like-this `` ). Underscores (`` _ `` ) are
not used in option names.
2013-07-29 17:05:02 -05:00
Global Options
--------------
2013-12-05 13:23:44 -06:00
Global options are global in the sense that they apply to every command
invocation regardless of action to be performed. They include authentication
credentials and API version selection. Most global options have a corresponding
environment variable that may also be used to set the value. If both are
present, the command-line option takes priority. The environment variable
2014-05-15 09:05:37 -05:00
names are derived from the option name by dropping the leading dashes (`` -- `` ),
converting each embedded dash (`` - `` ) to an underscore (`` _ `` ), and converting
2013-12-05 13:23:44 -06:00
to upper case.
2013-07-29 17:05:02 -05:00
2014-05-15 09:05:37 -05:00
For example, the default value of `` --os-username `` can be set by defining
the environment variable `` OS_USERNAME `` .
2013-07-29 17:05:02 -05:00
Command Object(s) and Action
----------------------------
2013-01-31 19:30:25 -06:00
2013-12-05 13:23:44 -06:00
Commands consist of an object described by one or more words followed by
an action. Commands that require two objects have the primary object ahead
of the action and the secondary object after the action. Any positional
arguments identifying the objects shall appear in the same order as the
objects. In badly formed English it is expressed as "(Take) object1
(and perform) action (using) object2 (to it)."
2013-01-31 19:30:25 -06:00
2013-07-29 17:05:02 -05:00
::
<object-1> <action> <object-2>
2014-10-03 00:25:56 -04:00
Examples:
2013-07-29 17:05:02 -05:00
2014-10-03 00:25:56 -04:00
.. code-block :: bash
2013-07-29 17:05:02 -05:00
2014-10-03 00:25:56 -04:00
$ group add user <group> <user>
$ volume type list # 'volume type' is a two-word single object
2013-07-29 17:05:02 -05:00
Command Arguments and Options
-----------------------------
2013-12-05 13:23:44 -06:00
Each command may have its own set of options distinct from the global options.
They follow the same style as the global options and always appear between
the command and any positional arguments the command requires.
2013-01-31 19:30:25 -06:00
2014-09-06 14:32:47 -05:00
Objects
-------
The objects consist of one or more words to compose a unique name.
Occasionally when multiple APIs have a common name with common
overlapping purposes there will be options to select which object to use, or
the API resources will be merged, as in the `` quota `` object that has options
referring to both Compute and Volume quotas.
2015-01-08 02:22:31 -05:00
* `` access token `` : (**Identity** ) long-lived OAuth-based token
2016-05-07 16:00:19 +08:00
* `` address scope `` : (**Network** ) a scope of IPv4 or IPv6 addresses
2016-03-29 12:01:31 +08:00
* `` aggregate `` : (**Compute** ) a grouping of compute hosts
2016-03-25 08:06:32 -05:00
* `` availability zone `` : (**Compute** , **Network** , **Volume** ) a logical partition of hosts or block storage or network services
2014-11-17 22:59:57 -06:00
* `` catalog `` : (**Identity** ) service catalog
2016-02-25 15:28:53 +08:00
* `` command `` : (**Internal** ) installed commands in the OSC process
2016-03-25 08:06:32 -05:00
* `` compute agent `` : (**Compute** ) a cloud Compute agent available to a hypervisor
* `` compute service `` : (**Compute** ) a cloud Compute process running on a host
2016-06-03 16:20:42 +08:00
* `` configuration `` : (**Internal** ) OpenStack client configuration
2016-08-17 16:31:40 +08:00
* `` consistency group `` : (**Volume** ) a consistency group of volumes
2016-11-16 20:55:21 +08:00
* `` consistency group snapshot `` : (**Volume** ) a point-in-time copy of a consistency group
2014-11-17 17:52:37 -06:00
* `` console log `` : (**Compute** ) server console text dump
* `` console url `` : (**Compute** ) server remote console URL
2015-01-08 01:29:35 -05:00
* `` consumer `` : (**Identity** ) OAuth-based delegatee
2015-11-13 10:42:46 +08:00
* `` container `` : (**Object Storage** ) a grouping of objects
2016-05-14 13:22:13 -03:00
* `` credential `` : (**Identity** ) specific to identity providers
2014-12-31 09:54:21 -06:00
* `` domain `` : (**Identity** ) a grouping of projects
2015-10-08 10:56:23 +09:00
* `` ec2 credentials `` : (**Identity** ) AWS EC2-compatible credentials
2014-11-17 22:59:57 -06:00
* `` endpoint `` : (**Identity** ) the base URL used to contact a specific service
2016-01-15 10:25:41 -06:00
* `` extension `` : (**Compute** , **Identity** , **Network** , **Volume** ) OpenStack server API extensions
2015-01-06 02:29:56 -05:00
* `` federation protocol `` : (**Identity** ) the underlying protocol used while federating identities
2016-06-03 16:20:42 +08:00
* `` flavor `` : (**Compute** ) predefined server configurations: ram, root disk and so on
2016-04-07 14:30:06 +08:00
* `` fixed ip `` : (**Compute** , **Network** ) - an internal IP address assigned to a server
2016-04-07 14:10:37 +08:00
* `` floating ip `` : (**Compute** , **Network** ) - a public IP address that can be mapped to a server
2016-06-17 14:39:13 +08:00
* `` floating ip pool `` : (**Compute** , **Network** ) - a pool of public IP addresses
2014-12-31 09:56:20 -06:00
* `` group `` : (**Identity** ) a grouping of users
2016-03-25 08:06:32 -05:00
* `` host `` : (**Compute** ) - the physical computer running compute services
2015-03-05 19:35:39 -08:00
* `` hypervisor `` : (**Compute** ) the virtual machine manager
2015-02-19 18:08:17 -08:00
* `` hypervisor stats `` : (**Compute** ) hypervisor statistics over all compute nodes
2015-01-06 01:59:59 -05:00
* `` identity provider `` : (**Identity** ) a source of users and authentication
2015-01-08 02:54:26 -05:00
* `` image `` : (**Image** ) a disk image
2016-04-14 20:45:27 +00:00
* `` ip availability `` : (**Network** ) - details of IP usage of a network
2015-11-24 10:31:07 -06:00
* `` ip fixed `` : (**Compute** , **Network** ) - an internal IP address assigned to a server
* `` ip floating `` : (**Compute** , **Network** ) - a public IP address that can be mapped to a server
* `` ip floating pool `` : (**Compute** , **Network** ) - a pool of public IP addresses
2014-11-17 17:52:37 -06:00
* `` keypair `` : (**Compute** ) an SSH public key
2014-11-17 16:42:30 -06:00
* `` limits `` : (**Compute** , **Volume** ) resource usage limits
2015-01-06 01:43:49 -05:00
* `` mapping `` : (**Identity** ) a definition to translate identity provider attributes to Identity concepts
2016-02-25 15:28:53 +08:00
* `` module `` : (**Internal** ) - installed Python modules in the OSC process
2016-02-10 01:41:45 +08:00
* `` network `` : (**Compute** , **Network** ) - a virtual network for connecting servers and other resources
2016-05-12 16:15:19 -04:00
* `` network agent `` : (**Network** ) - A network agent is an agent that handles various tasks used to implement virtual networks
2016-10-27 23:37:27 -05:00
* `` network auto allocated topology `` : (**Network** ) - an auto-allocated topology for a project
2016-10-05 15:57:53 +00:00
* `` network flavor `` : (**Network** ) - allows the user to choose the type of service by a set of advertised service capabilities (e.g., LOADBALANCER, FWAAS, L3, VPN, etc) rather than by a provider type or named vendor
2016-11-11 21:42:24 +00:00
* `` network flavor profile `` : (**Network** ) - predefined neutron service configurations: driver
2016-09-23 14:59:51 -05:00
* `` network meter `` : (**Network** ) - allow traffic metering in a network
2016-09-27 17:00:43 -05:00
* `` network meter rule `` : (**Network** ) - rules for network traffic metering
2016-05-26 19:55:11 +08:00
* `` network rbac `` : (**Network** ) - an RBAC policy for network resources
2016-08-05 09:57:24 +01:00
* `` network qos rule `` : (**Network** ) - a QoS rule for network resources
2016-08-02 09:42:21 +01:00
* `` network qos policy `` : (**Network** ) - a QoS policy for network resources
2016-08-12 16:51:35 +01:00
* `` network qos rule type `` : (**Network** ) - list of QoS available rule types
2016-03-08 15:18:16 -06:00
* `` network segment `` : (**Network** ) - a segment of a virtual network
2016-10-03 18:39:00 -05:00
* `` network service provider `` : (**Network** ) - a driver providing a network service
2015-11-13 10:42:46 +08:00
* `` object `` : (**Object Storage** ) a single file in the Object Storage
2016-03-25 08:06:32 -05:00
* `` object store account `` : (**Object Storage** ) owns a group of Object Storage resources
2015-01-10 02:43:20 -05:00
* `` policy `` : (**Identity** ) determines authorization
2015-12-22 19:41:15 +05:30
* `` port `` : (**Network** ) - a virtual port for connecting servers and other resources to a network
2014-11-18 15:11:32 -06:00
* `` project `` : (**Identity** ) owns a group of resources
2014-11-17 16:42:30 -06:00
* `` quota `` : (**Compute** , **Volume** ) resource usage restrictions
2014-12-31 10:05:37 -06:00
* `` region `` : (**Identity** ) a subset of an OpenStack deployment
2015-01-08 02:02:55 -05:00
* `` request token `` : (**Identity** ) temporary OAuth-based token
2015-01-05 01:44:33 -05:00
* `` role `` : (**Identity** ) a policy object used to determine authorization
* `` role assignment `` : (**Identity** ) a relationship between roles, users or groups, and domains or projects
2015-12-12 10:28:48 +08:00
* `` router `` : (**Network** ) - a virtual router
2015-11-24 10:31:07 -06:00
* `` security group `` : (**Compute** , **Network** ) - groups of network access rules
* `` security group rule `` : (**Compute** , **Network** ) - the individual rules that define protocol/IP/port access
2014-11-17 21:56:18 -06:00
* `` server `` : (**Compute** ) virtual machine instance
2016-02-20 22:33:18 +08:00
* `` server backup `` : (**Compute** ) backup server disk image by using snapshot method
2016-01-26 00:22:56 -05:00
* `` server dump `` : (**Compute** ) a dump file of a server created by features like kdump
2017-03-02 17:28:45 +08:00
* `` server event `` : (**Compute** ) events of a server
2016-03-26 18:15:31 +08:00
* `` server group `` : (**Compute** ) a grouping of servers
2014-11-17 21:56:18 -06:00
* `` server image `` : (**Compute** ) saved server disk image
2014-12-31 10:03:28 -06:00
* `` service `` : (**Identity** ) a cloud service
2015-03-28 03:39:07 -04:00
* `` service provider `` : (**Identity** ) a resource that consumes assertions from an `` identity provider ``
2016-01-26 17:42:41 -06:00
* `` subnet `` : (**Network** ) - a contiguous range of IP addresses assigned to a network
2016-02-12 13:31:15 +08:00
* `` subnet pool `` : (**Network** ) - a pool of subnets
2014-11-18 15:11:32 -06:00
* `` token `` : (**Identity** ) a bearer token managed by Identity service
2016-03-25 08:06:32 -05:00
* `` trust `` : (**Identity** ) project-specific role delegation between users, with optional impersonation
2014-12-31 02:49:15 -05:00
* `` usage `` : (**Compute** ) display host resources being consumed
2014-11-18 15:11:32 -06:00
* `` user `` : (**Identity** ) individual cloud resources users
* `` user role `` : (**Identity** ) roles assigned to a user
2015-01-05 01:53:46 -05:00
* `` volume `` : (**Volume** ) block volumes
2016-10-19 04:50:02 -07:00
* `` volume backup `` : (**Volume** ) backup for volumes
2016-11-21 05:47:48 +08:00
* `` volume host `` : (**Volume** ) the physical computer for volumes
2016-03-25 08:06:32 -05:00
* `` volume qos `` : (**Volume** ) quality-of-service (QoS) specification for volumes
2016-09-14 14:54:29 +08:00
* `` volume snapshot `` : (**Volume** ) a point-in-time copy of a volume
2015-01-05 01:27:47 -05:00
* `` volume type `` : (**Volume** ) deployment-specific types of volumes available
2016-03-30 17:05:09 +05:30
* `` volume service `` : (**Volume** ) services to manage block storage operations
2016-05-01 21:14:36 +05:30
* `` volume transfer request `` : (**Volume** ) volume owner transfer request
2014-09-06 14:32:47 -05:00
2015-10-06 17:47:38 -04:00
Plugin Objects
--------------
2017-06-13 15:55:33 -04:00
The following are known `Objects` used by OpenStack
:ref: `plugins` . These are listed here to avoid name
conflicts when creating new plugins. For a complete list check out
:ref: `plugin-commands` .
2015-10-06 17:47:38 -04:00
2017-07-04 10:29:14 +08:00
* `` acl `` : (**Key Manager (Barbican)** )
* `` acl user `` : (**Key Manager (Barbican)** )
2015-11-30 23:48:21 +08:00
* `` action definition `` : (**Workflow Engine (Mistral)** )
* `` action execution `` : (**Workflow Engine (Mistral)** )
2017-09-15 18:23:28 -04:00
* `` appcontainer `` : (**Application Container (Zun)** )
* `` appcontainer host `` : (**Application Container (Zun)** )
* `` appcontainer image `` : (**Application Container (Zun)** )
* `` appcontainer network `` : (**Application Container (Zun)** )
* `` appcontainer service `` : (**Application Container (Zun)** )
2015-10-06 17:47:38 -04:00
* `` baremetal `` : (**Baremetal (Ironic)** )
2016-10-14 15:37:52 +08:00
* `` claim `` : (**Messaging (Zaqar)** )
2016-04-21 01:20:36 -04:00
* `` cluster `` : (**Clustering (Senlin)** )
* `` cluster action `` : (**Clustering (Senlin)** )
* `` cluster event `` : (**Clustering (Senlin)** )
* `` cluster members `` : (**Clustering (Senlin)** )
* `` cluster node `` : (**Clustering (Senlin)** )
2016-08-25 19:48:13 +09:00
* `` cluster policy `` : (**Clustering (Senlin)** )
2016-04-21 01:20:36 -04:00
* `` cluster policy binding `` : (**Clustering (Senlin)** )
* `` cluster policy type `` : (**Clustering (Senlin)** )
* `` cluster profile `` : (**Clustering (Senlin)** )
* `` cluster profile type `` : (**Clustering (Senlin)** )
* `` cluster receiver `` : (**Clustering (Senlin)** )
2015-10-06 17:47:38 -04:00
* `` congress datasource `` : (**Policy (Congress)** )
* `` congress driver `` : (**Policy (Congress)** )
* `` congress policy `` : (**Policy (Congress)** )
* `` congress policy rule `` : (**Policy (Congress)** )
2015-11-30 23:48:21 +08:00
* `` cron trigger `` : (**Workflow Engine (Mistral)** )
2017-01-17 09:50:40 -06:00
* `` database flavor `` : (**Database (Trove)** )
2015-10-06 17:47:38 -04:00
* `` dataprocessing data source `` : (**Data Processing (Sahara)** )
* `` dataprocessing image `` : (**Data Processing (Sahara)** )
* `` dataprocessing image tags `` : (**Data Processing (Sahara)** )
* `` dataprocessing plugin `` : (**Data Processing (Sahara)** )
2017-06-13 11:52:57 +08:00
* `` data protection plan `` : (**Data Protection (Karbor)** )
2017-07-06 15:26:24 +08:00
* `` data protection restore `` : (**Data Protection (Karbor)** )
* `` data protection provider `` : (**Data Protection (Karbor)** )
* `` data protection protectable `` : (**Data Protection (Karbor)** )
* `` data protection protectable instance `` : (**Data Protection (Karbor)** )
* `` data protection trigger `` : (**Data Protection (Karbor)** )
* `` data protection checkpoint `` : (**Data Protection (Karbor)** )
* `` data protection scheduledoperation `` : (**Data Protection (Karbor)** )
2017-08-07 17:30:37 +08:00
* `` data protection operationlog `` : (**Data Protection (Karbor)** )
2017-06-28 20:16:04 -07:00
* `` loadbalancer `` : (**Load Balancer (Octavia)** )
* `` loadbalancer healthmonitor `` : (**Load Balancer (Octavia)** )
* `` loadbalancer l7policy `` : (**Load Balancer (Octavia)** )
* `` loadbalancer l7rule `` : (**Load Balancer (Octavia)** )
* `` loadbalancer listener `` : (**Load Balancer (Octavia)** )
* `` loadbalancer member `` : (**Load Balancer (Octavia)** )
* `` loadbalancer pool `` : (**Load Balancer (Octavia)** )
2015-10-06 17:47:38 -04:00
* `` message-broker cluster `` : (**Message Broker (Cue)** )
2016-10-14 15:37:52 +08:00
* `` messaging `` : (**Messaging (Zaqar)** )
* `` messaging flavor `` : (**Messaging (Zaqar)** )
2016-07-28 17:45:18 -07:00
* `` network subport `` : (**Networking (Neutron)** )
* `` network trunk `` : (**Networking (Neutron)** )
2015-12-10 15:14:01 -06:00
* `` orchestration resource `` : (**Orchestration (Heat)** )
* `` orchestration template `` : (**Orchestration (Heat)** )
2015-10-06 17:47:38 -04:00
* `` pool `` : (**Messaging (Zaqar)** )
* `` ptr record `` : (**DNS (Designate)** )
* `` queue `` : (**Messaging (Zaqar)** )
* `` recordset `` : (**DNS (Designate)** )
2016-12-19 17:23:53 +08:00
* `` search `` (**Search (Searchlight)** )
* `` search facet `` (**Search (Searchlight)** )
* `` search resource type `` (**Search (Searchlight)** )
2015-10-06 17:47:38 -04:00
* `` secret `` : (**Key Manager (Barbican)** )
* `` secret container `` : (**Key Manager (Barbican)** )
* `` secret order `` : (**Key Manager (Barbican)** )
2015-12-10 15:14:01 -06:00
* `` software config `` : (**Orchestration (Heat)** )
* `` software deployment `` : (**Orchestration (Heat)** )
* `` stack event `` : (**Orchestration (Heat)** )
* `` stack hook `` : (**Orchestration (Heat)** )
* `` stack output `` : (**Orchestration (Heat)** )
* `` stack resource `` : (**Orchestration (Heat)** )
* `` stack snapshot `` : (**Orchestration (Heat)** )
* `` stack template `` : (**Orchestration (Heat)** )
2016-10-14 15:37:52 +08:00
* `` subscription `` : (**Messaging (Zaqar)** )
2016-07-06 16:09:21 +08:00
* `` task execution `` : (**Workflow Engine (Mistral)** )
2015-10-06 17:47:38 -04:00
* `` tld `` : (**DNS (Designate)** )
2015-11-30 23:48:21 +08:00
* `` workbook `` : (**Workflow Engine (Mistral)** )
* `` workflow `` : (**Workflow Engine (Mistral)** )
* `` workflow execution `` : (**Workflow Engine (Mistral)** )
2015-10-06 17:47:38 -04:00
* `` zone `` : (**DNS (Designate)** )
* `` zone blacklist `` : (**DNS (Designate)** )
2016-10-19 04:50:02 -07:00
* `` zone export `` : (**DNS (Designate)** )
* `` zone import `` : (**DNS (Designate)** )
2015-10-06 17:47:38 -04:00
* `` zone transfer `` : (**DNS (Designate)** )
2014-02-21 12:46:07 -06:00
Actions
-------
2014-05-15 09:05:37 -05:00
The actions used by OpenStackClient are defined below to provide a consistent
meaning to each action. Many of them have logical opposite actions.
Those actions with an opposite action are noted in parens if applicable.
* `` authorize `` - authorize a token (used in OAuth)
* `` add `` (`` remove `` ) - add some object to a container object; the command
is built in the order of `` container add object <container> <object> `` ,
the positional arguments appear in the same order
* `` create `` (`` delete `` ) - create a new occurrence of the specified object
2015-11-10 16:28:25 +08:00
* `` delete `` (`` create `` ) - delete specific occurrences of the specified objects
2016-04-21 01:20:36 -04:00
* `` expand `` (`` shrink `` ) - increase the capacity of a cluster
2016-12-14 21:14:17 +08:00
* `` failover `` - failover volume host to different backend
2014-05-15 09:05:37 -05:00
* `` issue `` (`` revoke `` ) - issue a token
* `` list `` - display summary information about multiple objects
2015-11-13 10:25:27 +08:00
* `` lock `` (`` unlock `` ) - lock one or more servers so that non-admin user won't be able to execute actions
2016-10-01 18:38:29 +08:00
* `` migrate `` - move a server or a volume to a different host; `` --live `` performs a
live server migration if possible
2015-10-23 16:59:03 +08:00
* `` pause `` (`` unpause `` ) - stop one or more servers and leave them in memory
2016-12-19 17:23:53 +08:00
* `` query `` - Query resources by Elasticsearch query string or json format DSL.
2016-09-08 15:13:38 -07:00
* `` purge `` - clean resources associated with a specific project
2014-05-15 09:05:37 -05:00
* `` reboot `` - forcibly reboot a server
* `` rebuild `` - rebuild a server using (most of) the same arguments as in the original create
* `` remove `` (`` add `` ) - remove an object from a group of objects
* `` rescue `` (`` unrescue `` ) - reboot a server in a special rescue mode allowing access to the original disks
2016-04-21 01:20:36 -04:00
* `` resize `` - change a server's flavor or a cluster's capacity
2016-02-20 06:32:13 +08:00
* `` restore `` - restore a heat stack snapshot or restore a server in soft-deleted state
2015-11-24 18:54:03 +08:00
* `` resume `` (`` suspend `` ) - return one or more suspended servers to running state
2014-05-15 09:05:37 -05:00
* `` revoke `` (`` issue `` ) - revoke a token
* `` save `` - download an object locally
* `` set `` (`` unset `` ) - set a property on the object, formerly called metadata
2015-11-26 21:00:04 -05:00
* `` shelve `` (`` unshelve `` ) - shelve one or more servers
2014-05-15 09:05:37 -05:00
* `` show `` - display detailed information about the specific object
2016-04-21 01:20:36 -04:00
* `` shrink `` (`` expand `` ) - reduce the capacity of a cluster
2015-10-24 12:08:35 +08:00
* `` start `` (`` stop `` ) - start one or more servers
* `` stop `` (`` start `` ) - stop one or more servers
2015-11-24 18:47:26 +08:00
* `` suspend `` (`` resume `` ) - stop one or more servers and save to disk freeing memory
2015-11-13 11:02:01 +08:00
* `` unlock `` (`` lock `` ) - unlock one or more servers
2015-11-12 23:50:36 +08:00
* `` unpause `` (`` pause `` ) - return one or more paused servers to running state
2014-05-15 09:05:37 -05:00
* `` unrescue `` (`` rescue `` ) - return a server to normal boot mode
* `` unset `` (`` set `` ) - remove an attribute of the object
2015-11-26 21:00:04 -05:00
* `` unshelve `` (`` shelve `` ) - unshelve one or more servers
2014-05-15 09:05:37 -05:00
2014-02-21 12:46:07 -06:00
2013-01-31 19:30:25 -06:00
Implementation
2014-11-17 16:42:30 -06:00
--------------
2013-01-31 19:30:25 -06:00
2013-12-05 13:23:44 -06:00
The command structure is designed to support seamless addition of plugin
command modules via `` setuptools `` entry points. The plugin commands must
2017-06-13 15:55:33 -04:00
be subclasses of Cliff's `` command.Command `` object. See :ref: `plugins` for
2014-05-15 09:05:37 -05:00
more information.
2013-01-31 19:30:25 -06:00
2013-07-29 17:05:02 -05:00
2013-01-31 19:30:25 -06:00
Command Entry Points
--------------------
2013-12-05 13:23:44 -06:00
Commands are added to the client using `` setuptools `` entry points in `` setup.cfg `` .
2013-01-31 19:30:25 -06:00
There is a single common group `` openstack.cli `` for commands that are not versioned,
and a group for each combination of OpenStack API and version that is
supported. For example, to support Identity API v3 there is a group called
`` openstack.identity.v3 `` that contains the individual commands. The command
entry points have the form::
2014-09-06 14:32:47 -05:00
action_object = fully.qualified.module.vXX.object:ActionObject
2013-01-31 19:30:25 -06:00
2014-05-15 09:05:37 -05:00
For example, the `` list user `` command for the Identity API is identified in
2013-07-05 22:30:54 -04:00
`` setup.cfg `` with::
2013-01-31 19:30:25 -06:00
2013-07-05 22:30:54 -04:00
openstack.identity.v3 =
2013-01-31 19:30:25 -06:00
# ...
2013-07-05 22:30:54 -04:00
list_user = openstackclient.identity.v3.user:ListUser
2013-01-31 19:30:25 -06:00
# ...