Initial code for OTN topology and portmapping
[transportpce.git] / api / src / main / yang / transportpce-portmapping@2019-11-15.yang
similarity index 89%
rename from api/src/main/yang/transportpce-portmapping@2019-07-02.yang
rename to api/src/main/yang/transportpce-portmapping@2019-11-15.yang
index 1aacc7fddb71538441b5cdfb3aeb39bf52de8758..00a6be48137a0b1d1118fec9b0518d22b025a27d 100644 (file)
@@ -15,6 +15,10 @@ module transportpce-portmapping {
     AT&T and others. All rights reserved. authors: Dhruv Bhardwaj
     ( db929a@att.com ) Shweta Vachhani ( sv111y@att.com )";
 
+  revision "2019-11-15" {
+    description "OTN support";
+  }
+
   revision 2019-07-02 {
     description
         "Version 2. To manage device 2.2.1";
@@ -114,6 +118,21 @@ module transportpce-portmapping {
              "Useful to identify from portmapping client from network ports
              of XPDR";
         }
+        leaf supporting-ethernet{
+          type string;
+          description
+            "Ethernet interface provisioned on the port";
+         }
+         leaf supporting-odu4{
+           type string;
+           description
+             "ODU4 interface provisioned on the port";
+         }
+         leaf rate{
+            type string;
+            description
+              "Rate supported by the port";
+        }
         leaf associated-lcp {
           type string;
           description