Move v2.1 code to the main compute directory - remove v3 step3
Move all the plugins/v3 code to the main compute directory. Partial-Bug: #1462901 Change-Id: I7df413b76ff0a6610ccd3cb90137ec99b372d5ab
This commit is contained in:
parent
f8a8656c39
commit
79d2f8eb3e
@ -18,9 +18,9 @@
|
||||
import mock
|
||||
from webob import exc
|
||||
|
||||
from nova.api.openstack.compute import aggregates as aggregates_v21
|
||||
from nova.api.openstack.compute.legacy_v2.contrib import aggregates \
|
||||
as aggregates_v2
|
||||
from nova.api.openstack.compute.plugins.v3 import aggregates as aggregates_v21
|
||||
from nova import context
|
||||
from nova import exception
|
||||
from nova import test
|
||||
|
204
setup.cfg
204
setup.cfg
@ -69,118 +69,118 @@ console_scripts =
|
||||
nova-xvpvncproxy = nova.cmd.xvpvncproxy:main
|
||||
|
||||
nova.api.v3.extensions =
|
||||
access_ips = nova.api.openstack.compute.plugins.v3.access_ips:AccessIPs
|
||||
admin_actions = nova.api.openstack.compute.plugins.v3.admin_actions:AdminActions
|
||||
admin_password = nova.api.openstack.compute.plugins.v3.admin_password:AdminPassword
|
||||
agents = nova.api.openstack.compute.plugins.v3.agents:Agents
|
||||
aggregates = nova.api.openstack.compute.plugins.v3.aggregates:Aggregates
|
||||
assisted_volume_snapshots = nova.api.openstack.compute.plugins.v3.assisted_volume_snapshots:AssistedVolumeSnapshots
|
||||
attach_interfaces = nova.api.openstack.compute.plugins.v3.attach_interfaces:AttachInterfaces
|
||||
availability_zone = nova.api.openstack.compute.plugins.v3.availability_zone:AvailabilityZone
|
||||
baremetal_nodes = nova.api.openstack.compute.plugins.v3.baremetal_nodes:BareMetalNodes
|
||||
block_device_mapping = nova.api.openstack.compute.plugins.v3.block_device_mapping:BlockDeviceMapping
|
||||
cells = nova.api.openstack.compute.plugins.v3.cells:Cells
|
||||
certificates = nova.api.openstack.compute.plugins.v3.certificates:Certificates
|
||||
cloudpipe = nova.api.openstack.compute.plugins.v3.cloudpipe:Cloudpipe
|
||||
config_drive = nova.api.openstack.compute.plugins.v3.config_drive:ConfigDrive
|
||||
console_auth_tokens = nova.api.openstack.compute.plugins.v3.console_auth_tokens:ConsoleAuthTokens
|
||||
console_output = nova.api.openstack.compute.plugins.v3.console_output:ConsoleOutput
|
||||
consoles = nova.api.openstack.compute.plugins.v3.consoles:Consoles
|
||||
create_backup = nova.api.openstack.compute.plugins.v3.create_backup:CreateBackup
|
||||
deferred_delete = nova.api.openstack.compute.plugins.v3.deferred_delete:DeferredDelete
|
||||
disk_config = nova.api.openstack.compute.plugins.v3.disk_config:DiskConfig
|
||||
evacuate = nova.api.openstack.compute.plugins.v3.evacuate:Evacuate
|
||||
extended_availability_zone = nova.api.openstack.compute.plugins.v3.extended_availability_zone:ExtendedAvailabilityZone
|
||||
extended_server_attributes = nova.api.openstack.compute.plugins.v3.extended_server_attributes:ExtendedServerAttributes
|
||||
extended_status = nova.api.openstack.compute.plugins.v3.extended_status:ExtendedStatus
|
||||
extended_volumes = nova.api.openstack.compute.plugins.v3.extended_volumes:ExtendedVolumes
|
||||
extension_info = nova.api.openstack.compute.plugins.v3.extension_info:ExtensionInfo
|
||||
fixed_ips = nova.api.openstack.compute.plugins.v3.fixed_ips:FixedIps
|
||||
flavors = nova.api.openstack.compute.plugins.v3.flavors:Flavors
|
||||
flavors_extraspecs = nova.api.openstack.compute.plugins.v3.flavors_extraspecs:FlavorsExtraSpecs
|
||||
flavor_access = nova.api.openstack.compute.plugins.v3.flavor_access:FlavorAccess
|
||||
flavor_rxtx = nova.api.openstack.compute.plugins.v3.flavor_rxtx:FlavorRxtx
|
||||
flavor_manage = nova.api.openstack.compute.plugins.v3.flavor_manage:FlavorManage
|
||||
floating_ip_dns = nova.api.openstack.compute.plugins.v3.floating_ip_dns:FloatingIpDns
|
||||
floating_ip_pools = nova.api.openstack.compute.plugins.v3.floating_ip_pools:FloatingIpPools
|
||||
floating_ips = nova.api.openstack.compute.plugins.v3.floating_ips:FloatingIps
|
||||
floating_ips_bulk = nova.api.openstack.compute.plugins.v3.floating_ips_bulk:FloatingIpsBulk
|
||||
fping = nova.api.openstack.compute.plugins.v3.fping:Fping
|
||||
hide_server_addresses = nova.api.openstack.compute.plugins.v3.hide_server_addresses:HideServerAddresses
|
||||
hosts = nova.api.openstack.compute.plugins.v3.hosts:Hosts
|
||||
hypervisors = nova.api.openstack.compute.plugins.v3.hypervisors:Hypervisors
|
||||
images = nova.api.openstack.compute.plugins.v3.images:Images
|
||||
image_metadata = nova.api.openstack.compute.plugins.v3.image_metadata:ImageMetadata
|
||||
image_size = nova.api.openstack.compute.plugins.v3.image_size:ImageSize
|
||||
instance_actions = nova.api.openstack.compute.plugins.v3.instance_actions:InstanceActions
|
||||
instance_usage_audit_log = nova.api.openstack.compute.plugins.v3.instance_usage_audit_log:InstanceUsageAuditLog
|
||||
ips = nova.api.openstack.compute.plugins.v3.ips:IPs
|
||||
keypairs = nova.api.openstack.compute.plugins.v3.keypairs:Keypairs
|
||||
limits = nova.api.openstack.compute.plugins.v3.limits:Limits
|
||||
lock_server = nova.api.openstack.compute.plugins.v3.lock_server:LockServer
|
||||
migrate_server = nova.api.openstack.compute.plugins.v3.migrate_server:MigrateServer
|
||||
migrations = nova.api.openstack.compute.plugins.v3.migrations:Migrations
|
||||
multinic = nova.api.openstack.compute.plugins.v3.multinic:Multinic
|
||||
multiple_create = nova.api.openstack.compute.plugins.v3.multiple_create:MultipleCreate
|
||||
networks = nova.api.openstack.compute.plugins.v3.networks:Networks
|
||||
networks_associate = nova.api.openstack.compute.plugins.v3.networks_associate:NetworksAssociate
|
||||
pause_server = nova.api.openstack.compute.plugins.v3.pause_server:PauseServer
|
||||
access_ips = nova.api.openstack.compute.access_ips:AccessIPs
|
||||
admin_actions = nova.api.openstack.compute.admin_actions:AdminActions
|
||||
admin_password = nova.api.openstack.compute.admin_password:AdminPassword
|
||||
agents = nova.api.openstack.compute.agents:Agents
|
||||
aggregates = nova.api.openstack.compute.aggregates:Aggregates
|
||||
assisted_volume_snapshots = nova.api.openstack.compute.assisted_volume_snapshots:AssistedVolumeSnapshots
|
||||
attach_interfaces = nova.api.openstack.compute.attach_interfaces:AttachInterfaces
|
||||
availability_zone = nova.api.openstack.compute.availability_zone:AvailabilityZone
|
||||
baremetal_nodes = nova.api.openstack.compute.baremetal_nodes:BareMetalNodes
|
||||
block_device_mapping = nova.api.openstack.compute.block_device_mapping:BlockDeviceMapping
|
||||
cells = nova.api.openstack.compute.cells:Cells
|
||||
certificates = nova.api.openstack.compute.certificates:Certificates
|
||||
cloudpipe = nova.api.openstack.compute.cloudpipe:Cloudpipe
|
||||
config_drive = nova.api.openstack.compute.config_drive:ConfigDrive
|
||||
console_auth_tokens = nova.api.openstack.compute.console_auth_tokens:ConsoleAuthTokens
|
||||
console_output = nova.api.openstack.compute.console_output:ConsoleOutput
|
||||
consoles = nova.api.openstack.compute.consoles:Consoles
|
||||
create_backup = nova.api.openstack.compute.create_backup:CreateBackup
|
||||
deferred_delete = nova.api.openstack.compute.deferred_delete:DeferredDelete
|
||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||
evacuate = nova.api.openstack.compute.evacuate:Evacuate
|
||||
extended_availability_zone = nova.api.openstack.compute.extended_availability_zone:ExtendedAvailabilityZone
|
||||
extended_server_attributes = nova.api.openstack.compute.extended_server_attributes:ExtendedServerAttributes
|
||||
extended_status = nova.api.openstack.compute.extended_status:ExtendedStatus
|
||||
extended_volumes = nova.api.openstack.compute.extended_volumes:ExtendedVolumes
|
||||
extension_info = nova.api.openstack.compute.extension_info:ExtensionInfo
|
||||
fixed_ips = nova.api.openstack.compute.fixed_ips:FixedIps
|
||||
flavors = nova.api.openstack.compute.flavors:Flavors
|
||||
flavors_extraspecs = nova.api.openstack.compute.flavors_extraspecs:FlavorsExtraSpecs
|
||||
flavor_access = nova.api.openstack.compute.flavor_access:FlavorAccess
|
||||
flavor_rxtx = nova.api.openstack.compute.flavor_rxtx:FlavorRxtx
|
||||
flavor_manage = nova.api.openstack.compute.flavor_manage:FlavorManage
|
||||
floating_ip_dns = nova.api.openstack.compute.floating_ip_dns:FloatingIpDns
|
||||
floating_ip_pools = nova.api.openstack.compute.floating_ip_pools:FloatingIpPools
|
||||
floating_ips = nova.api.openstack.compute.floating_ips:FloatingIps
|
||||
floating_ips_bulk = nova.api.openstack.compute.floating_ips_bulk:FloatingIpsBulk
|
||||
fping = nova.api.openstack.compute.fping:Fping
|
||||
hide_server_addresses = nova.api.openstack.compute.hide_server_addresses:HideServerAddresses
|
||||
hosts = nova.api.openstack.compute.hosts:Hosts
|
||||
hypervisors = nova.api.openstack.compute.hypervisors:Hypervisors
|
||||
images = nova.api.openstack.compute.images:Images
|
||||
image_metadata = nova.api.openstack.compute.image_metadata:ImageMetadata
|
||||
image_size = nova.api.openstack.compute.image_size:ImageSize
|
||||
instance_actions = nova.api.openstack.compute.instance_actions:InstanceActions
|
||||
instance_usage_audit_log = nova.api.openstack.compute.instance_usage_audit_log:InstanceUsageAuditLog
|
||||
ips = nova.api.openstack.compute.ips:IPs
|
||||
keypairs = nova.api.openstack.compute.keypairs:Keypairs
|
||||
limits = nova.api.openstack.compute.limits:Limits
|
||||
lock_server = nova.api.openstack.compute.lock_server:LockServer
|
||||
migrate_server = nova.api.openstack.compute.migrate_server:MigrateServer
|
||||
migrations = nova.api.openstack.compute.migrations:Migrations
|
||||
multinic = nova.api.openstack.compute.multinic:Multinic
|
||||
multiple_create = nova.api.openstack.compute.multiple_create:MultipleCreate
|
||||
networks = nova.api.openstack.compute.networks:Networks
|
||||
networks_associate = nova.api.openstack.compute.networks_associate:NetworksAssociate
|
||||
pause_server = nova.api.openstack.compute.pause_server:PauseServer
|
||||
# NOTE(cyeoh): this is intentionally disabled until microversions is active.
|
||||
# See https://bugs.launchpad.net/nova/+bug/1426241
|
||||
# pci = nova.api.openstack.compute.plugins.v3.pci:Pci
|
||||
personality = nova.api.openstack.compute.plugins.v3.personality:Personality
|
||||
preserve_ephemeral_rebuild = nova.api.openstack.compute.plugins.v3.preserve_ephemeral_rebuild:PreserveEphemeralRebuild
|
||||
quota_classes = nova.api.openstack.compute.plugins.v3.quota_classes:QuotaClasses
|
||||
quota_sets = nova.api.openstack.compute.plugins.v3.quota_sets:QuotaSets
|
||||
remote_consoles = nova.api.openstack.compute.plugins.v3.remote_consoles:RemoteConsoles
|
||||
rescue = nova.api.openstack.compute.plugins.v3.rescue:Rescue
|
||||
scheduler_hints = nova.api.openstack.compute.plugins.v3.scheduler_hints:SchedulerHints
|
||||
security_group_default_rules = nova.api.openstack.compute.plugins.v3.security_group_default_rules:SecurityGroupDefaultRules
|
||||
security_groups = nova.api.openstack.compute.plugins.v3.security_groups:SecurityGroups
|
||||
server_diagnostics = nova.api.openstack.compute.plugins.v3.server_diagnostics:ServerDiagnostics
|
||||
server_external_events = nova.api.openstack.compute.plugins.v3.server_external_events:ServerExternalEvents
|
||||
server_metadata = nova.api.openstack.compute.plugins.v3.server_metadata:ServerMetadata
|
||||
server_password = nova.api.openstack.compute.plugins.v3.server_password:ServerPassword
|
||||
server_usage = nova.api.openstack.compute.plugins.v3.server_usage:ServerUsage
|
||||
server_groups = nova.api.openstack.compute.plugins.v3.server_groups:ServerGroups
|
||||
servers = nova.api.openstack.compute.plugins.v3.servers:Servers
|
||||
services = nova.api.openstack.compute.plugins.v3.services:Services
|
||||
shelve = nova.api.openstack.compute.plugins.v3.shelve:Shelve
|
||||
simple_tenant_usage = nova.api.openstack.compute.plugins.v3.simple_tenant_usage:SimpleTenantUsage
|
||||
suspend_server = nova.api.openstack.compute.plugins.v3.suspend_server:SuspendServer
|
||||
tenant_networks = nova.api.openstack.compute.plugins.v3.tenant_networks:TenantNetworks
|
||||
used_limits = nova.api.openstack.compute.plugins.v3.used_limits:UsedLimits
|
||||
user_data = nova.api.openstack.compute.plugins.v3.user_data:UserData
|
||||
versions = nova.api.openstack.compute.plugins.v3.versions:Versions
|
||||
virtual_interfaces = nova.api.openstack.compute.plugins.v3.virtual_interfaces:VirtualInterfaces
|
||||
volumes = nova.api.openstack.compute.plugins.v3.volumes:Volumes
|
||||
# pci = nova.api.openstack.compute.pci:Pci
|
||||
personality = nova.api.openstack.compute.personality:Personality
|
||||
preserve_ephemeral_rebuild = nova.api.openstack.compute.preserve_ephemeral_rebuild:PreserveEphemeralRebuild
|
||||
quota_classes = nova.api.openstack.compute.quota_classes:QuotaClasses
|
||||
quota_sets = nova.api.openstack.compute.quota_sets:QuotaSets
|
||||
remote_consoles = nova.api.openstack.compute.remote_consoles:RemoteConsoles
|
||||
rescue = nova.api.openstack.compute.rescue:Rescue
|
||||
scheduler_hints = nova.api.openstack.compute.scheduler_hints:SchedulerHints
|
||||
security_group_default_rules = nova.api.openstack.compute.security_group_default_rules:SecurityGroupDefaultRules
|
||||
security_groups = nova.api.openstack.compute.security_groups:SecurityGroups
|
||||
server_diagnostics = nova.api.openstack.compute.server_diagnostics:ServerDiagnostics
|
||||
server_external_events = nova.api.openstack.compute.server_external_events:ServerExternalEvents
|
||||
server_metadata = nova.api.openstack.compute.server_metadata:ServerMetadata
|
||||
server_password = nova.api.openstack.compute.server_password:ServerPassword
|
||||
server_usage = nova.api.openstack.compute.server_usage:ServerUsage
|
||||
server_groups = nova.api.openstack.compute.server_groups:ServerGroups
|
||||
servers = nova.api.openstack.compute.servers:Servers
|
||||
services = nova.api.openstack.compute.services:Services
|
||||
shelve = nova.api.openstack.compute.shelve:Shelve
|
||||
simple_tenant_usage = nova.api.openstack.compute.simple_tenant_usage:SimpleTenantUsage
|
||||
suspend_server = nova.api.openstack.compute.suspend_server:SuspendServer
|
||||
tenant_networks = nova.api.openstack.compute.tenant_networks:TenantNetworks
|
||||
used_limits = nova.api.openstack.compute.used_limits:UsedLimits
|
||||
user_data = nova.api.openstack.compute.user_data:UserData
|
||||
versions = nova.api.openstack.compute.versionsV21:Versions
|
||||
virtual_interfaces = nova.api.openstack.compute.virtual_interfaces:VirtualInterfaces
|
||||
volumes = nova.api.openstack.compute.volumes:Volumes
|
||||
|
||||
nova.api.v3.extensions.server.create =
|
||||
access_ips = nova.api.openstack.compute.plugins.v3.access_ips:AccessIPs
|
||||
availability_zone = nova.api.openstack.compute.plugins.v3.availability_zone:AvailabilityZone
|
||||
block_device_mapping = nova.api.openstack.compute.plugins.v3.block_device_mapping:BlockDeviceMapping
|
||||
block_device_mapping_v1 = nova.api.openstack.compute.plugins.v3.block_device_mapping_v1:BlockDeviceMappingV1
|
||||
config_drive = nova.api.openstack.compute.plugins.v3.config_drive:ConfigDrive
|
||||
disk_config = nova.api.openstack.compute.plugins.v3.disk_config:DiskConfig
|
||||
keypairs_create = nova.api.openstack.compute.plugins.v3.keypairs:Keypairs
|
||||
multiple_create = nova.api.openstack.compute.plugins.v3.multiple_create:MultipleCreate
|
||||
personality = nova.api.openstack.compute.plugins.v3.personality:Personality
|
||||
scheduler_hints = nova.api.openstack.compute.plugins.v3.scheduler_hints:SchedulerHints
|
||||
security_groups = nova.api.openstack.compute.plugins.v3.security_groups:SecurityGroups
|
||||
user_data = nova.api.openstack.compute.plugins.v3.user_data:UserData
|
||||
access_ips = nova.api.openstack.compute.access_ips:AccessIPs
|
||||
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
|
||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||
keypairs_create = nova.api.openstack.compute.keypairs:Keypairs
|
||||
multiple_create = nova.api.openstack.compute.multiple_create:MultipleCreate
|
||||
personality = nova.api.openstack.compute.personality:Personality
|
||||
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.v3.extensions.server.rebuild =
|
||||
access_ips = nova.api.openstack.compute.plugins.v3.access_ips:AccessIPs
|
||||
disk_config = nova.api.openstack.compute.plugins.v3.disk_config:DiskConfig
|
||||
personality = nova.api.openstack.compute.plugins.v3.personality:Personality
|
||||
preserve_ephemeral_rebuild = nova.api.openstack.compute.plugins.v3.preserve_ephemeral_rebuild:PreserveEphemeralRebuild
|
||||
access_ips = nova.api.openstack.compute.access_ips:AccessIPs
|
||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||
personality = nova.api.openstack.compute.personality:Personality
|
||||
preserve_ephemeral_rebuild = nova.api.openstack.compute.preserve_ephemeral_rebuild:PreserveEphemeralRebuild
|
||||
|
||||
nova.api.v3.extensions.server.update =
|
||||
access_ips = nova.api.openstack.compute.plugins.v3.access_ips:AccessIPs
|
||||
disk_config = nova.api.openstack.compute.plugins.v3.disk_config:DiskConfig
|
||||
access_ips = nova.api.openstack.compute.access_ips:AccessIPs
|
||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||
|
||||
nova.api.v3.extensions.server.resize =
|
||||
disk_config = nova.api.openstack.compute.plugins.v3.disk_config:DiskConfig
|
||||
disk_config = nova.api.openstack.compute.disk_config:DiskConfig
|
||||
|
||||
nova.api.v3.test_extensions =
|
||||
basic = nova.tests.unit.api.openstack.compute.test_plugins.basic:Basic
|
||||
|
Loading…
x
Reference in New Issue
Block a user