diff options
author | Stuart Mackie <wsmackie@juniper.net> | 2016-10-07 12:24:58 -0700 |
---|---|---|
committer | Stuart Mackie <wsmackie@juniper.net> | 2016-10-07 12:24:58 -0700 |
commit | 4faa7f927149a5c4ef7a03523f7bc14523cb9baa (patch) | |
tree | 0be55aa0809cc395e45baeae63db660b4e72fe83 /charms/trusty/contrail-configuration/templates | |
parent | 82f1a7eb5535b30a95b1e71ff18c315d40d1e6f0 (diff) |
Charms for Contrail 3.1 with Mitaka
Change-Id: Id37f3b9743d1974e31fcd7cd9c54be41bb0c47fb
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'charms/trusty/contrail-configuration/templates')
9 files changed, 195 insertions, 0 deletions
diff --git a/charms/trusty/contrail-configuration/templates/basicauthusers.properties b/charms/trusty/contrail-configuration/templates/basicauthusers.properties new file mode 100644 index 0000000..3a39e5c --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/basicauthusers.properties @@ -0,0 +1,25 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +test:test +dhcp:dhcp +visual:visual +sensor:sensor + +# compliance testsuite users +mapclient:mapclient +helper:mapclient + +# This is a read-only MAPC +reader:reader + +# OpenContrail users +api-server:api-server +schema-transformer:schema-transformer +svc-monitor:svc-monitor + +{% for cred in ifmap_creds -%} +{{ cred["username"] }}:{{ cred["password"] }} +{% endfor -%} diff --git a/charms/trusty/contrail-configuration/templates/contrail-api.conf b/charms/trusty/contrail-configuration/templates/contrail-api.conf new file mode 100644 index 0000000..2040c19 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-api.conf @@ -0,0 +1,30 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULTS] +log_file = /var/log/contrail/contrail-api.log +ifmap_server_ip = {{ ifmap_server }} +ifmap_username = api-server +ifmap_password = api-server +cassandra_server_list = {{ cassandra_servers|join(" ") }} +auth = keystone +multi_tenancy = True +disc_server_ip = {{ disc_server }} +disc_server_port = {{ disc_port }} +zk_server_ip = {{ zk_servers|join(",") }} +rabbit_server = {{ rabbit_servers|join(",") }} +rabbit_user = {{ rabbit_user }} +rabbit_password = {{ rabbit_password }} +rabbit_vhost = {{ rabbit_vhost }} + +[KEYSTONE] +auth_host = {{ auth_host }} +auth_port = {{ auth_port }} +auth_protocol = http +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +admin_token = +admin_tenant_name = {{ admin_tenant_name }} + diff --git a/charms/trusty/contrail-configuration/templates/contrail-barbican-auth.conf b/charms/trusty/contrail-configuration/templates/contrail-barbican-auth.conf new file mode 100644 index 0000000..84ab4a0 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-barbican-auth.conf @@ -0,0 +1,13 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULT] +auth_url = http://{{ auth_host }}:{{ auth_port }}/v2.0 +auth_version = 2 +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +admin_tenant_name = {{ admin_tenant_name }} +region = {{ auth_region }} + diff --git a/charms/trusty/contrail-configuration/templates/contrail-config-nodemgr.conf b/charms/trusty/contrail-configuration/templates/contrail-config-nodemgr.conf new file mode 100644 index 0000000..a49d020 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-config-nodemgr.conf @@ -0,0 +1,9 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DISCOVERY] +server = {{ disc_server }} +port = {{ disc_port }} + diff --git a/charms/trusty/contrail-configuration/templates/contrail-device-manager.conf b/charms/trusty/contrail-configuration/templates/contrail-device-manager.conf new file mode 100644 index 0000000..7dca344 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-device-manager.conf @@ -0,0 +1,25 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULTS] +api_server_ip = 127.0.0.1 +api_server_port = {{ api_port }} +zk_server_ip = {{ zk_servers|join(",") }} +log_file = /var/log/contrail/contrail-device-manager.log +log_local = 1 +log_level = SYS_NOTICE +disc_server_ip = 127.0.0.1 +disc_server_port = {{ disc_port }} +cassandra_server_list = {{ cassandra_servers|join(" ") }} +rabbit_server = {{ rabbit_servers|join(",") }} +rabbit_user = {{ rabbit_user }} +rabbit_password = {{ rabbit_password }} +rabbit_vhost = {{ rabbit_vhost }} + +[KEYSTONE] +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +admin_tenant_name = {{ admin_tenant_name }} + diff --git a/charms/trusty/contrail-configuration/templates/contrail-schema.conf b/charms/trusty/contrail-configuration/templates/contrail-schema.conf new file mode 100644 index 0000000..7e0d3ed --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-schema.conf @@ -0,0 +1,24 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULTS] +log_file = /var/log/contrail/contrail-schema.log +cassandra_server_list = {{ cassandra_servers|join(" ") }} +zk_server_ip = {{ zk_servers|join(",") }} +disc_server_ip = 127.0.0.1 +disc_server_port = {{ disc_port }} +api_server_port = {{ api_port }} +{%- if rabbitmq %} +rabbit_server = {{ rabbit_servers|join(",") }} +rabbit_user = {{ rabbit_user }} +rabbit_password = {{ rabbit_password }} +rabbit_vhost = {{ rabbit_vhost }} +{%- endif %} + +[KEYSTONE] +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +admin_tenant_name = {{ admin_tenant_name }} + diff --git a/charms/trusty/contrail-configuration/templates/contrail-svc-monitor.conf b/charms/trusty/contrail-configuration/templates/contrail-svc-monitor.conf new file mode 100644 index 0000000..bf912b1 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/contrail-svc-monitor.conf @@ -0,0 +1,35 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULTS] +ifmap_server_ip = 127.0.0.1 +ifmap_server_port = 8443 +ifmap_username = svc-monitor +ifmap_password = svc-monitor +api_server_ip = 127.0.0.1 +api_server_port = {{ api_port }} +zk_server_ip = {{ zk_servers|join(",") }} +log_file = /var/log/contrail/contrail-svc-monitor.log +log_local = 1 +log_level = SYS_NOTICE +disc_server_ip = 127.0.0.1 +disc_server_port = {{ disc_port }} +cassandra_server_list = {{ cassandra_servers|join(" ") }} +rabbit_server = {{ rabbit_servers|join(",") }} +rabbit_user = {{ rabbit_user }} +rabbit_password = {{ rabbit_password }} +rabbit_vhost = {{ rabbit_vhost }} + +[KEYSTONE] +auth_host = {{ auth_host }} +admin_user = {{ admin_user }} +admin_password = {{ admin_password }} +admin_tenant_name = {{ admin_tenant_name }} +admin_token = + +[SCHEDULER] +analytics_server_ip = {{ analytics_server_ip }} +analytics_server_port = {{ analytics_server_port }} + diff --git a/charms/trusty/contrail-configuration/templates/discovery.conf b/charms/trusty/contrail-configuration/templates/discovery.conf new file mode 100644 index 0000000..bcb500d --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/discovery.conf @@ -0,0 +1,18 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[DEFAULTS] +zk_server_ip = {{ zk_servers|join(",") }} +listen_ip_addr = 0.0.0.0 +listen_port = 5998 +log_local = True +log_file = /var/log/contrail/discovery.log +cassandra_server_list = {{ cassandra_servers|join(" ") }} +ttl_min = 300 +ttl_max = 1800 +hc_interval = 5 +hc_max_miss = 3 +ttl_short = 1 + diff --git a/charms/trusty/contrail-configuration/templates/vnc_api_lib.ini b/charms/trusty/contrail-configuration/templates/vnc_api_lib.ini new file mode 100644 index 0000000..4cfbac9 --- /dev/null +++ b/charms/trusty/contrail-configuration/templates/vnc_api_lib.ini @@ -0,0 +1,16 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[global] +WEB_SERVER = 127.0.0.1 +WEB_PORT = {{ api_port }} + +[auth] +AUTHN_TYPE = keystone +AUTHN_PROTOCOL = http +AUTHN_SERVER = {{ auth_host }} +AUTHN_PORT = {{ auth_port }} +AUTHN_URL = /v2.0/tokens + |