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
This commit is contained in:
Dean Troyer
2013-07-09 17:10:33 -05:00
parent f0d3bf85d8
commit 75dcdb0c66
3 changed files with 86 additions and 0 deletions
openstackclient
setup.cfg

@ -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