Introducing the new YANG model for ietf-te-topology and modifying the converter utility
for TE-NBI app to match the latest YANG model.
Change-Id: I8b3a2c4204f9b91a402a8fdfeeb6ba74d7316a7a
diff --git a/apps/tenbi/yangmodel/src/main/yang/ietf-te-types.yang b/apps/tenbi/yangmodel/src/main/yang/ietf-te-types.yang
index 265e21e..2e76380 100644
--- a/apps/tenbi/yangmodel/src/main/yang/ietf-te-types.yang
+++ b/apps/tenbi/yangmodel/src/main/yang/ietf-te-types.yang
@@ -892,6 +892,28 @@
}
description "TE Event type for notifications";
} // te-topology-event-type
+
+
+ typedef te-tunnel-event-type {
+ type enumeration {
+ enum "add" {
+ value 0;
+ description
+ "A TE tunnel has been added.";
+ }
+ enum "remove" {
+ value 1;
+ description
+ "A TE tunnel has been removed.";
+ }
+ enum "update" {
+ value 2;
+ description
+ "A TE tunnel has been updated.";
+ }
+ }
+ description "TE Event type for notifications";
+ } // te-tunnel-event-type
typedef te-topology-id {
type string {