summaryrefslogtreecommitdiffstats
path: root/deploy/puppet/gluon/templates/proton-shim.conf.erb
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2017-02-03 10:38:42 +0100
committerGeorg Kunz <georg.kunz@ericsson.com>2017-02-06 16:08:55 +0100
commit77804f22bf3e76f3080f27f426aa8dbc8c86b87d (patch)
tree82a26de352159bf5e209ccc88c25cf667462a88b /deploy/puppet/gluon/templates/proton-shim.conf.erb
parent94aefc7d43d2dcdbfb6a0951f9120d9e17f6db74 (diff)
Restructuring Gluon puppet manifests
Structuring the puppet manifests similar to how it is done in OpenDaylight and etcd. Change-Id: I9d0fb60ddd626129b38b1f642ce3894ca3098cc4 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'deploy/puppet/gluon/templates/proton-shim.conf.erb')
-rw-r--r--deploy/puppet/gluon/templates/proton-shim.conf.erb31
1 files changed, 31 insertions, 0 deletions
diff --git a/deploy/puppet/gluon/templates/proton-shim.conf.erb b/deploy/puppet/gluon/templates/proton-shim.conf.erb
new file mode 100644
index 0000000..e8470d5
--- /dev/null
+++ b/deploy/puppet/gluon/templates/proton-shim.conf.erb
@@ -0,0 +1,31 @@
+[shim]
+# IP of the etcd server
+etcd_host = <%= scope.lookupvar('gluon::etcd_bind_ip') %>
+
+# Port of the etcd server
+etcd_port = <%= scope.lookupvar('gluon::etcd_client_port') %>
+
+# The shim server only handles bind requests for ports on specific compute hosts. This
+# configuration option allows to specify a list of compute hosts or '*' as wildcard
+# matching all hosts
+# host_list = host1,host2,host3
+host_list = *
+
+# Select the model to load with the corresponding backend. This config option is a dict
+# where the key represents the name of the model and the value the name of the backend
+# which is to be used for this model.
+handlers = net-l3vpn:net-l3vpn-odl
+
+
+[shim_odl]
+# IP of the OpenDaylight RESTconf interface. Typically needs to be changed after installation.
+odl_host = <%= scope.lookupvar('gluon::odl_bind_ip') %>
+
+# Default port of the RESTconf interface.
+odl_port = <%= scope.lookupvar('gluon::odl_rest_port') %>
+
+# Default user for accessing the OpenDaylight RESTconf interface
+odl_user = <%= scope.lookupvar('gluon::odl_username') %>
+
+# Default password of the default user for accessing the OpenDaylight RESTconf interface
+odl_passwd = <%= scope.lookupvar('gluon::odl_password') %>