summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2013-07-09 17:10:33 -0500
committerDean Troyer <dtroyer@gmail.com>2013-07-12 12:13:27 -0500
commit75dcdb0c6637afe5c14e5c60f7719182bda7ab4a (patch)
treeca8776cae8371d6d102fac703b87e106affea209 /openstackclient/shell.py
parentf0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff)
downloadpython-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.py4
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