Merge "Updates to Renderer"
[transportpce.git] / api / src / main / yang / portmapping.yang
index 5a0a36545c2a90b2f5e824664373abb7882fc5cb..71fda318dbc8206647b6e6dcf20608573591a0dc 100644 (file)
@@ -3,7 +3,21 @@ module portmapping {
   namespace "urn:opendaylight:params:xml:ns:yang:portmapping";
   prefix "portmapping";
 
-  revision "2017-2-28" {
+  import org-openroadm-common-types {
+    prefix org-openroadm-common-types;
+  }
+
+ organization
+    "transportPCE";
+  contact
+    "transportPCE committers - ODL";
+  description
+    "YANG definitions of RPCs supported by OLM.
+     Copyright © 2017 AT&T and others.  All rights reserved.
+     authors: Dhruv Bhardwaj ( db929a@att.com )
+              Shweta Vachhani ( sv111y@att.com )";
+
+  revision "2017-02-28" {
     description "Initial revision of port mapping model";
   }
   container network{
@@ -14,6 +28,11 @@ module portmapping {
         description
           "Unique identifier for node in the network";
       }
+      leaf node-type{
+        type org-openroadm-common-types:node-types;
+        description
+          "Identifier for node-type e.g Roadm, xponder";
+      }
       list mapping{
         description
           "Mapping for Physical circuit pack/port/parent interfaces
@@ -37,7 +56,12 @@ module portmapping {
           description
           "OMS interface provisioned on the port";
         }
+        leaf supporting-ots{
+          type string;
+          description
+          "OTS interface provisioned on the port";
+        }
       }
     }
   }
-}
\ No newline at end of file
+}