diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-06-01 17:24:12 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-06-06 17:08:00 -0400 |
commit | 55128d1c5d2ffda769f7b939dfc7dc6af3bf2e97 (patch) | |
tree | a08c3dcbbd7edad0f7da0e5e9ed95a7536d1f4f5 /nova/test.py | |
parent | 7626472ed8eac46f393d7d9ff4d5e8250a4a22b7 (diff) | |
download | nova-55128d1c5d2ffda769f7b939dfc7dc6af3bf2e97.tar.gz nova-55128d1c5d2ffda769f7b939dfc7dc6af3bf2e97.tar.xz nova-55128d1c5d2ffda769f7b939dfc7dc6af3bf2e97.zip |
separate Metadata logic away from the web service
The changes here are coming as a result of starting on blueprint
config-drive-v2 [1]. I wanted to separate out the "Metadata" from the
"Metadata Server". Thus, the creation of nova/api/metadata/base.py.
The InstanceMetadata in base.py contains most of the logic for
presenting metadata. As a result, the Metadata webservice in handler.py
greatly simplified. This should make it easier to render duplicate
data to a config drive.
Additional changes here:
* a few more tests
* removal of the separate 'Versions' handler. Its now replaced
by the single handler.
Change-Id: I35fcfd8d7f247763954afc0a9f752f629b243e9b
Diffstat (limited to 'nova/test.py')
0 files changed, 0 insertions, 0 deletions