Marc De Leenheer | f20c7fb | 2017-05-05 10:24:41 -0700 | [diff] [blame] | 1 | module org-openroadm-external-pluggable { |
| 2 | namespace "http://org/openroadm/external/pluggable"; |
| 3 | prefix org-openroadm-external-pluggable; |
| 4 | |
| 5 | import org-openroadm-equipment-states-types { |
| 6 | prefix org-openroadm-equipment-states-types; |
| 7 | } |
| 8 | import org-openroadm-common-types { |
| 9 | prefix org-openroadm-common-types; |
| 10 | } |
| 11 | |
| 12 | organization |
| 13 | "OPEN ROADM MSA"; |
| 14 | contact |
| 15 | "OpenROADM.org."; |
| 16 | description |
| 17 | "YANG definitions for External Pluggable |
| 18 | |
| 19 | |
| 20 | Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, |
| 21 | AT&T Intellectual Property. All other rights reserved. |
| 22 | |
| 23 | Redistribution and use in source and binary forms, with or without modification, |
| 24 | are permitted provided that the following conditions are met: |
| 25 | |
| 26 | * Redistributions of source code must retain the above copyright notice, this |
| 27 | list of conditions and the following disclaimer. |
| 28 | * Redistributions in binary form must reproduce the above copyright notice, |
| 29 | this list of conditions and the following disclaimer in the documentation and/or |
| 30 | other materials provided with the distribution. |
| 31 | * Neither the Members of the Open ROADM MSA Agreement nor the names of its |
| 32 | contributors may be used to endorse or promote products derived from this software |
| 33 | without specific prior written permission. |
| 34 | |
| 35 | THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS'' |
| 36 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 37 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 38 | IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT, |
| 39 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 40 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
| 41 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 42 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 43 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 44 | POSSIBILITY OF SUCH DAMAGE."; |
| 45 | |
| 46 | revision 2016-10-14 { |
| 47 | description |
| 48 | "Version 1.2"; |
| 49 | } |
| 50 | |
| 51 | grouping external-pluggable { |
| 52 | list pluggables { |
| 53 | key "clli"; |
| 54 | leaf clli { |
| 55 | type string; |
| 56 | description |
| 57 | "Location CLLI where pluggable resides"; |
| 58 | } |
| 59 | list ext-pluggables { |
| 60 | key "pluggable-number node-type"; |
| 61 | leaf pluggable-number { |
| 62 | type uint32; |
| 63 | description |
| 64 | "Identifier of the pluggable in a given |
| 65 | office, i.e., 1, 2..N"; |
| 66 | } |
| 67 | leaf node-type { |
| 68 | type org-openroadm-common-types:node-types; |
| 69 | } |
| 70 | leaf pluggable-id { |
| 71 | type string; |
| 72 | description |
| 73 | "Network-wide unique identifier for a pluggable"; |
| 74 | } |
| 75 | leaf vendor { |
| 76 | type string; |
| 77 | description |
| 78 | "Identifier of the supplier for the pluggable"; |
| 79 | } |
| 80 | leaf customer-code { |
| 81 | type string; |
| 82 | description |
| 83 | "Owner of the pluggable"; |
| 84 | } |
| 85 | container external-connection { |
| 86 | leaf clli { |
| 87 | type string; |
| 88 | description |
| 89 | "Location of CLLI where ROADM resides"; |
| 90 | } |
| 91 | leaf node-number{ |
| 92 | type uint32; |
| 93 | } |
| 94 | leaf node-id { |
| 95 | type string; |
| 96 | description |
| 97 | "Identifier of a ROADM node"; |
| 98 | } |
| 99 | leaf srg-number { |
| 100 | type uint16; |
| 101 | } |
| 102 | leaf pp-number { |
| 103 | type uint16; |
| 104 | } |
| 105 | leaf bit-rate { |
| 106 | type uint32; |
| 107 | } |
| 108 | leaf signal-format { |
| 109 | type string; |
| 110 | } |
| 111 | leaf reach { |
| 112 | type string; |
| 113 | } |
| 114 | leaf optic { |
| 115 | type org-openroadm-common-types:optic-types; |
| 116 | } |
| 117 | leaf state { |
| 118 | type org-openroadm-equipment-states-types:states; |
| 119 | description |
| 120 | "A xponder can be in one of the following |
| 121 | states"; |
| 122 | } |
| 123 | } |
| 124 | container tail { |
| 125 | leaf client-equipment { |
| 126 | type string; |
| 127 | } |
| 128 | leaf client-equipmentId { |
| 129 | type string; |
| 130 | } |
| 131 | leaf clfi { |
| 132 | type string; |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | } |