diff options
author | 2017-09-29 14:38:28 -0400 | |
---|---|---|
committer | 2017-09-29 14:43:57 -0400 | |
commit | a32d00252c79f0e54b5d0b4dc090916b4d011f55 (patch) | |
tree | cd7edefaa39eae902d4c41193fcd99e7942b958d /veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java | |
parent | a43e38e7bdc183709399bc49179b7137c6debe23 (diff) |
Add java util funcs for EvelHeader fix custom meas
Issue-Id: VNFSDK-101
Change-Id: I849958f30abf003fb7ea5a8764d97e9ad5fd6e4f
Signed-Off-by: Gokul Singaraju <goksing@gmail.com>
Diffstat (limited to 'veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java')
-rw-r--r-- | veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java b/veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java index 756bac0..f3c676d 100644 --- a/veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java +++ b/veslibrary/ves_javalibrary/evel_javalib2/src_test/maindir/Main.java @@ -57,6 +57,7 @@ public class Main AgentMain.evel_initialize("http://127.0.0.1", 30000,
"/vendor_event_listener","/example_vnf",
+ //null,null
"pill",
"will",
Level.DEBUG);
@@ -106,7 +107,10 @@ public class Main MEASUREMENT_CPU_USE my2 = sm.evel_measurement_new_cpu_use_add("cpu2", 10.0);
my2.steal.SetValue(34.0);
my2.user.SetValue(32.0);
-
+ sm.evel_measurement_custom_measurement_add("group1","name1","val1");
+ sm.evel_measurement_custom_measurement_add("group1","name2","val2");
+ sm.evel_measurement_custom_measurement_add("group2","name1","val1");
+ sm.evel_measurement_custom_measurement_add("group2","name2","val2");
MEASUREMENT_VNIC_PERFORMANCE vnic_p = sm.evel_measurement_new_vnic_performance("vnic1","true");
vnic_p.recvd_bcast_packets_acc.SetValue(2400000.0);
|