Consolidate portmapping-topo for XPDR
[transportpce.git] / api / src / main / yang / transportpce-portmapping@2017-02-28.yang
index 3e892da1995d89967908a08a9f9843387428e0b5..8a6d14a24b866eeb00fb136d249f7b661d11938b 100644 (file)
@@ -29,6 +29,21 @@ module transportpce-portmapping {
         description
           "Unique identifier for node in the network";
       }
+
+      leaf openroadm-version{
+        type enumeration {
+          enum "1.2.1" {
+            value 1;
+            description
+              "Version 1.2.1";
+            }
+            enum "2.2.1" {
+              value 2;
+              description
+                "Version 2.2.1";
+            }
+          }
+        }
       leaf node-type{
         type org-openroadm-common-types:node-types;
         description
@@ -62,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