~openstack-gd/nova/nova-avail-zones

« back to all changes in this revision

Viewing changes to nova/api/__init__.py

  • Committer: Tarmac
  • Author(s): Vishvananda Ishaya
  • Date: 2010-12-22 18:24:00 UTC
  • mfrom: (396.6.14 project-vpns)
  • Revision ID: tarmac-20101222182400-vh0j8lwp72auht1r
Fixes per-project vpns (cloudpipe) and adds manage commands and support for certificate revocation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import webob.dec
30
30
 
31
31
from nova import flags
32
 
from nova import utils
33
32
from nova import wsgi
34
 
from nova.api import cloudpipe
35
33
from nova.api import ec2
36
34
from nova.api import openstack
37
35
from nova.api.ec2 import metadatarequesthandler
41
39
                    'subdomain running the OpenStack API')
42
40
flags.DEFINE_string('ec2api_subdomain', 'ec2',
43
41
                    'subdomain running the EC2 API')
 
42
 
44
43
FLAGS = flags.FLAGS
45
44
 
46
45
 
80
79
            mapper.connect('%s/{path_info:.*}' % s, controller=mrh,
81
80
                           conditions=ec2api_subdomain)
82
81
 
83
 
        mapper.connect("/cloudpipe/{path_info:.*}", controller=cloudpipe.API())
84
82
        super(API, self).__init__(mapper)
85
83
 
86
84
    @webob.dec.wsgify