Consolidate portmapping-topo for XPDR
[transportpce.git] / api / src / main / yang / transportpce-portmapping@2017-02-28.yang
index 371f0f910097a178e94cf0c99b42c1e35cf37020..8a6d14a24b866eeb00fb136d249f7b661d11938b 100644 (file)
@@ -37,10 +37,10 @@ module transportpce-portmapping {
             description
               "Version 1.2.1";
             }
-            enum "2.2" {
+            enum "2.2.1" {
               value 2;
               description
-                "Version 2.2";
+                "Version 2.2.1";
             }
           }
         }
@@ -77,6 +77,23 @@ module transportpce-portmapping {
           description
           "OTS interface provisioned on the port";
         }
+        leaf port-direction{
+          type string;
+          description
+            "Useful for line port of XPDR, for which there is no
+            indication in its logical-termination-point naming";
+        }
+        leaf port-qual{
+          type string;
+          description
+            "Useful to identify from portmapping client from network ports of XPDR";
+        }
+        leaf associated-lcp{
+          type string;
+          description
+            "For XPDR, associate two logical-connection-points
+            from device/connnection-map data";
+        }
       }
       list cp-to-degree{
         description