Add config and verbose to the context
This commit is contained in:
parent
187386b327
commit
8199af8fc1
@ -35,6 +35,8 @@ class NeutronCCContext(context.NeutronContext):
|
|||||||
def __call__(self):
|
def __call__(self):
|
||||||
ctxt = super(NeutronCCContext, self).__call__()
|
ctxt = super(NeutronCCContext, self).__call__()
|
||||||
ctxt['external_network'] = config('neutron-external-network')
|
ctxt['external_network'] = config('neutron-external-network')
|
||||||
|
ctxt['verbose'] = config('verbose')
|
||||||
|
ctxt['debug'] = config('debug')
|
||||||
for rid in relation_ids('neutron-api'):
|
for rid in relation_ids('neutron-api'):
|
||||||
for unit in related_units(rid):
|
for unit in related_units(rid):
|
||||||
ctxt['nova_url'] = relation_get(attribute='nova_url', rid=rid, unit=unit)
|
ctxt['nova_url'] = relation_get(attribute='nova_url', rid=rid, unit=unit)
|
||||||
|
Loading…
Reference in New Issue
Block a user