UDP_Replay: enable collectd KPIs 77/42377/1
authorRoss Brattain <ross.b.brattain@intel.com>
Tue, 19 Sep 2017 08:26:45 +0000 (01:26 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 19 Sep 2017 08:27:33 +0000 (01:27 -0700)
Change-Id: I92146411707a9ec29864d164dbd63b96d05bffe0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
yardstick/network_services/vnf_generic/vnf/udp_replay.py

index 8877338..6b77797 100644 (file)
@@ -117,7 +117,7 @@ class UdpReplayApproxVnf(SampleVNF):
             "packets_in": get_sum(1),
             "packets_fwd": get_sum(2),
             "packets_dropped": get_sum(3) + get_sum(4),
-            "collect_stats": {},
+            'collect_stats': self.resource_helper.collect_kpi(),
         }
 
         LOG.debug("UDP Replay collect KPIs %s", result)