summaryrefslogtreecommitdiff
path: root/cinderclient/v3/shell.py
diff options
context:
space:
mode:
authorwangxiyuan <wangxiyuan@huawei.com>2017-07-17 09:21:32 +0800
committerwangxiyuan <wangxiyuan@huawei.com>2017-07-18 01:03:06 +0000
commitc6ca3cf7cb749806debad1e3015e004850fdfd2a (patch)
tree1b429e046abdea30a3a0c4c7923e92b45ca5f171 /cinderclient/v3/shell.py
parentf3a1e6e7087899118028a270004bfa519fc8c16e (diff)
downloadpython-cinderclient-c6ca3cf7cb749806debad1e3015e004850fdfd2a.tar.gz
Support skip-validation for quota update
Support skip-validation parameter for quota update. Change-Id: Iec4f1598987c632f45ad6eee751f78bedbf3ec26
Diffstat (limited to 'cinderclient/v3/shell.py')
-rw-r--r--cinderclient/v3/shell.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py
index 94aecb1..727fdac 100644
--- a/cinderclient/v3/shell.py
+++ b/cinderclient/v3/shell.py
@@ -756,6 +756,10 @@ def do_group_type_key(cs, args):
metavar='<per_volume_gigabytes>',
type=int, default=None,
help='Set max volume size limit. Default=None.')
+@utils.arg('--skip-validation',
+ metavar='<skip_validation>',
+ default=False,
+ help='Skip validate the existing resource quota. Default=False.')
def do_quota_update(cs, args):
"""Updates quotas for a tenant."""