Merge "Adding backup resource to quota command"
This commit is contained in:
@@ -184,7 +184,7 @@ class ReddwarfHTTPClient(httplib2.Http):
|
|||||||
else:
|
else:
|
||||||
body = None
|
body = None
|
||||||
|
|
||||||
if resp.status in (400, 401, 403, 404, 408, 409, 413, 500, 501):
|
if resp.status in (400, 401, 403, 404, 408, 409, 413, 422, 500, 501):
|
||||||
raise exceptions.from_response(resp, body)
|
raise exceptions.from_response(resp, body)
|
||||||
|
|
||||||
return resp, body
|
return resp, body
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ class QuotaCommands(common.AuthedCommandsBase):
|
|||||||
|
|
||||||
params = ['id',
|
params = ['id',
|
||||||
'instances',
|
'instances',
|
||||||
'volumes']
|
'volumes',
|
||||||
|
'backups']
|
||||||
|
|
||||||
def list(self):
|
def list(self):
|
||||||
"""List all quotas for a tenant"""
|
"""List all quotas for a tenant"""
|
||||||
|
|||||||
Reference in New Issue
Block a user