nova/nova/api/openstack/compute/views
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
..
__init__.py Implements blueprint separate-nova-volumeapi 2012-01-13 09:06:55 -08:00
addresses.py Merge v21 view builder for ips API 2016-12-05 18:11:25 +09:00
flavors.py Remove the deprecated API extensions policies 2018-08-17 07:11:45 +00:00
hypervisors.py Microversion 2.33 adds pagination support for hypervisors 2016-07-01 08:47:50 +08:00
images.py Merge image_size extension response into image view builder 2018-10-18 01:59:34 +00:00
instance_actions.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
keypairs.py Microversion 2.35 adds keypairs pagination support 2016-07-12 19:48:05 +03:00
limits.py Merge used_limits extension response into limit view builder 2018-10-11 10:00:31 +00:00
migrations.py Add pagination and Changes-since filter support for os-migrations. 2018-01-10 14:02:53 -05:00
server_diagnostics.py Standardization of VM diagnostics info API. 2017-06-05 07:45:51 +00:00
server_tags.py Added server tags controller 2016-04-06 16:37:22 +03:00
servers.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
usages.py Simple tenant usage pagination 2016-12-14 03:33:50 +00:00
versions.py Replace os.path.join() for URLs 2015-12-08 17:46:34 +00:00