Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 1 | module tapi-eth {
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 2 | namespace "urn:onf:otcc:yang:tapi-eth";
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 3 | prefix tapi-eth;
|
| 4 | import tapi-common {
|
| 5 | prefix tapi-common;
|
| 6 | }
|
| 7 | import tapi-topology {
|
| 8 | prefix tapi-topology;
|
| 9 | }
|
| 10 | import tapi-connectivity {
|
| 11 | prefix tapi-connectivity;
|
| 12 | }
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 13 | organization "ONF OTCC (Open Transport Configuration & Control) Project";
|
| 14 | contact " |
| 15 | Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI> |
| 16 | Project List: <mailto:transport-api@opennetworking.org> |
| 17 | Editor: Karthik Sethuraman |
| 18 | <mailto:karthik.sethuraman@necam.com>";
|
| 19 | description "
|
| 20 | This module contains TAPI ETH Model definitions.
|
| 21 | Source: TapiEth.uml
|
| 22 | Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
|
| 23 | License: This module is distributed under the Apache License 2.0";
|
| 24 | revision 2018-02-16 {
|
| 25 | description "ONF Transport API version 2.0.1 |
| 26 | This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool version . |
| 27 | <https://wiki.opennetworking.org/display/OIMT/IISOMI> |
| 28 | Changes in this revision: <https://github.com/OpenNetworkingFoundation/Snowmass-ONFOpenTransport/blob/develop/change-log.md>";
|
| 29 | reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model |
| 30 | <https://github.com/OpenNetworkingFoundation/Snowmass-ONFOpenTransport/tree/develop/UML>";
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 31 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 32 | augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
|
| 33 | uses eth-node-edge-point-spec;
|
| 34 | description "Augments the base LayerProtocol information in NodeEndPoint with ETH-specific information";
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 35 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 36 | augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
|
| 37 | uses eth-connection-end-point-spec;
|
| 38 | description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 39 | }
|
| 40 | /***********************
|
| 41 | * package object-classes
|
| 42 | **********************/
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 43 | grouping eth-ctp-pac {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 44 | leaf-list auxiliary-function-position-sequence {
|
| 45 | type uint64;
|
| 46 | description "This attribute indicates the positions (i.e., the relative order) of all the MEP, MIP, and TCS objects which are associated with the CTP.";
|
| 47 | }
|
| 48 | leaf vlan-config {
|
| 49 | type uint64;
|
| 50 | description "This attribute models the ETHx/ETH-m_A_So_MI_Vlan_Config information defined in G.8021.
|
| 51 | range of type : -1, 0, 1..4094";
|
| 52 | }
|
| 53 | leaf csf-rdi-fdi-enable {
|
| 54 | type boolean;
|
| 55 | description "This attribute models the MI_CSFrdifdiEnable information defined in G.8021.";
|
| 56 | }
|
| 57 | leaf csf-report {
|
| 58 | type boolean;
|
| 59 | description "This attribute models the MI_CSF_Reported information defined in G.8021.
|
| 60 | range of type : true, false";
|
| 61 | }
|
| 62 | leaf-list filter-config-snk {
|
| 63 | type mac-address;
|
| 64 | description "This attribute models the FilteConfig MI defined in 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
|
| 65 | 01-80-C2-00-00-10,
|
| 66 | 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
|
| 67 | 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
|
| 68 | The filter action is Pass or Block.
|
| 69 | If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
|
| 70 | If none of the above addresses match, the ETH_CI_D is passed.";
|
| 71 | }
|
| 72 | leaf mac-length {
|
| 73 | type uint64;
|
| 74 | default "2000";
|
| 75 | description "This attribute models the MAC_Lenght MI defined in 8.6/G.8021 for the MAC Length Check process. It indicates the allowed maximum frame length in bytes.
|
| 76 | range of type : 1518, 1522, 2000";
|
| 77 | }
|
| 78 | container filter-config {
|
| 79 | uses control-frame-filter;
|
| 80 | description "This attribute models the FilterConfig MI defined in section 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
|
| 81 | - All bridges address: 01-80-C2-00-00-10,
|
| 82 | - Reserved addresses: 01-80-C2-00-00-00 to 01-80-C2-00-00-0F,
|
| 83 | - GARP Application addresses: 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
|
| 84 | The filter action is Pass or Block.
|
| 85 | If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
|
| 86 | If none of the above addresses match, the ETH_CI_D is passed.";
|
| 87 | }
|
| 88 | leaf is-ssf-reported {
|
| 89 | type boolean;
|
| 90 | description "This attribute provisions whether the SSF defect should be reported as fault cause or not.
|
| 91 | It models the ETH-LAG_FT_Sk_MI_SSF_Reported defined in G.8021.";
|
| 92 | }
|
| 93 | leaf pll-thr {
|
| 94 | type uint64;
|
| 95 | description "This attribute provisions the threshold for the number of active ports. If the number of active ports is more than zero but less than the provisioned threshold, a cPLL (Partial Link Loss) is raised. See section 9.7.1.2 of G.8021.
|
| 96 | range of type : 0..number of ports";
|
| 97 | }
|
| 98 | leaf actor-oper-key {
|
| 99 | type uint64;
|
| 100 | config false;
|
| 101 | description "See 802.1AX:
|
| 102 | The current operational value of the Key for the Aggregator. The administrative Key value may differ from the operational Key value for the reasons discussed in 5.6.2.
|
| 103 | The meaning of particular Key values is of local significance.
|
| 104 | range of type : 16 bit";
|
| 105 | }
|
| 106 | leaf actor-system-id {
|
| 107 | type mac-address;
|
| 108 | description "See 802.1AX:
|
| 109 | A MAC address used as a unique identifier for the System that contains this Aggregator.";
|
| 110 | }
|
| 111 | leaf actor-system-priority {
|
| 112 | type uint64;
|
| 113 | description "See 802.1AX:
|
| 114 | Indicating the priority associated with the Actor’s System ID.
|
| 115 | range of type : 2-octet";
|
| 116 | }
|
| 117 | leaf collector-max-delay {
|
| 118 | type uint64;
|
| 119 | description "See 802.1AX:
|
| 120 | The value of this attribute defines the maximum delay, in tens of microseconds, that may be imposed by the Frame Collector between receiving a frame from an Aggregator Parser, and either delivering the frame to its MAC Client or discarding the frame (see IEEE 802.1AX clause 5.2.3.1.1).
|
| 121 | range of type : 16-bit";
|
| 122 | }
|
| 123 | leaf data-rate {
|
| 124 | type uint64;
|
| 125 | config false;
|
| 126 | description "See 802.1AX:
|
| 127 | The current data rate, in bits per second, of the aggregate link. The value is calculated as N times the data rate of a single link in the aggregation, where N is the number of active links.";
|
| 128 | }
|
| 129 | leaf partner-oper-key {
|
| 130 | type uint64;
|
| 131 | config false;
|
| 132 | description "See 802.1AX:
|
| 133 | The current operational value of the Key for the Aggregator’s current protocol Partner. If the aggregation is manually configured, this Key value will be a value assigned by the local System.
|
| 134 | range of type : 16-bit";
|
| 135 | }
|
| 136 | leaf partner-system-id {
|
| 137 | type mac-address;
|
| 138 | config false;
|
| 139 | description "See 802.1AX:
|
| 140 | A MAC address consisting of the unique identifier for the current protocol Partner of this Aggregator. A value of zero indicates that there is no known Partner. If the aggregation is manually configured, this System ID value will be a value assigned by the local System.";
|
| 141 | }
|
| 142 | leaf partner-system-priority {
|
| 143 | type uint64;
|
| 144 | config false;
|
| 145 | description "See 802.1AX:
|
| 146 | Indicates the priority associated with the Partner’s System ID. If the aggregation is manually configured, this System Priority value will be a value assigned by the local System.
|
| 147 | range of type : 2-octet";
|
| 148 | }
|
| 149 | leaf csf-config {
|
| 150 | type csf-config;
|
| 151 | description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.
|
| 152 | range of type : true, false";
|
| 153 | }
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 154 | container traffic-shaping {
|
| 155 | uses traffic-shaping-pac;
|
| 156 | description "none";
|
| 157 | }
|
| 158 | container traffic-conditioning {
|
| 159 | uses traffic-conditioning-pac;
|
| 160 | description "none";
|
| 161 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 162 | description "none";
|
| 163 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 164 | grouping eth-connection-end-point-spec {
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 165 | container eth-term {
|
| 166 | uses eth-termination-pac;
|
| 167 | description "none";
|
| 168 | }
|
| 169 | container eth-ctp {
|
| 170 | uses eth-ctp-pac;
|
| 171 | description "none";
|
| 172 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 173 | description "none";
|
| 174 | }
|
| 175 | grouping eth-termination-pac {
|
| 176 | container priority-regenerate {
|
| 177 | uses priority-mapping;
|
| 178 | description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
|
| 179 | }
|
| 180 | leaf ether-type {
|
| 181 | type vlan-type;
|
| 182 | description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
|
| 183 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 184 | leaf-list filter-config-1 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 185 | type mac-address;
|
| 186 | description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
|
| 187 | It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
|
| 188 | The 33 MAC addresses are:
|
| 189 | 01-80-C2-00-00-10,
|
| 190 | 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
|
| 191 | 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
|
| 192 | The filter action is Pass or Block.
|
| 193 | If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
|
| 194 | If none of the above addresses match, the ETH_CI_D is passed.
|
| 195 | range of type : MacAddress:
|
| 196 | 01-80-C2-00-00-10,
|
| 197 | 01-80-C2-00-00-00 to
|
| 198 | 01-80-C2-00-00-0F, and
|
| 199 | 01-80-C2-00-00-20 to
|
| 200 | 01-80-C2-00-00-2F;
|
| 201 | ActionEnum:
|
| 202 | PASS, BLOCK";
|
| 203 | }
|
| 204 | leaf frametype-config {
|
| 205 | type frame-type;
|
| 206 | description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
|
| 207 | range of type : see Enumeration";
|
| 208 | }
|
| 209 | leaf port-vid {
|
| 210 | type vid;
|
| 211 | default "1";
|
| 212 | description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
|
| 213 | }
|
| 214 | leaf priority-code-point-config {
|
| 215 | type pcp-coding;
|
| 216 | description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
|
| 217 | range of type : see Enumeration";
|
| 218 | }
|
| 219 | description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
|
| 220 | }
|
| 221 | grouping ety-termination-pac {
|
| 222 | leaf is-fts-enabled {
|
| 223 | type boolean;
|
| 224 | description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
|
| 225 | }
|
| 226 | leaf is-tx-pause-enabled {
|
| 227 | type boolean;
|
| 228 | description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
|
| 229 | }
|
| 230 | leaf phy-type {
|
| 231 | type ety-phy-type;
|
| 232 | config false;
|
| 233 | description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
|
| 234 | }
|
| 235 | leaf-list phy-type-list {
|
| 236 | type ety-phy-type;
|
| 237 | config false;
|
| 238 | description "This attribute identifies the possible PHY types that could be supported at the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.3.";
|
| 239 | }
|
| 240 | description "none";
|
| 241 | }
|
| 242 | grouping traffic-conditioning-pac {
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 243 | list prio-config-list {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 244 | config false;
|
| 245 | uses priority-configuration;
|
| 246 | description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
|
| 247 | }
|
| 248 | list cond-config-list {
|
| 249 | config false;
|
| 250 | uses traffic-conditioning-configuration;
|
| 251 | description "This attribute indicates for the conditioner process the conditioning parameters:
|
| 252 | - Queue ID: Indicates the Queue ID
|
| 253 | - Committed Information Rate (CIR): number of bits per second
|
| 254 | - Committed Burst Size (CBS): number of bytes
|
| 255 | - Excess Information Rate (EIR): number of bits per second
|
| 256 | - Excess Burst Size (EBS): number of bytes
|
| 257 | - Coupling flag (CF): 0 or 1
|
| 258 | - Color mode (CM): color-blind and color-aware.";
|
| 259 | }
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 260 | leaf codirectional {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 261 | type boolean;
|
| 262 | config false;
|
| 263 | description "This attribute indicates the direction of the conditioner. The value of true means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the sink part of the containing CTP. The value of false means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the source part of the containing CTP.";
|
| 264 | }
|
| 265 | description "This object class models the ETH traffic conditioning function as defined in G.8021.
|
| 266 | Basic attributes: codirectional, condConfigList, prioConfigList";
|
| 267 | }
|
| 268 | grouping traffic-shaping-pac {
|
| 269 | list prio-config-list {
|
| 270 | config false;
|
| 271 | uses priority-configuration;
|
| 272 | description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
|
| 273 | }
|
| 274 | list queue-config-list {
|
| 275 | config false;
|
| 276 | uses queue-configuration;
|
| 277 | description "This attribute configures the Queue depth and Dropping threshold parameters of the Queue process. The Queue depth sets the maximum size of the queue in bytes. An incoming ETH_CI traffic unit is dropped if there is insufficient space in the queue to hold the whole unit. The Dropping threshold sets the threshold of the queue. If the queue is filled beyond this threshold, incoming ETH_CI traffic units accompanied by the ETH_CI_DE signal set are dropped.";
|
| 278 | }
|
| 279 | leaf sched-config {
|
| 280 | type scheduling-configuration;
|
| 281 | config false;
|
| 282 | description "This attribute configures the scheduler process. The value of this attribute is for further study because it is for further study in G.8021.
|
| 283 | Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
|
| 284 | Note that the only significance of the GTCS function defined in G.8021 is the use of a common scheduler for shaping. Given that, G.8052 models the common scheduler feature by having a common value for this attribute.";
|
| 285 | }
|
| 286 | leaf codirectional {
|
| 287 | type boolean;
|
| 288 | config false;
|
| 289 | description "This attribute indicates the direction of the shaping function. The value of true means that the shaping (modeled as a TCS Source according to G.8021) is associated with the source part of the containing CTP. The value of false means that the shaping (modeled as a TCS Source according to G.8021) is associated with the sink part of the containing CTP.";
|
| 290 | }
|
| 291 | description "This object class models the ETH traffic shaping function as defined in G.8021.
|
| 292 | Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
|
| 293 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 294 | grouping eth-node-edge-point-spec {
|
Yuta HIGUCHI | 80d0bbd | 2018-02-28 11:13:11 -0800 | [diff] [blame] | 295 | container ety-term {
|
| 296 | uses ety-termination-pac;
|
| 297 | description "none";
|
| 298 | }
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 299 | description "none";
|
| 300 | }
|
| 301 |
|
| 302 | /***********************
|
| 303 | * package type-definitions
|
| 304 | **********************/
|
| 305 | grouping priority-configuration {
|
| 306 | leaf priority {
|
| 307 | type uint64 {
|
| 308 | range "0..7";
|
| 309 | }
|
| 310 | description "none";
|
| 311 | }
|
| 312 | leaf queue-id {
|
| 313 | type uint64 {
|
| 314 | range "1..8";
|
| 315 | }
|
| 316 | description "none";
|
| 317 | }
|
| 318 | description "none";
|
| 319 | }
|
| 320 | grouping queue-configuration {
|
| 321 | leaf queue-id {
|
| 322 | type uint64;
|
| 323 | description "This attribute indicates the queue id.";
|
| 324 | }
|
| 325 | leaf queue-depth {
|
| 326 | type uint64;
|
| 327 | description "This attribute defines the depth of the queue in bytes.";
|
| 328 | }
|
| 329 | leaf queue-threshold {
|
| 330 | type uint64;
|
| 331 | description "This attribute defines the threshold of the queue in bytes.";
|
| 332 | }
|
| 333 | description "none";
|
| 334 | }
|
| 335 | grouping traffic-conditioning-configuration {
|
| 336 | leaf cir {
|
| 337 | type uint64;
|
| 338 | description "This attribute indicates the Committed Information Rate in bits/s.";
|
| 339 | }
|
| 340 | leaf cbs {
|
| 341 | type uint64;
|
| 342 | description "This attribute indicates the Committed Burst Size in bytes.";
|
| 343 | }
|
| 344 | leaf eir {
|
| 345 | type uint64;
|
| 346 | description "This attribute indicates the Excess Information Rate in bits/s.";
|
| 347 | }
|
| 348 | leaf ebs {
|
| 349 | type uint64;
|
| 350 | description "This attribute indicates the Excess Burst Size in bytes.";
|
| 351 | }
|
| 352 | leaf coupling-flag {
|
| 353 | type boolean;
|
| 354 | description "This attribute indicates the coupling flag.";
|
| 355 | }
|
| 356 | leaf colour-mode {
|
| 357 | type colour-mode;
|
| 358 | description "This attribute indicates the colour mode.";
|
| 359 | }
|
| 360 | leaf queue-id {
|
| 361 | type uint64 {
|
| 362 | range "1..8";
|
| 363 | }
|
| 364 | description "This attribute indicates the queue id.";
|
| 365 | }
|
| 366 | description "none";
|
| 367 | }
|
| 368 | typedef mac-address {
|
| 369 | type string;
|
| 370 | description "This primitive data type contains an Ethernet MAC address defined by IEEE 802a. The format of the address consists of 12 hexadecimal characters, grouped in pairs and separated by '-' (e.g., 03-27-AC-75-3E-1D).";
|
| 371 | }
|
| 372 | grouping priority-mapping {
|
| 373 | leaf priority-0 {
|
| 374 | type uint64 {
|
| 375 | range "0..7";
|
| 376 | }
|
| 377 | description "This attribute defines the new priority value for the old priority value 0.";
|
| 378 | }
|
| 379 | leaf priority-1 {
|
| 380 | type uint64 {
|
| 381 | range "0..7";
|
| 382 | }
|
| 383 | default "1";
|
| 384 | description "This attribute defines the new priority value for the old priority value 1.";
|
| 385 | }
|
| 386 | leaf priority-2 {
|
| 387 | type uint64 {
|
| 388 | range "0..7";
|
| 389 | }
|
| 390 | default "2";
|
| 391 | description "This attribute defines the new priority value for the old priority value 2.";
|
| 392 | }
|
| 393 | leaf priority-3 {
|
| 394 | type uint64 {
|
| 395 | range "0..7";
|
| 396 | }
|
| 397 | default "3";
|
| 398 | description "This attribute defines the new priority value for the old priority value 3.";
|
| 399 | }
|
| 400 | leaf priority-4 {
|
| 401 | type uint64 {
|
| 402 | range "0..7";
|
| 403 | }
|
| 404 | default "4";
|
| 405 | description "This attribute defines the new priority value for the old priority value 4.";
|
| 406 | }
|
| 407 | leaf priority-5 {
|
| 408 | type uint64 {
|
| 409 | range "0..7";
|
| 410 | }
|
| 411 | default "5";
|
| 412 | description "This attribute defines the new priority value for the old priority value 5.";
|
| 413 | }
|
| 414 | leaf priority-6 {
|
| 415 | type uint64 {
|
| 416 | range "0..7";
|
| 417 | }
|
| 418 | default "6";
|
| 419 | description "This attribute defines the new priority value for the old priority value 6.";
|
| 420 | }
|
| 421 | leaf priority-7 {
|
| 422 | type uint64 {
|
| 423 | range "0..7";
|
| 424 | }
|
| 425 | default "7";
|
| 426 | description "This attribute defines the new priority value for the old priority value 7.";
|
| 427 | }
|
| 428 | description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
|
| 429 | }
|
| 430 | typedef vid {
|
| 431 | type string;
|
| 432 | description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
|
| 433 | }
|
| 434 | typedef modify-cross-connection-data {
|
| 435 | type string;
|
| 436 | description "none";
|
| 437 | }
|
| 438 | grouping address-tuple {
|
| 439 | leaf address {
|
| 440 | type mac-address;
|
| 441 | description "This attribute contains the MAC address of the address tuple.";
|
| 442 | }
|
| 443 | leaf-list port-list {
|
| 444 | type mac-address;
|
| 445 | description "This attribute contains the ports associated to the MAC address in the address tuple.";
|
| 446 | }
|
| 447 | description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
|
| 448 | }
|
| 449 | typedef scheduling-configuration {
|
| 450 | type string;
|
| 451 | description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
|
| 452 | }
|
| 453 | grouping control-frame-filter {
|
| 454 | leaf c-2-00-00-10 {
|
| 455 | type boolean;
|
| 456 | description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
|
| 457 | }
|
| 458 | leaf c-2-00-00-00 {
|
| 459 | type boolean;
|
| 460 | description "This attribute identifies the STP/RSTP/MSTP protocol address.";
|
| 461 | }
|
| 462 | leaf c-2-00-00-01 {
|
| 463 | type boolean;
|
| 464 | description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
|
| 465 | }
|
| 466 | leaf c-2-00-00-02 {
|
| 467 | type boolean;
|
| 468 | description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
|
| 469 | }
|
| 470 | leaf c-2-00-00-03 {
|
| 471 | type boolean;
|
| 472 | description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
|
| 473 | }
|
| 474 | leaf c-2-00-00-04 {
|
| 475 | type boolean;
|
| 476 | description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
|
| 477 | }
|
| 478 | leaf c-2-00-00-05 {
|
| 479 | type boolean;
|
| 480 | description "Reserved for future standardization.";
|
| 481 | }
|
| 482 | leaf c-2-00-00-06 {
|
| 483 | type boolean;
|
| 484 | description "Reserved for future standardization.";
|
| 485 | }
|
| 486 | leaf c-2-00-00-07 {
|
| 487 | type boolean;
|
| 488 | description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
|
| 489 | }
|
| 490 | leaf c-2-00-00-08 {
|
| 491 | type boolean;
|
| 492 | description "This attribute identifies the Provider Bridge Group address.";
|
| 493 | }
|
| 494 | leaf c-2-00-00-09 {
|
| 495 | type boolean;
|
| 496 | description "Reserved for future standardization.";
|
| 497 | }
|
| 498 | leaf c-2-00-00-0-a {
|
| 499 | type boolean;
|
| 500 | description "Reserved for future standardization.";
|
| 501 | }
|
| 502 | leaf c-2-00-00-0-b {
|
| 503 | type boolean;
|
| 504 | description "Reserved for future standardization.";
|
| 505 | }
|
| 506 | leaf c-2-00-00-0-c {
|
| 507 | type boolean;
|
| 508 | description "Reserved for future standardization.";
|
| 509 | }
|
| 510 | leaf c-2-00-00-0-d {
|
| 511 | type boolean;
|
| 512 | description "This attribute identifies the Provider Bridge MVRP address.";
|
| 513 | }
|
| 514 | leaf c-2-00-00-0-e {
|
| 515 | type boolean;
|
| 516 | description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
|
| 517 | }
|
| 518 | leaf c-2-00-00-0-f {
|
| 519 | type boolean;
|
| 520 | description "Reserved for future standardization.";
|
| 521 | }
|
| 522 | leaf c-2-00-00-20 {
|
| 523 | type boolean;
|
| 524 | description "This attribute identifies the Customer and Provider Bridge MMRP address.";
|
| 525 | }
|
| 526 | leaf c-2-00-00-21 {
|
| 527 | type boolean;
|
| 528 | description "This attribute identifies the Customer Bridge MVRP address.";
|
| 529 | }
|
| 530 | leaf c-2-00-00-22 {
|
| 531 | type boolean;
|
| 532 | description "Reserved for future standardization.";
|
| 533 | }
|
| 534 | leaf c-2-00-00-23 {
|
| 535 | type boolean;
|
| 536 | description "Reserved for future standardization.";
|
| 537 | }
|
| 538 | leaf c-2-00-00-24 {
|
| 539 | type boolean;
|
| 540 | description "Reserved for future standardization.";
|
| 541 | }
|
| 542 | leaf c-2-00-00-25 {
|
| 543 | type boolean;
|
| 544 | description "Reserved for future standardization.";
|
| 545 | }
|
| 546 | leaf c-2-00-00-26 {
|
| 547 | type boolean;
|
| 548 | description "Reserved for future standardization.";
|
| 549 | }
|
| 550 | leaf c-2-00-00-27 {
|
| 551 | type boolean;
|
| 552 | description "Reserved for future standardization.";
|
| 553 | }
|
| 554 | leaf c-2-00-00-28 {
|
| 555 | type boolean;
|
| 556 | description "Reserved for future standardization.";
|
| 557 | }
|
| 558 | leaf c-2-00-00-29 {
|
| 559 | type boolean;
|
| 560 | description "Reserved for future standardization.";
|
| 561 | }
|
| 562 | leaf c-2-00-00-2-a {
|
| 563 | type boolean;
|
| 564 | description "Reserved for future standardization.";
|
| 565 | }
|
| 566 | leaf c-2-00-00-2-b {
|
| 567 | type boolean;
|
| 568 | description "Reserved for future standardization.";
|
| 569 | }
|
| 570 | leaf c-2-00-00-2-c {
|
| 571 | type boolean;
|
| 572 | description "Reserved for future standardization.";
|
| 573 | }
|
| 574 | leaf c-2-00-00-2-d {
|
| 575 | type boolean;
|
| 576 | description "Reserved for future standardization.";
|
| 577 | }
|
| 578 | leaf c-2-00-00-2-e {
|
| 579 | type boolean;
|
| 580 | description "Reserved for future standardization.";
|
| 581 | }
|
| 582 | leaf c-2-00-00-2-f {
|
| 583 | type boolean;
|
| 584 | description "Reserved for future standardization.";
|
| 585 | }
|
| 586 | description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
|
| 587 | Value 'false' means block: The frame is discarded by the filter process.
|
| 588 | Value 'true' means pass: The frame is passed unchanged through the filter process.";
|
| 589 | }
|
| 590 | grouping bandwidth-report {
|
| 591 | leaf source-mac-address {
|
| 592 | type mac-address;
|
| 593 | description "The sourceMacAddress is the address from the far end.";
|
| 594 | }
|
| 595 | leaf port-id {
|
| 596 | type uint64;
|
| 597 | description "This attribute returns the far end port identifier.";
|
| 598 | }
|
| 599 | leaf nominal-bandwidth {
|
| 600 | type uint64;
|
| 601 | description "This attribute returns the configured bandwidth";
|
| 602 | }
|
| 603 | leaf current-bandwidth {
|
| 604 | type uint64;
|
| 605 | description "This attribute returns the current bandwidth.";
|
| 606 | }
|
| 607 | description "Data type for the bandwidth report.";
|
| 608 | }
|
| 609 | typedef admin-state {
|
| 610 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 611 | enum LOCK {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 612 | description "none";
|
| 613 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 614 | enum NORMAL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 615 | description "none";
|
| 616 | }
|
| 617 | }
|
| 618 | description "none";
|
| 619 | }
|
| 620 | typedef colour-mode {
|
| 621 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 622 | enum COLOUR_BLIND {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 623 | description "none";
|
| 624 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 625 | enum COLOUR_AWARE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 626 | description "none";
|
| 627 | }
|
| 628 | }
|
| 629 | description "none";
|
| 630 | }
|
| 631 | typedef csf-config {
|
| 632 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 633 | enum DISABLED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 634 | description "This literal covers the following states of the CSF related MI informations:
|
| 635 | - MI_CSF_Enable is false
|
| 636 | - MI_CSFrdifdi_Enable is false
|
| 637 | - MI_CSFdci_Enable is false.";
|
| 638 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 639 | enum ENABLED {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 640 | description "This literal covers the following states of the CSF related MI informations:
|
| 641 | - MI_CSF_Enable is true
|
| 642 | - MI_CSFrdifdi_Enable is false
|
| 643 | - MI_CSFdci_Enable is false.";
|
| 644 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 645 | enum ENABLED_WITH_RDI_FDI {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 646 | description "This literal covers the following states of the CSF related MI informations:
|
| 647 | - MI_CSF_Enable is true
|
| 648 | - MI_CSFrdifdi_Enable is true
|
| 649 | - MI_CSFdci_Enable is false.";
|
| 650 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 651 | enum ENABLED_WITH_RDI_FDI_DCI {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 652 | description "This literal covers the following states of the CSF related MI informations:
|
| 653 | - MI_CSF_Enable is true
|
| 654 | - MI_CSFrdifdi_Enable is true
|
| 655 | - MI_CSFdci_Enable is true.";
|
| 656 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 657 | enum ENABLED_WITH_DCI {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 658 | description "This literal covers the following states of the CSF related MI informations:
|
| 659 | - MI_CSF_Enable is true
|
| 660 | - MI_CSFrdifdi_Enable is false
|
| 661 | - MI_CSFdci_Enable is true.";
|
| 662 | }
|
| 663 | }
|
| 664 | description "none";
|
| 665 | }
|
| 666 | typedef ety-phy-type {
|
| 667 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 668 | enum OTHER {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 669 | description "none";
|
| 670 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 671 | enum UNKNOWN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 672 | description "none";
|
| 673 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 674 | enum NONE {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 675 | description "none";
|
| 676 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 677 | enum 2BASE_TL {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 678 | description "none";
|
| 679 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 680 | enum 10MBIT_S {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 681 | description "none";
|
| 682 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 683 | enum 10PASS_TS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 684 | description "none";
|
| 685 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 686 | enum 100BASE_T4 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 687 | description "none";
|
| 688 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 689 | enum 100BASE_X {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 690 | description "none";
|
| 691 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 692 | enum 100BASE_T2 {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 693 | description "none";
|
| 694 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 695 | enum 1000BASE_X {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 696 | description "none";
|
| 697 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 698 | enum 1000BASE_T {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 699 | description "none";
|
| 700 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 701 | enum 10GBASE-X {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 702 | description "none";
|
| 703 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 704 | enum 10GBASE_R {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 705 | description "none";
|
| 706 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 707 | enum 10GBASE_W {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 708 | description "none";
|
| 709 | }
|
| 710 | }
|
| 711 | description "none";
|
| 712 | }
|
| 713 | typedef frame-type {
|
| 714 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 715 | enum ADMIT_ONLY_VLAN_TAGGED_FRAMES {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 716 | description "none";
|
| 717 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 718 | enum ADMIT_ONLY_UNTAGGED_AND_PRIORITY_TAGGED_FRAMES {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 719 | description "none";
|
| 720 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 721 | enum ADMIT_ALL_FRAMES {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 722 | description "none";
|
| 723 | }
|
| 724 | }
|
| 725 | description "none";
|
| 726 | }
|
| 727 | typedef oam-period {
|
| 728 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 729 | enum 3_33MS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 730 | description "Default for protection.";
|
| 731 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 732 | enum 10MS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 733 | description "none";
|
| 734 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 735 | enum 100MS {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 736 | description "none";
|
| 737 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 738 | enum 1S {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 739 | description "none";
|
| 740 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 741 | enum 10S {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 742 | description "none";
|
| 743 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 744 | enum 1MIN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 745 | description "none";
|
| 746 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 747 | enum 10MIN {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 748 | description "none";
|
| 749 | }
|
| 750 | }
|
| 751 | description "Provides the frequency for the OAM PDU insertion.";
|
| 752 | }
|
| 753 | typedef pcp-coding {
|
| 754 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 755 | enum 8P0D {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 756 | description "none";
|
| 757 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 758 | enum 7P1D {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 759 | description "none";
|
| 760 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 761 | enum 6P2D {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 762 | description "none";
|
| 763 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 764 | enum 5P3D {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 765 | description "none";
|
| 766 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 767 | enum DEI {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 768 | description "This enumeration value means that all priorities should be drop eligible.
|
| 769 | DEI = Drop Eligibility Indicator";
|
| 770 | }
|
| 771 | }
|
| 772 | description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
|
| 773 | }
|
| 774 | typedef vlan-type {
|
| 775 | type enumeration {
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 776 | enum C_Tag {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 777 | description "0x8100";
|
| 778 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 779 | enum S_Tag {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 780 | description "0x88a8";
|
| 781 | }
|
wu | 6a418d2 | 2018-02-02 01:49:21 -0500 | [diff] [blame] | 782 | enum I_Tag {
|
Toru Furusawa | 2898889 | 2017-10-30 17:28:40 -0700 | [diff] [blame] | 783 | description "88-e7";
|
| 784 | }
|
| 785 | }
|
| 786 | description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
|
| 787 | }
|
| 788 |
|
| 789 | }
|