diff options
author | Sylvain Baubeau <sbaubeau@redhat.com> | 2015-11-16 17:24:43 +0100 |
---|---|---|
committer | Sylvain Baubeau <sbaubeau@redhat.com> | 2016-03-14 10:21:03 +0100 |
commit | b5f00c416b767b167bbd3d8f61f2b9a534aa5432 (patch) | |
tree | cb16bdc8134ab1562191a0adf36bda7e7023a6a1 /roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2 | |
parent | dc8938e01202db0464e54becf4812c3191ce2d51 (diff) | |
download | openshift-b5f00c416b767b167bbd3d8f61f2b9a534aa5432.tar.gz openshift-b5f00c416b767b167bbd3d8f61f2b9a534aa5432.tar.bz2 openshift-b5f00c416b767b167bbd3d8f61f2b9a534aa5432.tar.xz openshift-b5f00c416b767b167bbd3d8f61f2b9a534aa5432.zip |
Add support for Openstack integration
Diffstat (limited to 'roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2')
-rw-r--r-- | roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2 b/roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2 new file mode 100644 index 000000000..388f3a735 --- /dev/null +++ b/roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2 @@ -0,0 +1,17 @@ +[Global] +auth-url = {{ ocp_os_auth_url }} +username = {{ ocp_os_username }} +password = {{ ocp_os_password }} +{% if ocp_os_tenant_id %} +tenant-id = {{ ocp_os_tenant_id }} +{% else %} +tenant-name = {{ ocp_os_tenant_name }} +{% endif %} +{% if ocp_os_region %} +region = {{ ocp_os_region }} +{% endif %} +{% if ocp_os_lb_subnet_id is defined %} ++ ++[LoadBalancer] ++subnet-id = {{ ocp_os_lb_subnet_id }} ++{% endif %}
\ No newline at end of file |