summaryrefslogtreecommitdiffstats
path: root/charms/trusty/neutron-contrail/files
diff options
context:
space:
mode:
authorStuart Mackie <wsmackie@juniper.net>2016-10-07 12:24:58 -0700
committerStuart Mackie <wsmackie@juniper.net>2016-10-07 12:24:58 -0700
commit4faa7f927149a5c4ef7a03523f7bc14523cb9baa (patch)
tree0be55aa0809cc395e45baeae63db660b4e72fe83 /charms/trusty/neutron-contrail/files
parent82f1a7eb5535b30a95b1e71ff18c315d40d1e6f0 (diff)
Charms for Contrail 3.1 with Mitaka
Change-Id: Id37f3b9743d1974e31fcd7cd9c54be41bb0c47fb Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'charms/trusty/neutron-contrail/files')
-rw-r--r--charms/trusty/neutron-contrail/files/60-vrouter-vgw.conf3
-rw-r--r--charms/trusty/neutron-contrail/files/contrail-nodemgr-vrouter.ini6
-rw-r--r--charms/trusty/neutron-contrail/files/contrail-vrouter-nodemgr6
-rw-r--r--charms/trusty/neutron-contrail/files/contrail-vrouter.rules3
4 files changed, 18 insertions, 0 deletions
diff --git a/charms/trusty/neutron-contrail/files/60-vrouter-vgw.conf b/charms/trusty/neutron-contrail/files/60-vrouter-vgw.conf
new file mode 100644
index 0000000..3e7fe4c
--- /dev/null
+++ b/charms/trusty/neutron-contrail/files/60-vrouter-vgw.conf
@@ -0,0 +1,3 @@
+# sysctl values for vrouter gateway
+
+net.ipv4.ip_forward=1
diff --git a/charms/trusty/neutron-contrail/files/contrail-nodemgr-vrouter.ini b/charms/trusty/neutron-contrail/files/contrail-nodemgr-vrouter.ini
new file mode 100644
index 0000000..860812d
--- /dev/null
+++ b/charms/trusty/neutron-contrail/files/contrail-nodemgr-vrouter.ini
@@ -0,0 +1,6 @@
+[eventlistener:contrail-vrouter-nodemgr]
+command=/bin/bash -c "exec python /usr/bin/contrail-nodemgr --nodetype=contrail-vrouter"
+events=PROCESS_COMMUNICATION,PROCESS_STATE,TICK_60
+buffer_size=10000
+stdout_logfile=/var/log/contrail/contrail-vrouter-nodemgr-stdout.log
+stderr_logfile=/var/log/contrail/contrail-vrouter-nodemgr-stderr.log
diff --git a/charms/trusty/neutron-contrail/files/contrail-vrouter-nodemgr b/charms/trusty/neutron-contrail/files/contrail-vrouter-nodemgr
new file mode 100644
index 0000000..1c6a55b
--- /dev/null
+++ b/charms/trusty/neutron-contrail/files/contrail-vrouter-nodemgr
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# chkconfig: 2345 99 01
+# description: Juniper Network vRouter Node Manager
+
+supervisorctl -s unix:///tmp/supervisord_vrouter.sock ${1} `basename ${0}`
diff --git a/charms/trusty/neutron-contrail/files/contrail-vrouter.rules b/charms/trusty/neutron-contrail/files/contrail-vrouter.rules
new file mode 100644
index 0000000..54cba11
--- /dev/null
+++ b/charms/trusty/neutron-contrail/files/contrail-vrouter.rules
@@ -0,0 +1,3 @@
+{ "Rules": [
+ ]
+}