Unofficial regenerator capability support in YANG 99/97599/6
authorBalagangadhar Bathula <bb4341@att.com>
Wed, 22 Sep 2021 17:46:01 +0000 (13:46 -0400)
committerGilles Thouenon <gilles.thouenon@orange.com>
Tue, 14 Dec 2021 08:55:56 +0000 (08:55 +0000)
Some non-compliant Open ROADM devices propose an additional regen
identity 'if-OTUCn-ODUCn-regen' in the common Open ROADM YANG model
org-openroadm-port-types
Though this identity should have been advertised through a deviation,
this does not raise any compatibility problem with compliant devices.

This ideally temporary work-around proposes to integrate this unofficial
regen identity until a compliant solution is found.

JIRA: TRNSPRTPCE-532
Change-Id: Ib63b8fb67e7afbf0889eb1916c132d8058df540e
Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com>
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
ordmodels/common/src/main/resources/NOTICE [new file with mode: 0644]
ordmodels/common/src/main/yang/org-openroadm-port-types@2020-03-27.yang

diff --git a/ordmodels/common/src/main/resources/NOTICE b/ordmodels/common/src/main/resources/NOTICE
new file mode 100644 (file)
index 0000000..a8fc5c4
--- /dev/null
@@ -0,0 +1,9 @@
+This work includes a modified version of the YANG model org-openroadm-port-types
+developed by the Open ROADM MSA.
+
+It contains an additional regen identity 'if-OTUCn-ODUCn-regen' found in some
+non-compliant devices.
+Though this identity should have been advertised through a YANG deviation,
+this does not raise any compatibility problem with compliant devices.
+This is an ideally temporary work-around until a compliant solution is found.
+cf https://jira.opendaylight.org/browse/TRNSPRTPCE-532
index ce0bc867975482d116f1b79d91f54eecfe19c309..357d2ddb7f8ab18644861857292f5b6885ebffba 100644 (file)
@@ -12,7 +12,16 @@ module org-openroadm-port-types {
   contact
     "OpenROADM.org";
   description
   contact
     "OpenROADM.org";
   description
-    "YANG definitions for port types.
+    "This is a modified version of an Open ROADM MSA official YANG model.
+     It contains an unofficial and additional regen identity 'if-OTUCn-ODUCn-regen'
+     found in some non-compliant devices.
+     Though this identity should have been advertised through a YANG deviation,
+     this does not raise any compatibility problem with compliant devices.
+     This file is an ideally temporary work-around until a compliant solution is found.
+     cf https://jira.opendaylight.org/browse/TRNSPRTPCE-532
+
+     Original YANG model description below:
+     YANG definitions for port types.
 
      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
      All other rights reserved.
 
      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
      All other rights reserved.
@@ -372,6 +381,11 @@ module org-openroadm-port-types {
   identity pluggable-type-unspecified {
     base pluggable-identifiers-identity;
   }
   identity pluggable-type-unspecified {
     base pluggable-identifiers-identity;
   }
+  // The following identity is not present in the original Open ROADM MSA YANG model.
+  identity if-OTUCn-ODUCn-regen {
+    base supported-if-capability;
+  }
+
 
   typedef port-wavelength-types {
     type enumeration {
 
   typedef port-wavelength-types {
     type enumeration {