add collectd resource node capability 53/44153/1
authorRoss Brattain <ross.b.brattain@intel.com>
Thu, 28 Sep 2017 07:10:43 +0000 (00:10 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 3 Oct 2017 18:02:09 +0000 (11:02 -0700)
commit6801867b535eacb87197acee026b6c243c86e94e
tree414cc01fd70b933628cbe31b1e9ae5bcd8fb897d
parented22407293b92ca3e51e0230b5c3bf7bc4bb168b
add collectd resource node capability

allow manually adding collectd nodes using Node context.

if a node is present with a collectd config dict then
we can create a ResourceProfile object for it
and connect to collectd.

example

nodes:
-
    name: compute_0
    role: Compute
    ip: 1.1.1.1
    user: root
    password: r00t
    collectd:
        interval: 5
        plugins:
            ovs_stats: {}

Change-Id: Ie0c00fdb58373206071daa1fb13faf175c4313e0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
etc/yardstick/nodes/pod.yaml.collectd.sample [new file with mode: 0644]
tests/unit/network_services/collector/test_subscriber.py
tests/unit/network_services/nfvi/test_resource.py
yardstick/benchmark/scenarios/networking/vnf_generic.py
yardstick/network_services/collector/subscriber.py
yardstick/network_services/nfvi/resource.py