aboutsummaryrefslogtreecommitdiffstats
path: root/src/collectd/ovs_pmd_stats_config.sh
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2017-11-20 13:22:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-20 13:22:56 +0000
commitdde33f975509dc47fe580a59f5ce3b615be23116 (patch)
tree7314e2acd3bff3cf780359da022ceeded0efd833 /src/collectd/ovs_pmd_stats_config.sh
parent8e44b29f6eca84e41aa8a5f3be5d006340d66d89 (diff)
parent810dac49e96193b447d231d25d6522eef2e62d02 (diff)
Merge "docker: Added docker container for running collectd"
Diffstat (limited to 'src/collectd/ovs_pmd_stats_config.sh')
-rwxr-xr-xsrc/collectd/ovs_pmd_stats_config.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/collectd/ovs_pmd_stats_config.sh b/src/collectd/ovs_pmd_stats_config.sh
index dc28f204..bdb0615d 100755
--- a/src/collectd/ovs_pmd_stats_config.sh
+++ b/src/collectd/ovs_pmd_stats_config.sh
@@ -27,3 +27,7 @@ if [ "${RESULT:-null}" != null ]; then
else
echo "Openvswitch service is not running. Please start before running ovs plugins"
fi
+# Always copy python ovs module when building Docker image
+if [ -z ${DOCKER+x} ]; then
+ cp $OVS_PMD_STAT_SCRIPT $PATH_LOCAL
+fi