Merge "Fix bug when creating SRG termination points"
[transportpce.git] / ordmodels / common / src / main / yang / org-openroadm-resource-types@2016-10-14.yang
index e1031aa8b8357a7ecc8bd53b0542a28f3ce1c12e..bb6a80a925d822bf369d532590a89bda2fbdf44b 100644 (file)
@@ -7,31 +7,31 @@ module org-openroadm-resource-types {
     "OpenROADM.org";
   description
     "YANG definitions of common resource types.
-       
-      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, 
+
+      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
       AT&T Intellectual Property.  All other rights reserved.
-      
-      Redistribution and use in source and binary forms, with or without modification, 
+
+      Redistribution and use in source and binary forms, with or without modification,
       are permitted provided that the following conditions are met:
-      
-      * Redistributions of source code must retain the above copyright notice, this 
+
+      * Redistributions of source code must retain the above copyright notice, this
         list of conditions and the following disclaimer.
-      * Redistributions in binary form must reproduce the above copyright notice, 
-        this list of conditions and the following disclaimer in the documentation and/or 
+      * Redistributions in binary form must reproduce the above copyright notice,
+        this list of conditions and the following disclaimer in the documentation and/or
         other materials provided with the distribution.
-      * Neither the Members of the Open ROADM MSA Agreement nor the names of its 
-        contributors may be used to endorse or promote products derived from this software 
+      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
+        contributors may be used to endorse or promote products derived from this software
         without specific prior written permission.
-      
-      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS'' 
-      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
-      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
-      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT, 
-      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
-      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA, 
-      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
-      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
-      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+
+      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
+      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
+      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
+      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
       POSSIBILITY OF SUCH DAMAGE";
 
   revision 2016-10-14 {
@@ -125,7 +125,7 @@ module org-openroadm-resource-types {
       "Device identifier. Unique within the Controller.";
     leaf node-id {
       description
-        "Node Id is a globally unique identifier for a device. 
+        "Node Id is a globally unique identifier for a device.
          Same as leafref value in model, if applicable.";
       type string;
     }
@@ -145,7 +145,7 @@ module org-openroadm-resource-types {
     uses circuit-pack-name;
     leaf port-name {
       description
-        "Port identifier. Unique within the context of a circuit-pack. 
+        "Port identifier. Unique within the context of a circuit-pack.
          Same as leafref value in model, if applicable.";
       type string;
     }
@@ -154,7 +154,7 @@ module org-openroadm-resource-types {
   grouping physical-link-name {
     leaf physical-link-name {
       description
-        "Physical Link identifier. Unique within the context of a device. 
+        "Physical Link identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type string;
       mandatory true;
@@ -164,7 +164,7 @@ module org-openroadm-resource-types {
   grouping internal-link-name {
     leaf internal-link-name {
       description
-        "Internal Link identifier. Unique within the context of a device. 
+        "Internal Link identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type string;
       mandatory true;
@@ -174,7 +174,7 @@ module org-openroadm-resource-types {
   grouping connection-number {
     leaf connection-number {
       description
-        "Connection identifier. Unique within the context of a device. 
+        "Connection identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type string;
     }
@@ -183,7 +183,7 @@ module org-openroadm-resource-types {
   grouping degree-number {
     leaf degree-number {
       description
-        "Degree identifier. Unique within the context of a device. 
+        "Degree identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type uint16;
     }
@@ -192,7 +192,7 @@ module org-openroadm-resource-types {
   grouping srg-number {
     leaf srg-number {
       description
-        "Shared Risk Group identifier. Unique within the context of a device. 
+        "Shared Risk Group identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type uint16;
     }
@@ -201,7 +201,7 @@ module org-openroadm-resource-types {
   grouping shelf-name {
     leaf shelf-name {
       description
-        "Shelf-id identifier. Unique within the context of a device.  
+        "Shelf-id identifier. Unique within the context of a device.
          Same as leafref value in model, if applicable.";
       type string;
       mandatory true;
@@ -211,7 +211,7 @@ module org-openroadm-resource-types {
   grouping service-name {
     leaf service-name {
       description
-        "Service identifier. Unique within the context of a network.  
+        "Service identifier. Unique within the context of a network.
          Same as leafref value in model, if applicable.";
       type string;
       mandatory true;