From: Maryam Tahhan Date: Wed, 18 Jan 2017 07:08:01 +0000 (+0000) Subject: fuel: update to include OvS configuration X-Git-Tag: danube.1.0~24 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F27145%2F3;p=barometer.git fuel: update to include OvS configuration Update the barometer Fuel plugin to include OvS plugin configuration. Change-Id: I59117632e60eb448e429d92c5f1f49bf7d1b5e78 Signed-off-by: Maryam Tahhan --- diff --git a/src/fuel-plugin/deployment_scripts/install.sh b/src/fuel-plugin/deployment_scripts/install.sh index 08efca81..98605a19 100755 --- a/src/fuel-plugin/deployment_scripts/install.sh +++ b/src/fuel-plugin/deployment_scripts/install.sh @@ -30,8 +30,6 @@ modprobe msr apt-get install -y --allow-unauthenticated collectd python-dev libpython2.7 mcelog -echo $MCELOG_SOCKET | sudo tee -a $MCELOG_CONF; - cat << EOF > /etc/collectd/collectd.conf.d/collectd-ceilometer-plugin.conf Globals true @@ -100,7 +98,8 @@ fi if [ $enable_mcelog = 'true' ] then -cat << EOF > /etc/collectd/collectd.conf.d/mcelog.conf + echo $MCELOG_SOCKET | sudo tee -a $MCELOG_CONF; + cat << EOF > /etc/collectd/collectd.conf.d/mcelog.conf Interval 1 @@ -110,4 +109,17 @@ cat << EOF > /etc/collectd/collectd.conf.d/mcelog.conf EOF fi +if [ $enable_ovs_events = 'true' ] +then + ovs-vsctl set-manager ptcp:6640 + cat << EOF > /etc/collectd/collectd.conf.d/ovs.conf + + Interval 1 + + + SendNotification true + +EOF +fi + service collectd restart