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
This commit is contained in:
gongysh 2012-09-20 06:46:32 +08:00
parent bc7ba5e19d
commit 3e19fc0a56
1 changed files with 4 additions and 4 deletions

View File

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