summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Mayer <am803u@att.com>2018-08-08 19:45:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-08 19:45:57 +0000
commita91ddad4ea939a49f0b5477d846ef549307eb0e1 (patch)
tree29ecae566e9a539e3254a83c581dd8c73f3fbfc3
parent15d64aedcb768b6ab5340b11f5de81fe469d2eae (diff)
parent7aca4510351d5047c6a802998db7301ce03f7893 (diff)
Merge "Added new types to source type enum."
-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 a369b5e..9f7e3d3 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));