aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2019-04-08 09:28:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-04-08 09:28:22 +0000
commit37b6e13c72a5079fd0b99478a23774d05c21a04f (patch)
tree07f88fce8fb15ad9febe4c15e7b06872b15b1041
parent1a6f868947011bf3ed4af87555bf2da55aadeac2 (diff)
parent81534a0ea3940bb1981b0afd0a4f44aa908b58fd (diff)
Merge "Upload config files for barometer collectd container"
-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: