diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2013-07-09 17:10:33 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2013-07-12 12:13:27 -0500 |
| commit | 75dcdb0c6637afe5c14e5c60f7719182bda7ab4a (patch) | |
| tree | ca8776cae8371d6d102fac703b87e106affea209 /openstackclient/shell.py | |
| parent | f0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff) | |
| download | python-openstackclient-75dcdb0c6637afe5c14e5c60f7719182bda7ab4a.tar.gz | |
Add show limits command
* This is a combination of the compute and volume API limits as they are
very similar. As such, the command lives in a new command group
'openstack.common' that is unversioned.
* Implements 'limits show [--absolute|--rate]
Updated for https://review.openstack.org/#/c/36772/
Bug: 1172057
Change-Id: I2bd181cd0d098f7143360ae67944c2f221379af5
Diffstat (limited to 'openstackclient/shell.py')
| -rw-r--r-- | openstackclient/shell.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py index e5353194..561b8ddf 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -331,6 +331,10 @@ class OpenStackShell(app.App): self.command_manager.add_command_group( 'openstack.' + api + version) + # Commands that span multiple APIs + self.command_manager.add_command_group( + 'openstack.common') + # This is the naive extension implementation referred to in # blueprint 'client-extensions' # Extension modules can register their commands in an |
