prox: fix TG KPIs 93/42493/1
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>
Wed, 20 Sep 2017 09:12:01 +0000 (02:12 -0700)
commit02b047ef1496ea23fdb1a8ce15cf4b98f5e5a3a1
treea5433147c91e6fae5442fc63c19beb7338af3fab
parent15c9412c5a260a6bff2c015ed61af7042b905a20
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