Move unset_flavor_extra_specs to extra specs file
Flavor unset extra spec schema 'unset_flavor_extra_specs' is present in flavors.py schema file which should be in flavors_extra_specs.py file. Change-Id: Ibea6081129ce05e300b3dc757fabdbed2d3e0570
This commit is contained in:
parent
d201cd3977
commit
10c28b8750
@ -82,10 +82,6 @@ list_flavors_details = {
|
||||
}
|
||||
}
|
||||
|
||||
unset_flavor_extra_specs = {
|
||||
'status_code': [200]
|
||||
}
|
||||
|
||||
create_update_get_flavor_details = {
|
||||
'status_code': [200],
|
||||
'response_body': {
|
||||
|
@ -29,6 +29,10 @@ set_get_flavor_extra_specs = {
|
||||
}
|
||||
}
|
||||
|
||||
unset_flavor_extra_specs = {
|
||||
'status_code': [200]
|
||||
}
|
||||
|
||||
set_get_flavor_extra_specs_key = {
|
||||
'status_code': [200],
|
||||
'response_body': {
|
||||
|
@ -205,7 +205,8 @@ class FlavorsClient(base_compute_client.BaseComputeClient):
|
||||
"""
|
||||
resp, body = self.delete('flavors/%s/os-extra_specs/%s' %
|
||||
(flavor_id, key))
|
||||
self.validate_response(schema.unset_flavor_extra_specs, resp, body)
|
||||
self.validate_response(schema_extra_specs.unset_flavor_extra_specs,
|
||||
resp, body)
|
||||
return rest_client.ResponseBody(resp, body)
|
||||
|
||||
def list_flavor_access(self, flavor_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user