diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-01-28 20:59:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-28 20:59:35 +0000 |
commit | 7115cfddb7ecec3cd56b548b4365fdea1783b2d7 (patch) | |
tree | dd355670ab823386ccd3e165ba19b0325eb50b00 /vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c | |
parent | 1b97e2665be03fc518eb11de0863c42b2280149e (diff) | |
parent | af7aa682517d3ccaace9a089194e6a4333f4cdaa (diff) |
Merge "VES EVEL Library VES 5.4.1 enhancements"
Diffstat (limited to 'vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c')
-rw-r--r-- | vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c | 4 |
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) { |