Permalink
Please sign in to comment.
Browse files
Add support for network spaces
Add extra-bindings for public, internal and admin network spaces. Change-Id: I7c3ec5a7a1b6f6c7e1cf26146360f1af1d9eaf3c
- Loading branch information...
Showing
with
60 additions
and 21 deletions.
- +1 −1 charm-helpers-hooks.yaml
- +21 −6 hooks/charmhelpers/contrib/openstack/ip.py
- +5 −13 hooks/charmhelpers/contrib/openstack/templates/section-keystone-authtoken
- +10 −0 hooks/charmhelpers/contrib/openstack/templates/section-keystone-authtoken-legacy
- +13 −0 hooks/charmhelpers/core/hookenv.py
- +4 −0 metadata.yaml
- +6 −1 tests/charmhelpers/contrib/amulet/utils.py
| @@ -1,20 +1,12 @@ | ||
| {% if auth_host -%} | ||
| -{% if api_version == '3' -%} | ||
| [keystone_authtoken] | ||
| -auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }} | ||
| +auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }} | ||
| +auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }} | ||
| +auth_plugin = password | ||
| +project_domain_id = default | ||
| +user_domain_id = default | ||
| project_name = {{ admin_tenant_name }} | ||
| username = {{ admin_user }} | ||
| password = {{ admin_password }} | ||
| -project_domain_name = default | ||
| -user_domain_name = default | ||
| -auth_plugin = password | ||
| -{% else -%} | ||
| -[keystone_authtoken] | ||
| -identity_uri = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/{{ auth_admin_prefix }} | ||
| -auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/{{ service_admin_prefix }} | ||
| -admin_tenant_name = {{ admin_tenant_name }} | ||
| -admin_user = {{ admin_user }} | ||
| -admin_password = {{ admin_password }} | ||
| signing_dir = {{ signing_dir }} | ||
| {% endif -%} | ||
| -{% endif -%} |
| @@ -0,0 +1,10 @@ | ||
| +{% if auth_host -%} | ||
| +[keystone_authtoken] | ||
| +# Juno specific config (Bug #1557223) | ||
| +auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/{{ service_admin_prefix }} | ||
| +identity_uri = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }} | ||
| +admin_tenant_name = {{ admin_tenant_name }} | ||
| +admin_user = {{ admin_user }} | ||
| +admin_password = {{ admin_password }} | ||
| +signing_dir = {{ signing_dir }} | ||
| +{% endif -%} |
0 comments on commit
665c34b