Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 0305113317f9e80328b139dce3f45533 > files > 1

python-quantumclient-2.1-1.fc18.src.rpm

From 562725209091bf2d929d199820a23d83088883f5 Mon Sep 17 00:00:00 2001
From: gongysh <gongysh@cn.ibm.com>
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 4028bc7..2a6979c 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')