aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/nfvi
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-16 14:30:13 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-10-27 13:45:38 -0700
commit5bc60308b6ec764bd1908138694ea8115b3adb35 (patch)
tree14f487ad1628074025843255c7b9469540c1298b /yardstick/network_services/nfvi
parent923aa1738cbf5a8053e77e00937fc26f2142f6a3 (diff)
resource: remove cores args
We used to try to probe all the cores that the VNF was using and only dump CPU stats for those cores. We can't really detect those core accurately and we would rather dump all the core information and let influxdb and grafana filter the information. We do end up with excessive KPI output, especially on systems with 88 cores, but this is manageable. The core logic was partially removed, this finishes the removal. Change-Id: I5cbb694fd982519e2df54db49a21ed5948e13537 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'yardstick/network_services/nfvi')
-rw-r--r--yardstick/network_services/nfvi/resource.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yardstick/network_services/nfvi/resource.py b/yardstick/network_services/nfvi/resource.py
index 5b96aaf29..190e1f7bd 100644
--- a/yardstick/network_services/nfvi/resource.py
+++ b/yardstick/network_services/nfvi/resource.py
@@ -55,8 +55,7 @@ class ResourceProfile(object):
DEFAULT_TIMEOUT = 3600
OVS_SOCKET_PATH = "/usr/local/var/run/openvswitch/db.sock"
- def __init__(self, mgmt, port_names=None, cores=None, plugins=None,
- interval=None, timeout=None):
+ def __init__(self, mgmt, port_names=None, plugins=None, interval=None, timeout=None):
if plugins is None:
self.plugins = {}
@@ -91,7 +90,6 @@ class ResourceProfile(object):
plugins = collectd_options.get("plugins", {})
interval = collectd_options.get("interval")
- # use default cores = None to MatchAllCores
return cls(node, plugins=plugins, interval=interval, timeout=timeout)
def check_if_sa_running(self, process):