summaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
diff options
context:
space:
mode:
authorPrakashH <pbhandar@techmahindra.com>2019-01-28 17:14:52 +0000
committerPrakashH <pbhandar@techmahindra.com>2019-01-28 17:45:15 +0000
commitaf7aa682517d3ccaace9a089194e6a4333f4cdaa (patch)
treef9da027c69fff993b907ca93130aa47fe9c9786d /vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
parent3bf047e64a1121208719e7603bf91c69d532ecf8 (diff)
VES EVEL Library VES 5.4.1 enhancements
HB-Fault-Measurement-Syslog-2Collector enhancement. Issue-ID: CERT-17 Change-Id: Ieff01ee5461e50c7e7d07d10ec66c1c97cf8c5b1 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
Diffstat (limited to 'vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c')
-rw-r--r--vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
index 78050498..d641f95f 100644
--- a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
+++ b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c
@@ -129,6 +129,8 @@ int main(int argc, char** argv)
port2 = atoi(argv[4]);
vnic = argv[5];
}
+ else
+ vnic = argv[3];
MEASUREMENT_VNIC_PERFORMANCE * vnic_performance = NULL;
@@ -233,7 +235,7 @@ int main(int argc, char** argv)
}
vpp_m = evel_new_measurement(READ_INTERVAL,"vLoadBalancer","TrafficStats_1.2.3.4");
- vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance("eth0", "true");
+ vnic_performance = (MEASUREMENT_VNIC_PERFORMANCE *)evel_measurement_new_vnic_performance(vnic, "true");
evel_meas_vnic_performance_add(vpp_m, vnic_performance);
if(vpp_m != NULL) {