nova/nova
Dan Smith 159062882e Change MQ targeting to honor only what is in the context
Previously we had aimed to make things like compute RPC automatically
look up the InstanceMapping or HostMapping for the call being performed
to target appropriately. However, we cannot do that within the cell,
and even trying incurs some overhead. For now, just deprecate the
by_instance() and by_host() methods and honor what is in the context
(if set) and otherwise fall back to the default client. Make the context
target routines create and store the RPC transport and remove the caching
logic from the ClientRouter since we're removing its ability to do that.

Related to blueprint cells-aware-api
Change-Id: I10f374adca672576058c4dbab708c040d166df47
2017-03-10 07:00:32 -08:00
..
CA
api Teach simple_tenant_usage about cells 2017-03-09 07:44:27 -08:00
cells Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00
cert Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Use flake8-import-order 2017-03-06 06:50:23 -08:00
common cors: update default configuration in config 2016-11-05 20:17:42 -04:00
compute Teach os-migrations about cells 2017-03-09 07:44:27 -08:00
conductor Target cell in super conductor operations 2017-03-08 12:49:55 -08:00
conf Merge "Use Cinder API v3 as default" 2017-03-09 21:14:58 +00:00
console Add RPC version aliases for Ocata 2017-02-27 18:37:48 +04:00
consoleauth Make consoleauth target the proper cell 2017-03-07 15:33:50 -08:00
db Add comment to instance_destroy() 2017-03-03 14:26:48 -06:00
hacking Enable global hacking checks and removed local checks 2017-02-10 15:09:37 +01:00
image Avoid using fdatasync() when fetching images 2017-03-09 13:20:10 +02:00
ipv6
keymgr
locale Imported Translations from Zanata 2017-03-03 10:09:38 +00:00
network Merge "Add RPC version aliases for Ocata" 2017-03-07 00:23:19 +00:00
notifications Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
objects Merge "Remove unused logging import" 2017-02-27 17:24:54 +00:00
pci [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
policies Separate CRUD policy for server_groups 2016-11-21 11:43:13 -05:00
scheduler Merge "Use flake8-import-order" 2017-03-07 12:45:17 +00:00
servicegroup Don't use 'updated_at' to check service's status 2016-12-08 09:51:03 +00:00
tests Change MQ targeting to honor only what is in the context 2017-03-10 07:00:32 -08:00
virt Merge "numa: add numa constraints for emulator threads policy" 2017-03-09 11:15:57 +00:00
vnc
volume Use Cinder API v3 as default 2017-03-07 14:18:26 +01:00
wsgi Clarify the language in the apache wsgi sample 2017-02-02 15:43:25 -08:00
__init__.py
availability_zones.py Port test_metadata to Python 3 2016-11-29 11:28:24 +08:00
baserpc.py
block_device.py Merge "Fix some typo errors" 2017-02-23 04:09:33 +00:00
cache_utils.py
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Change MQ targeting to honor only what is in the context 2017-03-10 07:00:32 -08:00
crypto.py
debugger.py
exception.py Merge "numa: add numa constraints for emulator threads policy" 2017-03-09 11:15:57 +00:00
exception_wrapper.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
filters.py
hash_ring.py
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
rpc.py Change MQ targeting to honor only what is in the context 2017-03-10 07:00:32 -08:00
safe_utils.py
service.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
signature_utils.py
test.py Use flake8-import-order 2017-03-06 06:50:23 -08:00
utils.py Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
version.py
weights.py Correct some spelling errors 2017-02-25 02:45:30 +00:00
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00