Merge "Verify delete-Floating-IP-Bulk Nova API attributes"
This commit is contained in:
commit
e6e096f8ed
|
@ -117,3 +117,14 @@ create_floating_ips_bulk = {
|
|||
'required': ['floating_ips_bulk_create']
|
||||
}
|
||||
}
|
||||
|
||||
delete_floating_ips_bulk = {
|
||||
'status_code': [200],
|
||||
'response_body': {
|
||||
'type': 'object',
|
||||
'properties': {
|
||||
'floating_ips_bulk_delete': {'type': 'string'}
|
||||
},
|
||||
'required': ['floating_ips_bulk_delete']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,4 +137,5 @@ class FloatingIPsClientJSON(rest_client.RestClient):
|
|||
post_body = json.dumps({'ip_range': ip_range})
|
||||
resp, body = self.put('os-floating-ips-bulk/delete', post_body)
|
||||
body = json.loads(body)
|
||||
self.validate_response(schema.delete_floating_ips_bulk, resp, body)
|
||||
return resp, body['floating_ips_bulk_delete']
|
||||
|
|
Loading…
Reference in New Issue