Elia Battiston | 4750d3c | 2022-07-14 13:24:56 +0000 | [diff] [blame^] | 1 | module bbf-xpon-if-type { |
| 2 | yang-version 1.1; |
| 3 | namespace "urn:bbf:yang:bbf-xpon-if-type"; |
| 4 | prefix bbf-xponift; |
| 5 | |
| 6 | import bbf-if-type { |
| 7 | prefix bbfift; |
| 8 | } |
| 9 | |
| 10 | organization |
| 11 | "Broadband Forum <https://www.broadband-forum.org> |
| 12 | Fiber Access Networks Work Area"; |
| 13 | contact |
| 14 | "Comments or questions about this Broadband Forum YANG module |
| 15 | should be directed to <mailto:help@broadband-forum.org>. |
| 16 | |
| 17 | Editor: Joey Boyd, ADTRAN |
| 18 | |
| 19 | Editor: Samuel Chen, Broadcom |
| 20 | |
| 21 | Editor: Robert Peschi, Nokia |
| 22 | |
| 23 | WA Director: Marta Seda, Calix |
| 24 | |
| 25 | WA Director: Lin Wei, Huawei"; |
| 26 | description |
| 27 | "This module contains a collection of YANG definitions which |
| 28 | defines xPON interface types that are needed for BBF applications |
| 29 | but are not defined in iana-if-type. |
| 30 | |
| 31 | Copyright (c) 2018, Broadband Forum |
| 32 | |
| 33 | Redistribution and use in source and binary forms, with or |
| 34 | without modification, are permitted provided that the following |
| 35 | conditions are met: |
| 36 | |
| 37 | 1. Redistributions of source code must retain the above copyright |
| 38 | notice, this list of conditions and the following disclaimer. |
| 39 | |
| 40 | 2. Redistributions in binary form must reproduce the above |
| 41 | copyright notice, this list of conditions and the following |
| 42 | disclaimer in the documentation and/or other materials |
| 43 | provided with the distribution. |
| 44 | |
| 45 | 3. Neither the name of the copyright holder nor the names of its |
| 46 | contributors may be used to endorse or promote products |
| 47 | derived from this software without specific prior written |
| 48 | permission. |
| 49 | |
| 50 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 51 | CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
| 52 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 53 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 54 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 55 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 56 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 57 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 58 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 59 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 60 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 61 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 62 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 63 | |
| 64 | The above license is used as a license under copyright only. |
| 65 | Please reference the Forum IPR Policy for patent licensing terms |
| 66 | <https://www.broadband-forum.org/ipr-policy>. |
| 67 | |
| 68 | Any moral rights which are necessary to exercise under the above |
| 69 | license grant are also deemed granted under this license. |
| 70 | |
| 71 | This version of this YANG module is part of TR-385; see |
| 72 | the TR itself for full legal notices."; |
| 73 | |
| 74 | revision 2019-02-25 { |
| 75 | description |
| 76 | "Initial revision. |
| 77 | * Approval Date: 2019-02-25. |
| 78 | * Publication Date: 2019-02-25."; |
| 79 | reference |
| 80 | "TR-385: ITU-T PON YANG Modules |
| 81 | <https://www.broadband-forum.org/technical/download/ |
| 82 | TR-385.pdf>"; |
| 83 | } |
| 84 | |
| 85 | identity bbf-xpon-interface-type { |
| 86 | base bbfift:bbf-interface-type; |
| 87 | description |
| 88 | "This identity is used as a base for all xPON interface types |
| 89 | defined by the BBF that are not in the 'ifType definitions' |
| 90 | registry maintained by IANA."; |
| 91 | } |
| 92 | |
| 93 | identity channel-group { |
| 94 | base bbf-xpon-interface-type; |
| 95 | description |
| 96 | "A set of channel-pairs carried over a common fiber."; |
| 97 | } |
| 98 | |
| 99 | identity channel-partition { |
| 100 | base bbf-xpon-interface-type; |
| 101 | description |
| 102 | "Any of the operator-specified non-overlapping subsets of TWDM |
| 103 | or PtP WDM channels in an NG-PON2 system."; |
| 104 | } |
| 105 | |
| 106 | identity channel-pair { |
| 107 | base bbf-xpon-interface-type; |
| 108 | description |
| 109 | "A set of one downstream wavelength channel and one upstream |
| 110 | wavelength channel that provides connectivity between an OLT |
| 111 | and one or more ONUs."; |
| 112 | } |
| 113 | |
| 114 | identity channel-termination { |
| 115 | base bbf-xpon-interface-type; |
| 116 | description |
| 117 | "A logical function that resides at the OLT network element and |
| 118 | terminates a single PtP WDM channel in a PtP WDM system or a |
| 119 | single TWDM channel in a TWDM system."; |
| 120 | } |
| 121 | |
| 122 | identity ani { |
| 123 | base bbf-xpon-interface-type; |
| 124 | description |
| 125 | "The Access Network Interface located on the ONU."; |
| 126 | } |
| 127 | |
| 128 | identity v-ani { |
| 129 | base bbf-xpon-interface-type; |
| 130 | description |
| 131 | "A virtual representation of the 'ani' on the OLT."; |
| 132 | } |
| 133 | |
| 134 | identity onu-v-enet { |
| 135 | base bbf-xpon-interface-type; |
| 136 | base bbfift:ethernet-like; |
| 137 | description |
| 138 | "Base type for onu-v-enet interfaces. The ONU-vENET |
| 139 | interfaces are virtual interfaces which carry ethernet |
| 140 | frames, which belong to the ONU and which are facing |
| 141 | the xPON side of the ONU i.e. facing the OLT. |
| 142 | |
| 143 | ONU-vENET are virtual interfaces in the sense that they |
| 144 | do not directly refer to a physical port of an ONU. |
| 145 | Instead, ONU-vENET interfaces have the ANI interface of |
| 146 | the ONU as underlying interface. ONU-vENET are NOT |
| 147 | facing the user side of the ONU. |
| 148 | |
| 149 | An ONU-vENET can be used as the xPON side Ehernet |
| 150 | aggregation interface of an ONU which performs Ethernet |
| 151 | traffic aggregation from several user-facing interfaces."; |
| 152 | } |
| 153 | |
| 154 | identity olt-v-enet { |
| 155 | base bbf-xpon-interface-type; |
| 156 | base bbfift:ethernet-like; |
| 157 | description |
| 158 | "Base type for olt-v-enet interfaces. The OLT-vENET |
| 159 | interfaces are virtual interfaces which carry ethernet |
| 160 | frames, which belong to the OLT and which are facing |
| 161 | the xPON side of the OLT i.e. facing the ONU. |
| 162 | |
| 163 | OLT-vENET are virtual interfaces in the sense that they |
| 164 | do not directly refer to a physical port of an OLT. |
| 165 | Instead, OLT-vENET interfaces have the v-ANI interface |
| 166 | corresponding to a specific ONU as underlying interface. |
| 167 | In the general case, an OLT-vENET 1-1 corresponds to a |
| 168 | counter-part ONU-vENET interface on the ONU. |
| 169 | |
| 170 | In the specific case of a TR-156 deployment scheme, |
| 171 | there is typically no need for the ONU to instanciate |
| 172 | ONU-vENET interfaces for subscriber traffic: in that |
| 173 | case OLT-vENET interfaces can directly 1-1 correspond |
| 174 | to individual user facing interface of the ONU, being |
| 175 | physical (per TR-156) or virtual (per TR-167)."; |
| 176 | } |
| 177 | |
| 178 | identity onu-v-vrefpoint { |
| 179 | base bbf-xpon-interface-type; |
| 180 | base bbfift:ethernet-like; |
| 181 | description |
| 182 | "Base type for ONU-vUNI interfaces. The ONU-vUNI |
| 183 | interface is a virtual interface which carry ethernet |
| 184 | frames, which belong to the ONU and which is facing |
| 185 | the user. |
| 186 | |
| 187 | It is intended for use as ONU 'Virtual V reference point' |
| 188 | defined in TR-167 (ref TR-167, Section 4 and 4.1). |
| 189 | ONU-vUNI are virtual interfaces in the sense that they |
| 190 | do not refer to a physical port of an ONU. |
| 191 | |
| 192 | ONU-vUNI are virtual equivalents of the physical |
| 193 | interfaces at the ONU U reference point defined in |
| 194 | TR-156 (ref. TR-156, Section 4)."; |
| 195 | } |
| 196 | } |