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/files | |
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/files')
5 files changed, 40 insertions, 0 deletions
diff --git a/charms/trusty/contrail-configuration/files/contrail-config-nodemgr b/charms/trusty/contrail-configuration/files/contrail-config-nodemgr new file mode 100644 index 0000000..ce0c164 --- /dev/null +++ b/charms/trusty/contrail-configuration/files/contrail-config-nodemgr @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# chkconfig: 2345 99 01 +# description: Juniper Network Configuration Node Manager + +supervisorctl -s unix:///tmp/supervisord_config.sock ${1} `basename ${0}` diff --git a/charms/trusty/contrail-configuration/files/contrail-nodemgr-config.ini b/charms/trusty/contrail-configuration/files/contrail-nodemgr-config.ini new file mode 100644 index 0000000..ef07ff0 --- /dev/null +++ b/charms/trusty/contrail-configuration/files/contrail-nodemgr-config.ini @@ -0,0 +1,6 @@ +[eventlistener:contrail-config-nodemgr] +command=/bin/bash -c "exec python /usr/bin/contrail-nodemgr --nodetype=contrail-config" +events=PROCESS_COMMUNICATION,PROCESS_STATE,TICK_60 +buffer_size=10000 +stdout_logfile=/var/log/contrail/contrail-config-nodemgr-stdout.log +stderr_logfile=/var/log/contrail/contrail-config-nodemgr-stderr.log diff --git a/charms/trusty/contrail-configuration/files/ifmap b/charms/trusty/contrail-configuration/files/ifmap new file mode 100644 index 0000000..d5202b0 --- /dev/null +++ b/charms/trusty/contrail-configuration/files/ifmap @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# chkconfig: 2345 99 01 +# description: Juniper Network Virtualization API + +supervisorctl -s unix:///tmp/supervisord_config.sock ${1} `basename ${0}` diff --git a/charms/trusty/contrail-configuration/files/ifmap.ini b/charms/trusty/contrail-configuration/files/ifmap.ini new file mode 100644 index 0000000..360af2a --- /dev/null +++ b/charms/trusty/contrail-configuration/files/ifmap.ini @@ -0,0 +1,12 @@ +[program:ifmap] +command=/usr/bin/ifmap-server +priority=420 +autostart=true +autorestart=true +killasgroup=true +stopasgroup=true +stopsignal=TERM +redirect_stderr=true +stdout_logfile=/var/log/contrail/ifmap-stdout.log +stderr_logfile=/dev/null +user=contrail diff --git a/charms/trusty/contrail-configuration/files/ntpq-nodemgr b/charms/trusty/contrail-configuration/files/ntpq-nodemgr new file mode 100755 index 0000000..da00247 --- /dev/null +++ b/charms/trusty/contrail-configuration/files/ntpq-nodemgr @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Script to produce some dummy output to satisfy contrail-nodemgr ntp status +# Note: This is intended to be deployed inside containers where the host is running ntp + +if [ -x /usr/bin/ntpq ]; then + exec /usr/bin/ntpq "$@" +fi + +echo "*" |