summaryrefslogtreecommitdiffstats
path: root/contrail-openstack/templates/ContrailPlugin.ini
diff options
context:
space:
mode:
Diffstat (limited to 'contrail-openstack/templates/ContrailPlugin.ini')
-rw-r--r--contrail-openstack/templates/ContrailPlugin.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrail-openstack/templates/ContrailPlugin.ini b/contrail-openstack/templates/ContrailPlugin.ini
new file mode 100644
index 0000000..5ba9bed
--- /dev/null
+++ b/contrail-openstack/templates/ContrailPlugin.ini
@@ -0,0 +1,25 @@
+###############################################################################
+# [ WARNING ]
+# Configuration file maintained by Juju. Local changes may be overwritten.
+###############################################################################
+
+[APISERVER]
+api_server_ip = {{ api_server }}
+api_server_port = {{ api_port }}
+multi_tenancy = True
+
+{%- if ssl_enabled %}
+use_ssl = True
+insecure = False
+cafile = {{ ssl_ca_path }}
+{%- endif %}
+
+{%- if keystone_ip %}
+[keystone_authtoken]
+auth_host = {{ keystone_ip }}
+auth_port = {{ keystone_public_port }}
+auth_protocol = {{ keystone_protocol }}
+admin_user = {{ keystone_admin_user }}
+admin_password = {{ keystone_admin_password }}
+admin_tenant_name = {{ keystone_admin_tenant }}
+{%- endif %}