From 7aca4510351d5047c6a802998db7301ce03f7893 Mon Sep 17 00:00:00 2001 From: William Kurkian Date: Wed, 8 Aug 2018 14:46:51 -0400 Subject: Added new types to source type enum. To support PON devices. Change-Id: Ide8a8b2452883605c4580c4e9a9522c3b28164dc Signed-off-by: William Kurkian Issue-ID: VNFSDK-298 --- .../main/java/evel_javalibrary/att/com/EvelFault.java | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java index d40859c..68aa41c 100644 --- a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java +++ b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java @@ -74,7 +74,9 @@ public class EvelFault extends EvelHeader { /* Vendor-specific values should be added here, and handled appropriately */ /* in evel_event.c. */ /***************************************************************************/ - + EVEL_SOURCE_OLT, + EVEL_SOURCE_ONT, + EVEL_SOURCE_ONU, /***************************************************************************/ /* END OF VENDOR-SPECIFIC VALUES */ /***************************************************************************/ @@ -340,6 +342,18 @@ public class EvelFault extends EvelHeader { result = "virtualNetworkFunction"; break; + case EVEL_SOURCE_OLT: + result = "OLT"; + break; + + case EVEL_SOURCE_ONT: + result = "ONT"; + break; + + case EVEL_SOURCE_ONU: + result = "ONU"; + break; + default: result = null; LOGGER.error(MessageFormatter.format("Unexpected Event Source Type {0}", source_type)); -- cgit 1.2.3-korg