Marc De Leenheer | f20c7fb | 2017-05-05 10:24:41 -0700 | [diff] [blame] | 1 | module org-openroadm-interfaces { |
| 2 | namespace "http://org/openroadm/interfaces"; |
| 3 | prefix openROADM-if; |
| 4 | |
| 5 | organization "Open ROADM MSA"; |
| 6 | contact |
| 7 | "OpenROADM.org"; |
| 8 | description |
| 9 | "YANG definitions for device facility interfaces. |
| 10 | Reused ietf-interfaces and some interface-type defined in iana-if-type. |
| 11 | |
| 12 | Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, |
| 13 | AT&T Intellectual Property. All other rights reserved. |
| 14 | |
| 15 | Redistribution and use in source and binary forms, with or without modification, |
| 16 | are permitted provided that the following conditions are met: |
| 17 | |
| 18 | * Redistributions of source code must retain the above copyright notice, this |
| 19 | list of conditions and the following disclaimer. |
| 20 | * Redistributions in binary form must reproduce the above copyright notice, |
| 21 | this list of conditions and the following disclaimer in the documentation and/or |
| 22 | other materials provided with the distribution. |
| 23 | * Neither the Members of the Open ROADM MSA Agreement nor the names of its |
| 24 | contributors may be used to endorse or promote products derived from this software |
| 25 | without specific prior written permission. |
| 26 | |
| 27 | THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS'' |
| 28 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 29 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 30 | IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT, |
| 31 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 32 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
| 33 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 34 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 35 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 36 | POSSIBILITY OF SUCH DAMAGE. |
| 37 | |
| 38 | Also contains code components extracted from IETF Interfaces. These code components |
| 39 | are copyrighted and licensed as follows: |
| 40 | |
| 41 | Copyright (c) 2016 IETF Trust and the persons identified as the document authors. |
| 42 | All rights reserved. |
| 43 | |
| 44 | This document is subject to BCP 78 and the IETF Trust’s Legal Provisions Relating |
| 45 | to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of |
| 46 | publication of this document. Please review these documents carefully, as they |
| 47 | describe your rights and restrictions with respect to this document. Code Components |
| 48 | extracted from this document must include Simplified BSD License text as described in |
| 49 | Section 4.e of the Trust Legal Provisions and are provided without warranty as |
| 50 | described in the Simplified BSD License."; |
| 51 | |
| 52 | revision 2016-10-14 { |
| 53 | description |
| 54 | "Version 1.2"; |
| 55 | } |
| 56 | |
| 57 | identity interface-type { |
| 58 | description |
| 59 | "Base identity from which specific interface types are |
| 60 | derived."; |
| 61 | } |
| 62 | |
| 63 | identity ethernetCsmacd { |
| 64 | base interface-type; |
| 65 | description |
| 66 | "For all Ethernet-like interfaces, regardless of speed, |
| 67 | as per RFC 3635."; |
| 68 | reference |
| 69 | "RFC 3635 - Definitions of Managed Objects for the |
| 70 | Ethernet-like Interface Types"; |
| 71 | } |
| 72 | |
| 73 | identity ip { |
| 74 | base interface-type; |
| 75 | description |
| 76 | "IP (for APPN HPR in IP networks)."; |
| 77 | } |
| 78 | |
| 79 | identity opticalChannel { |
| 80 | base interface-type; |
| 81 | description |
| 82 | "Optical Channel."; |
| 83 | } |
| 84 | |
| 85 | identity opticalTransport { |
| 86 | base interface-type; |
| 87 | description |
| 88 | "Optical Transport."; |
| 89 | } |
| 90 | |
| 91 | identity otnOdu { |
| 92 | base interface-type; |
| 93 | description |
| 94 | "OTN Optical Data Unit."; |
| 95 | } |
| 96 | |
| 97 | identity otnOtu { |
| 98 | base interface-type; |
| 99 | description |
| 100 | "OTN Optical channel Transport Unit."; |
| 101 | } |
| 102 | |
| 103 | identity openROADMOpticalMultiplex { |
| 104 | base interface-type; |
| 105 | description |
| 106 | "Optical Transport Multiplex type for openROADM"; |
| 107 | } |
| 108 | } |