diff options
author | Andy Mayer <am803u@att.com> | 2018-08-08 19:45:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-08 19:45:57 +0000 |
commit | a91ddad4ea939a49f0b5477d846ef549307eb0e1 (patch) | |
tree | 29ecae566e9a539e3254a83c581dd8c73f3fbfc3 | |
parent | 15d64aedcb768b6ab5340b11f5de81fe469d2eae (diff) | |
parent | 7aca4510351d5047c6a802998db7301ce03f7893 (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.java | 16 |
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));
|