From 75dcdb0c6637afe5c14e5c60f7719182bda7ab4a Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Tue, 9 Jul 2013 17:10:33 -0500 Subject: 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 --- openstackclient/shell.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openstackclient/shell.py') 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 -- cgit v1.2.1