Sync Common folder
[transportpce.git] / ordmodels / device / src / main / yang / org-openroadm-interfaces2017-06-26.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      AT&T Intellectual Property.  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 2017-06-26 {
54     description
55       "Version 2.0";
56   }
57   revision 2016-10-14 {
58     description
59       "Version 1.2";
60   }
61
62   identity interface-type {
63     description
64       "Base identity from which specific interface types are
65        derived.";
66   }
67
68   identity ethernetCsmacd {
69     base interface-type;
70     description
71       "For all Ethernet-like interfaces, regardless of speed,
72        as per RFC 3635.";
73     reference
74       "RFC 3635 - Definitions of Managed Objects for the
75                   Ethernet-like Interface Types";
76   }
77
78   identity ip {
79     base interface-type;
80     description
81       "IP (for APPN HPR in IP networks).";
82   }
83
84   identity mediaChannelTrailTerminationPoint {
85     base interface-type;
86     description
87       "Media Channel Trail Termination Point";
88   }
89
90   identity networkMediaChannelConnectionTerminationPoint {
91     base interface-type;
92     description
93       "Network Media Channel Connection Termination Point";
94   }
95
96   identity opticalChannel {
97     base interface-type;
98     description
99       "Optical Channel.";
100   }
101
102   identity opticalTransport {
103     base interface-type;
104     description
105       "Optical Transport.";
106   }
107
108   identity otnOdu {
109     base interface-type;
110     description
111       "OTN Optical Data Unit.";
112   }
113
114   identity otnOtu {
115     base interface-type;
116     description
117       "OTN Optical channel Transport Unit.";
118   }
119
120   identity openROADMOpticalMultiplex {
121     base interface-type;
122     description
123       "Optical Transport Multiplex type for openROADM";
124   }
125 }