1 module org-openroadm-common-attributes {
2 namespace "http://org/openroadm/common-attributes";
3 prefix org-openroadm-common-attributes;
5 import org-openroadm-otn-common-types {
6 prefix org-openroadm-otn-common-types;
7 revision-date 2021-09-24;
15 "YANG definitions of common attributes.
17 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
18 All other rights reserved.
20 Redistribution and use in source and binary forms, with or without modification,
21 are permitted provided that the following conditions are met:
23 * Redistributions of source code must retain the above copyright notice, this
24 list of conditions and the following disclaimer.
25 * Redistributions in binary form must reproduce the above copyright notice,
26 this list of conditions and the following disclaimer in the documentation and/or
27 other materials provided with the distribution.
28 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
29 contributors may be used to endorse or promote products derived from this software
30 without specific prior written permission.
32 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
33 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
36 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
37 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
38 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
39 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 POSSIBILITY OF SUCH DAMAGE";
56 grouping parent-odu-allocation {
58 "parent odu allocation group";
59 container parent-odu-allocation {
60 presence "Explicit assignment of parent ODU trib-slot and trib-port allocation. ";
62 "parent odu allocation";
63 leaf trib-port-number {
69 "Assigned tributary port number in parent OPU";
71 choice trib-slots-choice {
73 "trib slot selection";
75 leaf-list trib-slots {
82 "Assigned trib slots occupied in parent OPU MSI";
86 leaf-list opucn-trib-slots {
87 type org-openroadm-otn-common-types:opucn-trib-slot-def;
89 "Specify the list of OPUCn 5G tributary slots in the form of
90 TS #A.B (G.709 Figure 20-9) in the case of provisioning the low
91 order ODUk to the parent server ODUCn";
98 grouping deg-threshold {
100 "Deg threshold grouping";
101 leaf degm-intervals {
107 "G.806 - Consecutive bad intervals required for declare dDEG";
109 leaf degthr-percentage {
115 "Percentage of errored blocks required to declare an interval bad, in units of 0.01%";
119 grouping trail-trace-tx {
121 "Trail trace tx grouping";
127 "The provisioned 15 character transmit trace SAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
134 "The provisioned 15 character transmit trace DAPI. Implementations shall add the [0] field automatically per ITU-T G.709";
141 "The provisioned 32 character Operator Specific field";
145 grouping trail-trace-other {
147 "Trail trace other grouping";
153 "The provisioned expected SAPI, to be compared with accepted TTI";
160 "The provisioned expected DAPI, to be compared with accepted TTI";
162 leaf tim-act-enabled {
166 "Enables TTI Mismatch consequent actions.";
168 leaf tim-detect-mode {
176 "Expected SAPI is compared to the Accepted TTI. Other TTI fields are ignored";
180 "Expected DAPI is compared to the Accepted TTI. Other TTI fields are ignored";
184 "Expected SAPI and Expected DAPI are compared to the Accepted TTI. Operator specific TTI field is ignored";
189 "tim detect mode leaf";