Add OpenROADM 7.1.0 device and common models
[transportpce.git] / ordmodels / common / src / main / yang / org-openroadm-interfaces@2019-11-29.yang
1 module org-openroadm-interfaces {
2   namespace "http://org/openroadm/interfaces";
3   prefix openROADM-if;
4
5   organization
6     "Open ROADM MSA";
7   contact
8     "OpenROADM.org";
9   description
10     "YANG definitions for device facility interfaces.
11      Reused ietf-interfaces and some interface-type defined in iana-if-type.
12
13      Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
14      All other rights reserved.
15
16      Redistribution and use in source and binary forms, with or without modification,
17      are permitted provided that the following conditions are met:
18
19      * Redistributions of source code must retain the above copyright notice, this
20        list of conditions and the following disclaimer.
21      * Redistributions in binary form must reproduce the above copyright notice,
22        this list of conditions and the following disclaimer in the documentation and/or
23        other materials provided with the distribution.
24      * Neither the Members of the Open ROADM MSA Agreement nor the names of its
25        contributors may be used to endorse or promote products derived from this software
26        without specific prior written permission.
27
28      THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
29      AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
30      WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31      IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
32      INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
33      NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
34      OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35      WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36      ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37      POSSIBILITY OF SUCH DAMAGE.
38
39      Also contains code components extracted from IETF Interfaces.  These code components
40      are copyrighted and licensed as follows:
41
42      Copyright (c) 2016 IETF Trust and the persons identified as the document authors.
43      All rights reserved.
44
45      This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating
46      to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of
47      publication of this document. Please review these documents carefully, as they
48      describe your rights and restrictions with respect to this document. Code Components
49      extracted from this document must include Simplified BSD License text as described in
50      Section 4.e of the Trust Legal Provisions and are provided without warranty as
51      described in the Simplified BSD License.";
52
53   revision 2019-11-29 {
54     description
55       "Version 6.1.0";
56   }
57   revision 2019-05-31 {
58     description
59       "Version 5.1.0";
60   }
61   revision 2018-11-30 {
62     description
63       "Version 4.1.0";
64   }
65   revision 2018-09-28 {
66     description
67       "Version 4.0.0";
68   }
69   revision 2018-03-30 {
70     description
71       "Version 3.0";
72   }
73   revision 2017-06-26 {
74     description
75       "Version 2.0";
76   }
77   revision 2016-10-14 {
78     description
79       "Version 1.2";
80   }
81
82   identity interface-type {
83     description
84       "Base identity from which specific interface types are
85        derived.";
86   }
87
88   identity ethernetCsmacd {
89     base interface-type;
90     description
91       "For all Ethernet-like interfaces, regardless of speed,
92        as per RFC 3635.";
93     reference
94       "RFC 3635 - Definitions of Managed Objects for the
95                   Ethernet-like Interface Types";
96   }
97
98   identity ip {
99     base interface-type;
100     description
101       "IP (for APPN HPR in IP networks).";
102   }
103
104   identity mediaChannelTrailTerminationPoint {
105     base interface-type;
106     description
107       "Media Channel Trail Termination Point";
108   }
109
110   identity networkMediaChannelConnectionTerminationPoint {
111     base interface-type;
112     description
113       "Network Media Channel Connection Termination Point";
114   }
115
116   identity opticalChannel {
117     base interface-type;
118     description
119       "Optical Channel.";
120   }
121
122   identity opticalTransport {
123     base interface-type;
124     description
125       "Optical Transport.";
126   }
127
128   identity otnOdu {
129     base interface-type;
130     description
131       "OTN Optical Data Unit.";
132   }
133
134   identity otnOtu {
135     base interface-type;
136     description
137       "OTN Optical channel Transport Unit.";
138   }
139
140   identity otsi {
141     base interface-type;
142     description
143       "OTSI interface.";
144   }
145
146   identity otsi-group {
147     base interface-type;
148     description
149       "OTSI Group interface.";
150   }
151
152   identity flexo {
153     base interface-type;
154     description
155       "Flexo interface.";
156   }
157
158   identity flexo-group {
159     base interface-type;
160     description
161       "Flexo Group interface.";
162   }
163
164   identity openROADMOpticalMultiplex {
165     base interface-type;
166     description
167       "Optical Transport Multiplex type for openROADM";
168   }
169
170   identity ppp {
171     base interface-type;
172     description
173       "PPP for IP GNE.";
174   }
175
176   identity gcc {
177     base interface-type;
178     description
179       "ITU-T G.709 GCC.";
180   }
181 }