Add region support via relation to cloud-controller
This commit is contained in:
parent
2541fac51d
commit
44a31d9023
@ -135,7 +135,9 @@ def get_keystone_conf():
|
||||
"quantum_host": utils.relation_get('quantum_host',
|
||||
unit, relid),
|
||||
"quantum_port": utils.relation_get('quantum_port',
|
||||
unit, relid)
|
||||
unit, relid),
|
||||
"region": utils.relation_get('region',
|
||||
unit, relid)
|
||||
}
|
||||
if None not in conf.itervalues():
|
||||
return conf
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
|
||||
auth_url = http://{{ keystone_host }}:{{ service_port }}/v2.0
|
||||
auth_region = RegionOne
|
||||
auth_region = {{ region }}
|
||||
admin_tenant_name = {{ service_tenant }}
|
||||
admin_user = {{ service_username }}
|
||||
admin_password = {{ service_password }}
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
debug = True
|
||||
auth_url = http://{{ keystone_host }}:{{ service_port }}/v2.0
|
||||
auth_region = RegionOne
|
||||
auth_region = {{ region }}
|
||||
admin_tenant_name = {{ service_tenant }}
|
||||
admin_user = {{ service_username }}
|
||||
admin_password = {{ service_password }}
|
||||
|
Loading…
Reference in New Issue
Block a user