Add quota commands

* Add quota set and quota show commands; these work on both
  the compute and volume APIs
* Add the --class variation on the above commands

Note: this replaces the existing volume-only quota commands and eliminates quota list

Blueprint: cinder-client
Bug: 1172064

Change-Id: I766d40e410e48f05e36e17e567a4f01a9411b40e
This commit is contained in:
Dean Troyer 2013-07-03 16:46:00 -05:00
parent fc539a89f0
commit a99d26a095

@ -33,6 +33,8 @@ openstack.cli =
openstack.common =
limits_show = openstackclient.common.limits:ShowLimits
quota_set = openstackclient.common.quota:SetQuota
quota_show = openstackclient.common.quota:ShowQuota
openstack.identity.v2_0 =
ec2_credentials_create = openstackclient.identity.v2_0.ec2creds:CreateEC2Creds
@ -203,10 +205,6 @@ openstack.compute.v2 =
server_unpause = openstackclient.compute.v2.server:UnpauseServer
openstack.volume.v1 =
quota_list = openstackclient.volume.v1.quota:ListQuota
quota_set = openstackclient.volume.v1.quota:SetQuota
quota_show = openstackclient.volume.v1.quota:ShowQuota
snapshot_create = openstackclient.volume.v1.snapshot:CreateSnapshot
snapshot_delete = openstackclient.volume.v1.snapshot:DeleteSnapshot
snapshot_list = openstackclient.volume.v1.snapshot:ListSnapshot