From 3e19fc0a563e78ff81c63788e6f3d163054ff34f Mon Sep 17 00:00:00 2001 From: gongysh Date: Thu, 20 Sep 2012 06:46:32 +0800 Subject: [PATCH] clean the descriptions for quota cli commands. Bug #1053099 By default, the quotas for all tenants will use defaults from quantum.conf. Admin can use the cli commands to define different quotas for tenants. Change-Id: Ifb0ef3ce2680245ccb2c2872bed1cbef3bb9629b --- quantumclient/quantum/v2_0/quota.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quantumclient/quantum/v2_0/quota.py b/quantumclient/quantum/v2_0/quota.py index 4028bc720..2a6979c33 100644 --- a/quantumclient/quantum/v2_0/quota.py +++ b/quantumclient/quantum/v2_0/quota.py @@ -33,7 +33,7 @@ def get_tenant_id(tenant_id, client): class DeleteQuota(QuantumCommand): - """Delete a given tenant's quotas.""" + """Delete defined quotas of a given tenant.""" api = 'network' resource = 'quota' @@ -65,7 +65,7 @@ class DeleteQuota(QuantumCommand): class ListQuota(QuantumCommand, lister.Lister): - """List all tenants' quotas.""" + """List defined quotas of all tenants.""" api = 'network' resource = 'quota' @@ -95,7 +95,7 @@ class ListQuota(QuantumCommand, lister.Lister): class ShowQuota(QuantumCommand, show.ShowOne): - """Show information of a given resource + """Show quotas of a given tenant """ api = 'network' @@ -142,7 +142,7 @@ class ShowQuota(QuantumCommand, show.ShowOne): class UpdateQuota(QuantumCommand, show.ShowOne): - """Update port's information.""" + """Define tenant's quotas not to use defaults.""" resource = 'quota' log = logging.getLogger(__name__ + '.UpdateQuota')