Creating new v2 namespace in nova.api.openstack
Related to blueprint separate-nova-adminapi Change-Id: Ida35372b7263c4a4efdafd35faa1325c4436459b
This commit is contained in:
@@ -369,7 +369,7 @@ DEFINE_integer('ec2_port', 8773, 'cloud controller port')
|
|||||||
DEFINE_string('ec2_scheme', 'http', 'prefix for ec2')
|
DEFINE_string('ec2_scheme', 'http', 'prefix for ec2')
|
||||||
DEFINE_string('ec2_path', '/services/Cloud', 'suffix for ec2')
|
DEFINE_string('ec2_path', '/services/Cloud', 'suffix for ec2')
|
||||||
DEFINE_multistring('osapi_extension',
|
DEFINE_multistring('osapi_extension',
|
||||||
['nova.api.openstack.contrib.standard_extensions'],
|
['nova.api.openstack.v2.contrib.standard_extensions'],
|
||||||
'osapi extension to load')
|
'osapi extension to load')
|
||||||
DEFINE_string('osapi_host', '$my_ip', 'ip of api server')
|
DEFINE_string('osapi_host', '$my_ip', 'ip of api server')
|
||||||
DEFINE_string('osapi_scheme', 'http', 'prefix for openstack')
|
DEFINE_string('osapi_scheme', 'http', 'prefix for openstack')
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import stubout
|
|
||||||
import webob.exc
|
import webob.exc
|
||||||
|
|
||||||
from nova import context
|
from nova import context
|
||||||
@@ -21,7 +20,7 @@ from nova import exception
|
|||||||
from nova import flags
|
from nova import flags
|
||||||
from nova import log as logging
|
from nova import log as logging
|
||||||
from nova import test
|
from nova import test
|
||||||
from nova.api.openstack.contrib import hosts as os_hosts
|
from nova.api.openstack.v2.contrib import hosts as os_hosts
|
||||||
from nova.scheduler import api as scheduler_api
|
from nova.scheduler import api as scheduler_api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user