summaryrefslogtreecommitdiffstats
path: root/veslibrary
diff options
context:
space:
mode:
authorWilliam Kurkian <wkurkian@cisco.com>2018-08-08 14:46:51 -0400
committerWilliam Kurkian <wkurkian@cisco.com>2018-08-08 14:58:42 -0400
commit7aca4510351d5047c6a802998db7301ce03f7893 (patch)
tree5dceecdeae9c9003b40bf4d3121d9acbdb19a514 /veslibrary
parent17280f80d7774dba2f53ab4c9e0f8f3165e728e8 (diff)
Added new types to source type enum.
To support PON devices. Change-Id: Ide8a8b2452883605c4580c4e9a9522c3b28164dc Signed-off-by: William Kurkian <wkurkian@cisco.com> Issue-ID: VNFSDK-298
Diffstat (limited to 'veslibrary')
-rw-r--r--veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelFault.java16
1 files changed, 15 insertions, 1 deletions
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));