Restore relation with neutron-api service

A previous commit removed the use of the NeutronAPIContext with
the nova.conf template; restore this context to ensure that
a) the relation is detected when assessing status and b) that
neutron-api relation data is avaliable to the nova.conf template.

Change-Id: Id55800095b9a2d0a5807288ff5f67d71755f9948
This commit is contained in:
James Page 2016-04-11 12:02:57 +01:00
parent 1e17fbc64e
commit dee3e41231

View File

@ -230,7 +230,8 @@ BASE_RESOURCE_MAP = OrderedDict([
nova_cc_context.InstanceConsoleContext(),
nova_cc_context.ConsoleSSLContext(),
nova_cc_context.CloudComputeContext(),
context.InternalEndpointContext()],
context.InternalEndpointContext(),
nova_cc_context.NeutronAPIContext()],
}),
(NOVA_API_PASTE, {
'services': [s for s in resolve_services() if 'api' in s],