aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChornyi, TarasX <tarasx.chornyi@intel.com>2019-01-04 18:23:24 +0200
committerTaras Chornyi <tarasx.chornyi@intel.com>2019-01-04 16:44:54 +0000
commit81534a0ea3940bb1981b0afd0a4f44aa908b58fd (patch)
treef588458a37d4a3145356d0ccf0db0d440da5215d
parent62fda8b9ec846747a6132c980f8e892b74de6d25 (diff)
Upload config files for barometer collectd container
JIRA: YARDSTICK-1257 Change-Id: I7e46823cb068b59b4bfb7d86e2cd4c842f74a1bd Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
-rw-r--r--yardstick/network_services/nfvi/resource.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/network_services/nfvi/resource.py b/yardstick/network_services/nfvi/resource.py
index 5922bd3b9..ba49ab5b4 100644
--- a/yardstick/network_services/nfvi/resource.py
+++ b/yardstick/network_services/nfvi/resource.py
@@ -48,6 +48,7 @@ class ResourceProfile(object):
This profile adds a resource at the beginning of the test session
"""
COLLECTD_CONF = "collectd.conf"
+ BAR_COLLECTD_CONF_PATH = "/opt/collectd/etc/collectd.conf.d/"
AMPQ_PORT = 5672
DEFAULT_INTERVAL = 25
DEFAULT_TIMEOUT = 3600
@@ -248,6 +249,8 @@ class ResourceProfile(object):
"plugins": self.plugins,
}
self._provide_config_file(config_file_path, self.COLLECTD_CONF, kwargs)
+ self._provide_config_file(self.BAR_COLLECTD_CONF_PATH,
+ self.COLLECTD_CONF, kwargs)
def _setup_ovs_stats(self, connection):
try: