diff options
author | Dan Prince <dan.prince@rackspace.com> | 2011-04-19 17:46:43 +0000 |
---|---|---|
committer | Tarmac <> | 2011-04-19 17:46:43 +0000 |
commit | 994ba6e861aa38976f2e4d655fd71c93117c3d11 (patch) | |
tree | 84b506890e1ba6081fd6102d5fb0047f62315adc /nova/context.py | |
parent | 5f5874b0012e77e846ad02c7ce43f10356105f3d (diff) | |
parent | 7080cbe4d5d3e963dac21a51cb7e9819ec03a27b (diff) | |
download | nova-994ba6e861aa38976f2e4d655fd71c93117c3d11.tar.gz nova-994ba6e861aa38976f2e4d655fd71c93117c3d11.tar.xz nova-994ba6e861aa38976f2e4d655fd71c93117c3d11.zip |
Implement quotas for the new v1.1 server metadata controller.
Created a new _check_metadata_properties_quota method in the compute API that is used when creating instances and when updating server metadata. In doing so I modified the compute API so that metadata is a dict (not an array) to ensure we are using unique key values for metadata (which is implied by the API specs) and makes more sense with JSON request formats anyway.
Additionally this branch enables and fixes the integration test to create servers with metadata.
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions