prox: fix TG KPIs 49/42949/2
authorRoss Brattain <ross.b.brattain@intel.com>
Wed, 20 Sep 2017 09:09:40 +0000 (02:09 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 25 Sep 2017 15:30:20 +0000 (08:30 -0700)
commitff4cc45743fd378ad401b5366ce3988a6e65a3fd
treed7cc9355c09aabe666cb5165fb2742e57c340076
parent5295078171b9c7436f945b081d3015e1052bf721
prox: fix TG KPIs

The problem is that we share the same ProxResourceHelper
for both VNF and TG.

For VNF we want to talk to resource.py and get collectd KPIs.
For TG we need to read from the queue the TG calculated KPIs and
we also want collectd KPIs.

workaround is to use a different method name collect_collectd_kpi
for VNFs

Change-Id: Icc2132758e37ce210f5600a0cd433077930208e5
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/network_services/vnf_generic/vnf/test_prox_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_tg_prox.py
yardstick/network_services/vnf_generic/vnf/prox_helpers.py
yardstick/network_services/vnf_generic/vnf/prox_vnf.py