upgrade models to OpenROADM service 5.1.0
[transportpce.git] / ordmodels / common / src / main / yang / org-openroadm-interfaces@2019-05-31.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-05-31 {
54     description
55       "Version 5.1.0";
56   }
57   revision 2018-11-30 {
58     description
59       "Version 4.1.0";
60   }
61   revision 2018-09-28 {
62     description
63       "Version 4.0.0";
64   }
65   revision 2018-03-30 {
66     description
67       "Version 3.0";
68   }
69   revision 2017-06-26 {
70     description
71       "Version 2.0";
72   }
73   revision 2016-10-14 {
74     description
75       "Version 1.2";
76   }
77
78   identity interface-type {
79     description
80       "Base identity from which specific interface types are
81        derived.";
82   }
83
84   identity ethernetCsmacd {
85     base interface-type;
86     description
87       "For all Ethernet-like interfaces, regardless of speed,
88        as per RFC 3635.";
89     reference
90       "RFC 3635 - Definitions of Managed Objects for the
91                   Ethernet-like Interface Types";
92   }
93
94   identity ip {
95     base interface-type;
96     description
97       "IP (for APPN HPR in IP networks).";
98   }
99
100   identity mediaChannelTrailTerminationPoint {
101     base interface-type;
102     description
103       "Media Channel Trail Termination Point";
104   }
105
106   identity networkMediaChannelConnectionTerminationPoint {
107     base interface-type;
108     description
109       "Network Media Channel Connection Termination Point";
110   }
111
112   identity opticalChannel {
113     base interface-type;
114     description
115       "Optical Channel.";
116   }
117
118   identity opticalTransport {
119     base interface-type;
120     description
121       "Optical Transport.";
122   }
123
124   identity otnOdu {
125     base interface-type;
126     description
127       "OTN Optical Data Unit.";
128   }
129
130   identity otnOtu {
131     base interface-type;
132     description
133       "OTN Optical channel Transport Unit.";
134   }
135
136   identity otsi {
137     base interface-type;
138     description
139       "OTSI interface.";
140   }
141
142   identity otsi-group {
143     base interface-type;
144     description
145       "OTSI Group interface.";
146   }
147
148   identity flexo {
149     base interface-type;
150     description
151       "Flexo interface.";
152   }
153
154   identity flexo-group {
155     base interface-type;
156     description
157       "Flexo Group interface.";
158   }
159
160   identity openROADMOpticalMultiplex {
161     base interface-type;
162     description
163       "Optical Transport Multiplex type for openROADM";
164   }
165
166   identity ppp {
167     base interface-type;
168     description
169       "PPP for IP GNE.";
170   }
171
172   identity gcc {
173     base interface-type;
174     description
175       "ITU-T G.709 GCC.";
176   }
177 }