diff options
| author | Alex Meade <alex.meade@rackspace.com> | 2011-05-05 16:29:31 -0400 |
|---|---|---|
| committer | Alex Meade <alex.meade@rackspace.com> | 2011-05-05 16:29:31 -0400 |
| commit | 5a3e8eea45bc11978112e3fed93768a1daf71530 (patch) | |
| tree | 56f992b693a7948de29346021ac2671ff7a00fe0 /nova/api | |
| parent | 8d3f20e776af0fe174474a9fe8ee02eabe64053b (diff) | |
| download | nova-5a3e8eea45bc11978112e3fed93768a1daf71530.tar.gz nova-5a3e8eea45bc11978112e3fed93768a1daf71530.tar.xz nova-5a3e8eea45bc11978112e3fed93768a1daf71530.zip | |
Added interface function to ViewBilder
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/flavors.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/api/openstack/flavors.py b/nova/api/openstack/flavors.py index 40787bd17..dee70bb2b 100644 --- a/nova/api/openstack/flavors.py +++ b/nova/api/openstack/flavors.py @@ -45,6 +45,9 @@ class Controller(common.OpenstackController): items = self._get_flavors(req, is_detail=True) return dict(flavors=items) + def _get_view_builder(self, req): + raise NotImplementedError + def _get_flavors(self, req, is_detail=True): """Helper function that returns a list of flavor dicts.""" ctxt = req.environ['nova.context'] |
