Remove the stevedore extension point for server create
This patch remove the stevedore extension point for server create. This patch move all the extension points into ServersController class attribute 'server_create_func_list'. This is for backward-compatible with the stevedore extension interface. The final goal is that merging all of those extended code into the ServerController. So this is a middle step for refactor. Partial-implement-blueprint api-no-more-extensions-pike Change-Id: I9a8f56037b35e89543626922221b910ab8b1917e
This commit is contained in:
@@ -155,17 +155,6 @@ nova.api.v21.extensions =
|
||||
virtual_interfaces = nova.api.openstack.compute.virtual_interfaces:VirtualInterfaces
|
||||
volumes = nova.api.openstack.compute.volumes:Volumes
|
||||
|
||||
nova.api.v21.extensions.server.create =
|
||||
availability_zone = nova.api.openstack.compute.availability_zone:AvailabilityZone
|
||||
block_device_mapping = nova.api.openstack.compute.block_device_mapping:BlockDeviceMapping
|
||||
block_device_mapping_v1 = nova.api.openstack.compute.block_device_mapping_v1:BlockDeviceMappingV1
|
||||
config_drive = nova.api.openstack.compute.config_drive:ConfigDrive
|
||||
keypairs_create = nova.api.openstack.compute.keypairs:Keypairs
|
||||
multiple_create = nova.api.openstack.compute.multiple_create:MultipleCreate
|
||||
scheduler_hints = nova.api.openstack.compute.scheduler_hints:SchedulerHints
|
||||
security_groups = nova.api.openstack.compute.security_groups:SecurityGroups
|
||||
user_data = nova.api.openstack.compute.user_data:UserData
|
||||
|
||||
nova.api.v21.test_extensions =
|
||||
basic = nova.tests.unit.api.openstack.compute.basic:Basic
|
||||
microversions = nova.tests.unit.api.openstack.compute.microversions:Microversions
|
||||
|
||||
Reference in New Issue
Block a user