nova/nova/api/openstack/compute
Eric Fried b4c03e325b Remove nova.compute.*API() shims
When we had cellsv1, we had two different sets of
[Host|InstanceAction|ComputeCells]API. Now that cellsv1 is gone, we only
need nova.compute.api.API, .HostAPI, and .InstanceActionAPI. This patch
removes the dynamic loader shims from nova/compute/__init__.py and swaps
out all references to directly access the classes in nova.compute.api.

Note that there are a couple of ways we could have done this. One way
would have been to replace

  from nova import compute

with

  from nova.compute import api

and then change

  self.compute_api = compute.API()

to

  self.compute_api = api.API()

However, the current approach was preferred because
- smaller delta
- the code reads better as compute.API(), which is more important than
  the import being pretty

cleanup for blueprint remove-cells-v1

Change-Id: I84d9692efa3a131d6392dbd1011dfc43e4ac0b53
2019-06-12 16:09:46 +01:00
..
schemas Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
views Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
__init__.py Use plain routes list for '/servers' endpoint instead of stevedore 2017-04-25 22:38:33 +08:00
admin_actions.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
admin_password.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
agents.py Remove extensions module 2017-12-20 11:35:38 +08:00
aggregates.py Remove extensions module 2017-12-20 11:35:38 +08:00
assisted_volume_snapshots.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
attach_interfaces.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
availability_zone.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
baremetal_nodes.py Remove [ironic]api_endpoint option 2019-04-26 12:02:02 -05:00
cells.py Remove '/os-cells' REST APIs 2019-04-16 18:26:13 +01:00
certificates.py Remove extensions module 2017-12-20 11:35:38 +08:00
cloudpipe.py Remove extensions module 2017-12-20 11:35:38 +08:00
console_auth_tokens.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
console_output.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
consoles.py Remove extensions module 2017-12-20 11:35:38 +08:00
create_backup.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
deferred_delete.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
evacuate.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
extension_info.py Remove unused LOG variables 2018-02-27 11:19:48 +00:00
fixed_ips.py Remove support for /os-fixed-ips REST API 2018-06-26 09:20:28 -04:00
flavor_access.py Remove extensions module 2017-12-20 11:35:38 +08:00
flavor_manage.py trivial: Remove dead 'ALIAS' constant 2019-04-03 11:27:35 +01:00
flavors.py trivial: Remove dead 'ALIAS' constant 2019-04-03 11:27:35 +01:00
flavors_extraspecs.py Remove extensions module 2017-12-20 11:35:38 +08:00
floating_ip_dns.py Remove support for /os-floating-ip-dns REST API 2018-07-18 22:23:45 -04:00
floating_ip_pools.py Remove extensions module 2017-12-20 11:35:38 +08:00
floating_ips.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
floating_ips_bulk.py Remove support for /os-floating-ips-bulk REST API 2018-07-18 22:23:45 -04:00
fping.py Remove support for /os-fping REST API 2018-05-10 15:26:13 -04:00
helpers.py remove personality extension 2016-06-24 14:44:53 -04:00
hosts.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
hypervisors.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
image_metadata.py Remove extensions module 2017-12-20 11:35:38 +08:00
images.py Remove the caching the resource on Request object 2018-10-18 01:59:55 +00:00
instance_actions.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
instance_usage_audit_log.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
ips.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
keypairs.py Merge keypair extension response into server view builder 2018-08-23 09:04:00 -04:00
limits.py Merge used_limits extension response into limit view builder 2018-10-11 10:00:31 +00:00
lock_server.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
migrate_server.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
migrations.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
multinic.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
networks.py Remove extensions module 2017-12-20 11:35:38 +08:00
networks_associate.py Remove extensions module 2017-12-20 11:35:38 +08:00
pause_server.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
quota_classes.py Remove extensions module 2017-12-20 11:35:38 +08:00
quota_sets.py quota: remove QuotaDriver.destroy_all_by_project() 2018-10-24 11:14:31 -04:00
remote_consoles.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
rescue.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
rest_api_version_history.rst Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
routes.py Replace colon with comma in route comment 2019-05-21 14:14:43 +08:00
security_group_default_rules.py Remove extensions module 2017-12-20 11:35:38 +08:00
security_groups.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_diagnostics.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_external_events.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_groups.py Microversion 2.64 - Use new format policy in server group 2018-07-13 10:43:42 +08:00
server_metadata.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_migrations.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_password.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
server_tags.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
servers.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
services.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
shelve.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
simple_tenant_usage.py Fix os-simple-tenant-usage result order 2018-10-26 14:47:52 +00:00
suspend_server.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
tenant_networks.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
versions.py Merge ResourceV21 obj into Resource obj 2017-12-21 19:33:35 +08:00
versionsV21.py Remove extensions module 2017-12-20 11:35:38 +08:00
virtual_interfaces.py Remove support for /os-virtual-interfaces REST API 2018-06-06 21:14:39 +00:00
volumes.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
wsgi.py Add pbr-installed wsgi application for metadata api 2017-05-02 16:58:11 +00:00