From 97e6e33a25e7f3df0385b54e58c21d98cb165ac1 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Fri, 13 Feb 2015 09:12:57 -0800 Subject: Change queries for network services to use binary instead of topic This makes nova/network bits use get_by_host_and_binary instead of querying by RPC topic to locate nova-network services. Change-Id: Id3e61440fab7f774dd62423b072c3c727b4ed853 --- nova/tests/unit/fake_hosts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nova/tests/unit/fake_hosts.py') diff --git a/nova/tests/unit/fake_hosts.py b/nova/tests/unit/fake_hosts.py index 78fa414ac7..bd091fa4e5 100644 --- a/nova/tests/unit/fake_hosts.py +++ b/nova/tests/unit/fake_hosts.py @@ -33,5 +33,7 @@ HOST_LIST_NOVA_ZONE = [ service_base = test_service.fake_service SERVICES_LIST = [ - dict(service_base, host='host_c1', topic='compute'), - dict(service_base, host='host_c2', topic='compute')] + dict(service_base, host='host_c1', topic='compute', + binary='nova-compute'), + dict(service_base, host='host_c2', topic='compute', + binary='nova-compute')] -- cgit v1.2.1