summaryrefslogtreecommitdiffstats
path: root/charms/trusty/neutron-contrail/files
diff options
context:
space:
mode:
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": [
+ ]
+}