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:
parent
bc7ba5e19d
commit
3e19fc0a56
@ -33,7 +33,7 @@ def get_tenant_id(tenant_id, client):
|
|||||||
|
|
||||||
|
|
||||||
class DeleteQuota(QuantumCommand):
|
class DeleteQuota(QuantumCommand):
|
||||||
"""Delete a given tenant's quotas."""
|
"""Delete defined quotas of a given tenant."""
|
||||||
|
|
||||||
api = 'network'
|
api = 'network'
|
||||||
resource = 'quota'
|
resource = 'quota'
|
||||||
@ -65,7 +65,7 @@ class DeleteQuota(QuantumCommand):
|
|||||||
|
|
||||||
|
|
||||||
class ListQuota(QuantumCommand, lister.Lister):
|
class ListQuota(QuantumCommand, lister.Lister):
|
||||||
"""List all tenants' quotas."""
|
"""List defined quotas of all tenants."""
|
||||||
|
|
||||||
api = 'network'
|
api = 'network'
|
||||||
resource = 'quota'
|
resource = 'quota'
|
||||||
@ -95,7 +95,7 @@ class ListQuota(QuantumCommand, lister.Lister):
|
|||||||
|
|
||||||
|
|
||||||
class ShowQuota(QuantumCommand, show.ShowOne):
|
class ShowQuota(QuantumCommand, show.ShowOne):
|
||||||
"""Show information of a given resource
|
"""Show quotas of a given tenant
|
||||||
|
|
||||||
"""
|
"""
|
||||||
api = 'network'
|
api = 'network'
|
||||||
@ -142,7 +142,7 @@ class ShowQuota(QuantumCommand, show.ShowOne):
|
|||||||
|
|
||||||
|
|
||||||
class UpdateQuota(QuantumCommand, show.ShowOne):
|
class UpdateQuota(QuantumCommand, show.ShowOne):
|
||||||
"""Update port's information."""
|
"""Define tenant's quotas not to use defaults."""
|
||||||
|
|
||||||
resource = 'quota'
|
resource = 'quota'
|
||||||
log = logging.getLogger(__name__ + '.UpdateQuota')
|
log = logging.getLogger(__name__ + '.UpdateQuota')
|
||||||
|
Loading…
Reference in New Issue
Block a user