~citrix-openstack/nova/xenapi

« back to all changes in this revision

Viewing changes to nova/api/openstack/flavors.py

  • Committer: Johannes Erdfelt
  • Date: 2011-04-07 23:08:15 UTC
  • mfrom: (408.9.534 nova)
  • mto: (408.9.548 nova)
  • mto: This revision was merged to the branch mainline in revision 450.
  • Revision ID: johannes.erdfelt@rackspace.com-20110407230815-g020zouuyly6ly72
Merge with lp:nova

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
from nova import db
21
21
from nova import exception
22
 
from nova import wsgi
 
22
from nova.api.openstack import common
23
23
from nova.api.openstack import views
24
24
 
25
25
 
26
 
class Controller(wsgi.Controller):
 
26
class Controller(common.OpenstackController):
27
27
    """Flavor controller for the OpenStack API."""
28
28
 
29
29
    _serialization_metadata = {
76
76
    def _get_view_builder(self, req):
77
77
        base_url = req.application_url
78
78
        return views.flavors.ViewBuilderV11(base_url)
 
79
 
 
80
    def get_default_xmlns(self, req):
 
81
        return common.XML_NS_V11