add collectd resource node capability 83/43483/8
authorRoss Brattain <ross.b.brattain@intel.com>
Thu, 28 Sep 2017 07:10:43 +0000 (00:10 -0700)
committerEdward MacGillivray <edward.s.macgillivray@intel.com>
Mon, 2 Oct 2017 23:26:26 +0000 (16:26 -0700)
commit0eccf0cb46496b4a0fc1865f2c2c40d226697853
treeead6c52b041bce0caa15b36d49f5f92c18d4bf20
parent77c7d358bc6a61e2a5c24c6056cc3e40561f27c7
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