1 module org-openroadm-optical-channel-interfaces {
2 namespace "http://org/openroadm/optical-channel-interfaces";
3 prefix org-openroadm-optical-channel-interfaces;
5 import org-openroadm-device {
6 prefix org-openroadm-device;
7 revision-date 2017-02-06;
9 import org-openroadm-interfaces {
11 revision-date 2016-10-14;
13 import org-openroadm-common-types {
14 prefix org-openroadm-common-types;
15 revision-date 2016-10-14;
18 organization "Open ROADM MSA";
22 "YANG definitions for device facility och interfaces.
24 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
25 AT&T Intellectual Property. All other rights reserved.
27 Redistribution and use in source and binary forms, with or without modification,
28 are permitted provided that the following conditions are met:
30 * Redistributions of source code must retain the above copyright notice, this
31 list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above copyright notice,
33 this list of conditions and the following disclaimer in the documentation and/or
34 other materials provided with the distribution.
35 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
36 contributors may be used to endorse or promote products derived from this software
37 without specific prior written permission.
39 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
40 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
41 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
42 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
43 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
45 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
46 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 POSSIBILITY OF SUCH DAMAGE.
50 Also contains code components extracted from IETF Interfaces. These code components
51 are copyrighted and licensed as follows:
53 Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
56 This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
57 to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
58 publication of this document. Please review these documents carefully, as they
59 describe your rights and restrictions with respect to this document. Code Components
60 extracted from this document must include Simplified BSD License text as described in
61 Section 4.e of the Trust Legal Provisions and are provided without warranty as
62 described in the Simplified BSD License.";
69 identity rate-identity {
71 "A unique rate identification";
77 "Identity for 200G Rate";
83 "Identity for 100G Rate";
89 "Identity for 10.7G Rate";
95 "Identity for 11.1G Rate";
98 grouping och-attributes {
100 "Optical Channel attributes";
108 leaf wavelength-number {
111 leaf modulation-format {
116 "binary phase-shift keying";
121 "DC dual-polarization binary phase-shift keying";
126 "quadrature phase-shift keying";
131 "dual-polarization binary phase-shift keying";
136 "quadrature amplitude modulation 16";
141 "dual-polarization quadrature amplitude modulation 16";
146 "DC dual-polarization quadrature amplitude modulation 16";
151 "quadrature amplitude modulation 8";
156 "dual-polarization quadrature amplitude modulation 8";
161 "DC dual-polarization quadrature amplitude modulation 8";
167 leaf transmit-power {
168 type org-openroadm-common-types:power-dBm;
170 "The target transmit power for this channel. When set, the xponder will work to ensure that port-current-power reaches this level. Applicable only to channel on top of xpdr-network port";
174 grouping och-container {
177 "Optical Channel (OCh):
178 Models the optical channel interfaces for an Optical White Box.";
183 augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface" {
184 when "org-openroadm-device:type = 'openROADM-if:opticalChannel'";