Elia Battiston | ac8d23f | 2022-03-14 17:54:56 +0100 | [diff] [blame] | 1 | module bbf-device-types { |
| 2 | yang-version 1.1; |
| 3 | namespace "urn:bbf:yang:bbf-device-types"; |
| 4 | prefix bbf-dvct; |
| 5 | |
| 6 | organization |
| 7 | "Broadband Forum <https://www.broadband-forum.org> |
| 8 | Common YANG Work Area"; |
| 9 | contact |
| 10 | "Comments or questions about this Broadband Forum YANG module |
| 11 | should be directed to <mailto:help@broadband-forum.org>. |
| 12 | |
| 13 | Editor: Nick Hancock, ADTRAN |
| 14 | |
| 15 | Editor: Ludwig Pauwels, Nokia |
| 16 | |
| 17 | PS Leader: Joey Boyd, ADTRAN |
| 18 | |
| 19 | PS Leader: Sowrirajan Padmanabhan, Nokia |
| 20 | |
| 21 | WA Director: Joey Boyd, ADTRAN |
| 22 | |
| 23 | WA Director: Sven Ooghe, Nokia"; |
| 24 | description |
| 25 | "This module contains a collection of YANG definitions for |
| 26 | supporting the Broadband Forum requirements on managing physical |
| 27 | devices. |
| 28 | |
| 29 | Specifically, this module defines common types associated with |
| 30 | device management. |
| 31 | |
| 32 | Copyright (c) 2017-2021, Broadband Forum |
| 33 | |
| 34 | Redistribution and use in source and binary forms, with or |
| 35 | without modification, are permitted provided that the following |
| 36 | conditions are met: |
| 37 | |
| 38 | 1. Redistributions of source code must retain the above copyright |
| 39 | notice, this list of conditions and the following disclaimer. |
| 40 | |
| 41 | 2. Redistributions in binary form must reproduce the above |
| 42 | copyright notice, this list of conditions and the following |
| 43 | disclaimer in the documentation and/or other materials |
| 44 | provided with the distribution. |
| 45 | |
| 46 | 3. Neither the name of the copyright holder nor the names of its |
| 47 | contributors may be used to endorse or promote products |
| 48 | derived from this software without specific prior written |
| 49 | permission. |
| 50 | |
| 51 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 52 | CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
| 53 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 54 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 55 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 56 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 57 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 58 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 59 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 60 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 61 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 62 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 63 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 64 | |
| 65 | The above license is used as a license under copyright only. |
| 66 | Please reference the Forum IPR Policy for patent licensing terms |
| 67 | <https://www.broadband-forum.org/ipr-policy>. |
| 68 | |
| 69 | Any moral rights which are necessary to exercise under the above |
| 70 | license grant are also deemed granted under this license. |
| 71 | |
| 72 | This version of this YANG module is part of TR-383a4; see |
| 73 | the TR itself for full legal notices."; |
| 74 | |
| 75 | revision 2021-06-02 { |
| 76 | description |
| 77 | "Amendment 4. |
| 78 | * Approval Date: 2021-06-02. |
| 79 | * Publication Date: 2021-06-02."; |
| 80 | reference |
| 81 | "TR-383a4: Common YANG Modules |
| 82 | <https://www.broadband-forum.org/technical/download/ |
| 83 | TR-383_Amendment-4.pdf>"; |
| 84 | } |
| 85 | |
| 86 | // Identities |
| 87 | // Device types |
| 88 | |
| 89 | identity device-type { |
| 90 | description |
| 91 | "Base identity from which specific device node types are |
| 92 | derived."; |
| 93 | } |
| 94 | |
| 95 | identity access-device-type { |
| 96 | base device-type; |
| 97 | description |
| 98 | "Base identity from which specific access device node types are |
| 99 | derived."; |
| 100 | } |
| 101 | |
| 102 | identity dpu { |
| 103 | base access-device-type; |
| 104 | description |
| 105 | "Distribution Point Unit (DPU)."; |
| 106 | } |
| 107 | |
| 108 | identity msan { |
| 109 | base access-device-type; |
| 110 | description |
| 111 | "Multiservice Access Node (MSAN)."; |
| 112 | } |
| 113 | |
| 114 | identity dslam { |
| 115 | base access-device-type; |
| 116 | description |
| 117 | "Digital Subscriber Line Access Multiplexer (DSLAM)."; |
| 118 | } |
| 119 | |
| 120 | identity olt { |
| 121 | base access-device-type; |
| 122 | description |
| 123 | "Optical Line Terminal (OLT)."; |
| 124 | } |
| 125 | |
| 126 | identity onu { |
| 127 | base access-device-type; |
| 128 | description |
| 129 | "Optical Network Unit (ONU)."; |
| 130 | } |
| 131 | |
| 132 | identity fast-cpe { |
| 133 | base access-device-type; |
| 134 | description |
| 135 | "The G.fast CPE. G.fast is a Digital Subscriber Line (DSL) |
| 136 | protocol standard."; |
| 137 | } |
| 138 | |
| 139 | identity vdsl2-cpe { |
| 140 | base access-device-type; |
| 141 | description |
| 142 | "The Very High-speed Digital Subscriber Line 2 (VDSL2) CPE."; |
| 143 | } |
| 144 | |
| 145 | // Device Subcategory |
| 146 | |
| 147 | identity device-subcategory { |
| 148 | description |
| 149 | "Base identity from which specific subcategories of device types |
| 150 | are derived."; |
| 151 | } |
| 152 | |
| 153 | identity access-device-subcategory { |
| 154 | base device-subcategory; |
| 155 | description |
| 156 | "Identity from which specific subcategories of access device |
| 157 | types are derived."; |
| 158 | } |
| 159 | |
| 160 | identity multi-card { |
| 161 | base access-device-subcategory; |
| 162 | description |
| 163 | "The multi card subcategory. |
| 164 | |
| 165 | An access device of this or a derived identity is a device that |
| 166 | has the capability to support multiple cards, independent of |
| 167 | the actual deployment."; |
| 168 | } |
| 169 | |
| 170 | identity single-card { |
| 171 | base access-device-subcategory; |
| 172 | description |
| 173 | "The single card subcategory. |
| 174 | |
| 175 | An access device of this or a derived identity is a device that |
| 176 | is a fully self-contained device that does not has the |
| 177 | capability to plug or unplug cards."; |
| 178 | } |
| 179 | |
| 180 | identity pluggable-transceiver { |
| 181 | base access-device-subcategory; |
| 182 | description |
| 183 | "The pluggable transceiver subcategory."; |
| 184 | } |
| 185 | } |