blob: 0de1f8db441a82e495333d8af2c4768ef0fd399d [file] [log] [blame]
Toru Furusawa28988892017-10-30 17:28:40 -07001module tapi-eth {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -08002 namespace "urn:onf:otcc:yang:tapi-eth";
Toru Furusawa28988892017-10-30 17:28:40 -07003 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 HIGUCHI80d0bbd2018-02-28 11:13:11 -080013 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";
Yuta HIGUCHI7f165b12018-03-25 19:05:29 -070024 revision 2018-03-07 {
Yuta HIGUCHIe1ca23f2018-04-06 10:05:45 -070025 description "ONF Transport API version 2.0.2
26 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
27 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
28 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
29 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
30 }
31 revision 2018-02-16 {
32 description "ONF Transport API version 2.0.1
33 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
34 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
35 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
36 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
37 }
38 revision 2018-01-02 {
39 description "ONF Transport API version 2.0.0
40 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
41 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
42 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
43 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
Toru Furusawa28988892017-10-30 17:28:40 -070044 }
wu6a418d22018-02-02 01:49:21 -050045 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
46 uses eth-node-edge-point-spec;
47 description "Augments the base LayerProtocol information in NodeEndPoint with ETH-specific information";
Toru Furusawa28988892017-10-30 17:28:40 -070048 }
wu6a418d22018-02-02 01:49:21 -050049 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
50 uses eth-connection-end-point-spec;
51 description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
Toru Furusawa28988892017-10-30 17:28:40 -070052 }
53 /***********************
54 * package object-classes
55 **********************/
wu6a418d22018-02-02 01:49:21 -050056 grouping eth-ctp-pac {
Toru Furusawa28988892017-10-30 17:28:40 -070057 leaf-list auxiliary-function-position-sequence {
58 type uint64;
59 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.";
60 }
61 leaf vlan-config {
62 type uint64;
63 description "This attribute models the ETHx/ETH-m_A_So_MI_Vlan_Config information defined in G.8021.
64 range of type : -1, 0, 1..4094";
65 }
66 leaf csf-rdi-fdi-enable {
67 type boolean;
68 description "This attribute models the MI_CSFrdifdiEnable information defined in G.8021.";
69 }
70 leaf csf-report {
71 type boolean;
72 description "This attribute models the MI_CSF_Reported information defined in G.8021.
73 range of type : true, false";
74 }
75 leaf-list filter-config-snk {
76 type mac-address;
77 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:
78 01-80-C2-00-00-10,
79 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
80 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
81 The filter action is Pass or Block.
82 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.
83 If none of the above addresses match, the ETH_CI_D is passed.";
84 }
85 leaf mac-length {
86 type uint64;
87 default "2000";
88 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.
89 range of type : 1518, 1522, 2000";
90 }
91 container filter-config {
92 uses control-frame-filter;
93 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:
94 - All bridges address: 01-80-C2-00-00-10,
95 - Reserved addresses: 01-80-C2-00-00-00 to 01-80-C2-00-00-0F,
96 - GARP Application addresses: 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
97 The filter action is Pass or Block.
98 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.
99 If none of the above addresses match, the ETH_CI_D is passed.";
100 }
101 leaf is-ssf-reported {
102 type boolean;
103 description "This attribute provisions whether the SSF defect should be reported as fault cause or not.
104 It models the ETH-LAG_FT_Sk_MI_SSF_Reported defined in G.8021.";
105 }
106 leaf pll-thr {
107 type uint64;
108 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.
109 range of type : 0..number of ports";
110 }
111 leaf actor-oper-key {
112 type uint64;
113 config false;
114 description "See 802.1AX:
115 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.
116 The meaning of particular Key values is of local significance.
117 range of type : 16 bit";
118 }
119 leaf actor-system-id {
120 type mac-address;
121 description "See 802.1AX:
122 A MAC address used as a unique identifier for the System that contains this Aggregator.";
123 }
124 leaf actor-system-priority {
125 type uint64;
126 description "See 802.1AX:
127 Indicating the priority associated with the Actor’s System ID.
128 range of type : 2-octet";
129 }
130 leaf collector-max-delay {
131 type uint64;
132 description "See 802.1AX:
133 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).
134 range of type : 16-bit";
135 }
136 leaf data-rate {
137 type uint64;
138 config false;
139 description "See 802.1AX:
140 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.";
141 }
142 leaf partner-oper-key {
143 type uint64;
144 config false;
145 description "See 802.1AX:
146 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.
147 range of type : 16-bit";
148 }
149 leaf partner-system-id {
150 type mac-address;
151 config false;
152 description "See 802.1AX:
153 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.";
154 }
155 leaf partner-system-priority {
156 type uint64;
157 config false;
158 description "See 802.1AX:
159 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.
160 range of type : 2-octet";
161 }
162 leaf csf-config {
163 type csf-config;
164 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.
165 range of type : true, false";
166 }
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800167 container traffic-shaping {
168 uses traffic-shaping-pac;
169 description "none";
170 }
171 container traffic-conditioning {
172 uses traffic-conditioning-pac;
173 description "none";
174 }
Toru Furusawa28988892017-10-30 17:28:40 -0700175 description "none";
176 }
wu6a418d22018-02-02 01:49:21 -0500177 grouping eth-connection-end-point-spec {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800178 container eth-term {
179 uses eth-termination-pac;
180 description "none";
181 }
182 container eth-ctp {
183 uses eth-ctp-pac;
184 description "none";
185 }
Toru Furusawa28988892017-10-30 17:28:40 -0700186 description "none";
187 }
188 grouping eth-termination-pac {
189 container priority-regenerate {
190 uses priority-mapping;
191 description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
192 }
193 leaf ether-type {
194 type vlan-type;
195 description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
196 }
wu6a418d22018-02-02 01:49:21 -0500197 leaf-list filter-config-1 {
Toru Furusawa28988892017-10-30 17:28:40 -0700198 type mac-address;
199 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
200 It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
201 The 33 MAC addresses are:
202 01-80-C2-00-00-10,
203 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
204 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
205 The filter action is Pass or Block.
206 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.
207 If none of the above addresses match, the ETH_CI_D is passed.
208 range of type : MacAddress:
209 01-80-C2-00-00-10,
210 01-80-C2-00-00-00 to
211 01-80-C2-00-00-0F, and
212 01-80-C2-00-00-20 to
213 01-80-C2-00-00-2F;
214 ActionEnum:
215 PASS, BLOCK";
216 }
217 leaf frametype-config {
218 type frame-type;
219 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
220 range of type : see Enumeration";
221 }
222 leaf port-vid {
223 type vid;
224 default "1";
225 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
226 }
227 leaf priority-code-point-config {
228 type pcp-coding;
229 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
230 range of type : see Enumeration";
231 }
232 description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
233 }
234 grouping ety-termination-pac {
235 leaf is-fts-enabled {
236 type boolean;
237 description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
238 }
239 leaf is-tx-pause-enabled {
240 type boolean;
241 description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
242 }
243 leaf phy-type {
244 type ety-phy-type;
245 config false;
246 description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
247 }
248 leaf-list phy-type-list {
249 type ety-phy-type;
250 config false;
251 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.";
252 }
253 description "none";
254 }
255 grouping traffic-conditioning-pac {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800256 list prio-config-list {
Toru Furusawa28988892017-10-30 17:28:40 -0700257 config false;
258 uses priority-configuration;
259 description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
260 }
261 list cond-config-list {
262 config false;
263 uses traffic-conditioning-configuration;
264 description "This attribute indicates for the conditioner process the conditioning parameters:
265 - Queue ID: Indicates the Queue ID
266 - Committed Information Rate (CIR): number of bits per second
267 - Committed Burst Size (CBS): number of bytes
268 - Excess Information Rate (EIR): number of bits per second
269 - Excess Burst Size (EBS): number of bytes
270 - Coupling flag (CF): 0 or 1
271 - Color mode (CM): color-blind and color-aware.";
272 }
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800273 leaf codirectional {
Toru Furusawa28988892017-10-30 17:28:40 -0700274 type boolean;
275 config false;
276 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.";
277 }
278 description "This object class models the ETH traffic conditioning function as defined in G.8021.
279 Basic attributes: codirectional, condConfigList, prioConfigList";
280 }
281 grouping traffic-shaping-pac {
282 list prio-config-list {
283 config false;
284 uses priority-configuration;
285 description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
286 }
287 list queue-config-list {
288 config false;
289 uses queue-configuration;
290 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.";
291 }
292 leaf sched-config {
293 type scheduling-configuration;
294 config false;
295 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.
296 Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
297 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.";
298 }
299 leaf codirectional {
300 type boolean;
301 config false;
302 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.";
303 }
304 description "This object class models the ETH traffic shaping function as defined in G.8021.
305 Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
306 }
wu6a418d22018-02-02 01:49:21 -0500307 grouping eth-node-edge-point-spec {
Yuta HIGUCHI80d0bbd2018-02-28 11:13:11 -0800308 container ety-term {
309 uses ety-termination-pac;
310 description "none";
311 }
Toru Furusawa28988892017-10-30 17:28:40 -0700312 description "none";
313 }
314
315 /***********************
316 * package type-definitions
317 **********************/
318 grouping priority-configuration {
319 leaf priority {
320 type uint64 {
321 range "0..7";
322 }
323 description "none";
324 }
325 leaf queue-id {
326 type uint64 {
327 range "1..8";
328 }
329 description "none";
330 }
331 description "none";
332 }
333 grouping queue-configuration {
334 leaf queue-id {
335 type uint64;
336 description "This attribute indicates the queue id.";
337 }
338 leaf queue-depth {
339 type uint64;
340 description "This attribute defines the depth of the queue in bytes.";
341 }
342 leaf queue-threshold {
343 type uint64;
344 description "This attribute defines the threshold of the queue in bytes.";
345 }
346 description "none";
347 }
348 grouping traffic-conditioning-configuration {
349 leaf cir {
350 type uint64;
351 description "This attribute indicates the Committed Information Rate in bits/s.";
352 }
353 leaf cbs {
354 type uint64;
355 description "This attribute indicates the Committed Burst Size in bytes.";
356 }
357 leaf eir {
358 type uint64;
359 description "This attribute indicates the Excess Information Rate in bits/s.";
360 }
361 leaf ebs {
362 type uint64;
363 description "This attribute indicates the Excess Burst Size in bytes.";
364 }
365 leaf coupling-flag {
366 type boolean;
367 description "This attribute indicates the coupling flag.";
368 }
369 leaf colour-mode {
370 type colour-mode;
371 description "This attribute indicates the colour mode.";
372 }
373 leaf queue-id {
374 type uint64 {
375 range "1..8";
376 }
377 description "This attribute indicates the queue id.";
378 }
379 description "none";
380 }
381 typedef mac-address {
382 type string;
383 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).";
384 }
385 grouping priority-mapping {
386 leaf priority-0 {
387 type uint64 {
388 range "0..7";
389 }
390 description "This attribute defines the new priority value for the old priority value 0.";
391 }
392 leaf priority-1 {
393 type uint64 {
394 range "0..7";
395 }
396 default "1";
397 description "This attribute defines the new priority value for the old priority value 1.";
398 }
399 leaf priority-2 {
400 type uint64 {
401 range "0..7";
402 }
403 default "2";
404 description "This attribute defines the new priority value for the old priority value 2.";
405 }
406 leaf priority-3 {
407 type uint64 {
408 range "0..7";
409 }
410 default "3";
411 description "This attribute defines the new priority value for the old priority value 3.";
412 }
413 leaf priority-4 {
414 type uint64 {
415 range "0..7";
416 }
417 default "4";
418 description "This attribute defines the new priority value for the old priority value 4.";
419 }
420 leaf priority-5 {
421 type uint64 {
422 range "0..7";
423 }
424 default "5";
425 description "This attribute defines the new priority value for the old priority value 5.";
426 }
427 leaf priority-6 {
428 type uint64 {
429 range "0..7";
430 }
431 default "6";
432 description "This attribute defines the new priority value for the old priority value 6.";
433 }
434 leaf priority-7 {
435 type uint64 {
436 range "0..7";
437 }
438 default "7";
439 description "This attribute defines the new priority value for the old priority value 7.";
440 }
441 description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
442 }
443 typedef vid {
444 type string;
445 description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
446 }
447 typedef modify-cross-connection-data {
448 type string;
449 description "none";
450 }
451 grouping address-tuple {
452 leaf address {
453 type mac-address;
454 description "This attribute contains the MAC address of the address tuple.";
455 }
456 leaf-list port-list {
457 type mac-address;
458 description "This attribute contains the ports associated to the MAC address in the address tuple.";
459 }
460 description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
461 }
462 typedef scheduling-configuration {
463 type string;
464 description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
465 }
466 grouping control-frame-filter {
467 leaf c-2-00-00-10 {
468 type boolean;
469 description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
470 }
471 leaf c-2-00-00-00 {
472 type boolean;
473 description "This attribute identifies the STP/RSTP/MSTP protocol address.";
474 }
475 leaf c-2-00-00-01 {
476 type boolean;
477 description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
478 }
479 leaf c-2-00-00-02 {
480 type boolean;
481 description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
482 }
483 leaf c-2-00-00-03 {
484 type boolean;
485 description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
486 }
487 leaf c-2-00-00-04 {
488 type boolean;
489 description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
490 }
491 leaf c-2-00-00-05 {
492 type boolean;
493 description "Reserved for future standardization.";
494 }
495 leaf c-2-00-00-06 {
496 type boolean;
497 description "Reserved for future standardization.";
498 }
499 leaf c-2-00-00-07 {
500 type boolean;
501 description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
502 }
503 leaf c-2-00-00-08 {
504 type boolean;
505 description "This attribute identifies the Provider Bridge Group address.";
506 }
507 leaf c-2-00-00-09 {
508 type boolean;
509 description "Reserved for future standardization.";
510 }
511 leaf c-2-00-00-0-a {
512 type boolean;
513 description "Reserved for future standardization.";
514 }
515 leaf c-2-00-00-0-b {
516 type boolean;
517 description "Reserved for future standardization.";
518 }
519 leaf c-2-00-00-0-c {
520 type boolean;
521 description "Reserved for future standardization.";
522 }
523 leaf c-2-00-00-0-d {
524 type boolean;
525 description "This attribute identifies the Provider Bridge MVRP address.";
526 }
527 leaf c-2-00-00-0-e {
528 type boolean;
529 description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
530 }
531 leaf c-2-00-00-0-f {
532 type boolean;
533 description "Reserved for future standardization.";
534 }
535 leaf c-2-00-00-20 {
536 type boolean;
537 description "This attribute identifies the Customer and Provider Bridge MMRP address.";
538 }
539 leaf c-2-00-00-21 {
540 type boolean;
541 description "This attribute identifies the Customer Bridge MVRP address.";
542 }
543 leaf c-2-00-00-22 {
544 type boolean;
545 description "Reserved for future standardization.";
546 }
547 leaf c-2-00-00-23 {
548 type boolean;
549 description "Reserved for future standardization.";
550 }
551 leaf c-2-00-00-24 {
552 type boolean;
553 description "Reserved for future standardization.";
554 }
555 leaf c-2-00-00-25 {
556 type boolean;
557 description "Reserved for future standardization.";
558 }
559 leaf c-2-00-00-26 {
560 type boolean;
561 description "Reserved for future standardization.";
562 }
563 leaf c-2-00-00-27 {
564 type boolean;
565 description "Reserved for future standardization.";
566 }
567 leaf c-2-00-00-28 {
568 type boolean;
569 description "Reserved for future standardization.";
570 }
571 leaf c-2-00-00-29 {
572 type boolean;
573 description "Reserved for future standardization.";
574 }
575 leaf c-2-00-00-2-a {
576 type boolean;
577 description "Reserved for future standardization.";
578 }
579 leaf c-2-00-00-2-b {
580 type boolean;
581 description "Reserved for future standardization.";
582 }
583 leaf c-2-00-00-2-c {
584 type boolean;
585 description "Reserved for future standardization.";
586 }
587 leaf c-2-00-00-2-d {
588 type boolean;
589 description "Reserved for future standardization.";
590 }
591 leaf c-2-00-00-2-e {
592 type boolean;
593 description "Reserved for future standardization.";
594 }
595 leaf c-2-00-00-2-f {
596 type boolean;
597 description "Reserved for future standardization.";
598 }
599 description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
600 Value 'false' means block: The frame is discarded by the filter process.
601 Value 'true' means pass: The frame is passed unchanged through the filter process.";
602 }
603 grouping bandwidth-report {
604 leaf source-mac-address {
605 type mac-address;
606 description "The sourceMacAddress is the address from the far end.";
607 }
608 leaf port-id {
609 type uint64;
610 description "This attribute returns the far end port identifier.";
611 }
612 leaf nominal-bandwidth {
613 type uint64;
614 description "This attribute returns the configured bandwidth";
615 }
616 leaf current-bandwidth {
617 type uint64;
618 description "This attribute returns the current bandwidth.";
619 }
620 description "Data type for the bandwidth report.";
621 }
622 typedef admin-state {
623 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500624 enum LOCK {
Toru Furusawa28988892017-10-30 17:28:40 -0700625 description "none";
626 }
wu6a418d22018-02-02 01:49:21 -0500627 enum NORMAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700628 description "none";
629 }
630 }
631 description "none";
632 }
633 typedef colour-mode {
634 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500635 enum COLOUR_BLIND {
Toru Furusawa28988892017-10-30 17:28:40 -0700636 description "none";
637 }
wu6a418d22018-02-02 01:49:21 -0500638 enum COLOUR_AWARE {
Toru Furusawa28988892017-10-30 17:28:40 -0700639 description "none";
640 }
641 }
642 description "none";
643 }
644 typedef csf-config {
645 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500646 enum DISABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700647 description "This literal covers the following states of the CSF related MI informations:
648 - MI_CSF_Enable is false
649 - MI_CSFrdifdi_Enable is false
650 - MI_CSFdci_Enable is false.";
651 }
wu6a418d22018-02-02 01:49:21 -0500652 enum ENABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700653 description "This literal covers the following states of the CSF related MI informations:
654 - MI_CSF_Enable is true
655 - MI_CSFrdifdi_Enable is false
656 - MI_CSFdci_Enable is false.";
657 }
wu6a418d22018-02-02 01:49:21 -0500658 enum ENABLED_WITH_RDI_FDI {
Toru Furusawa28988892017-10-30 17:28:40 -0700659 description "This literal covers the following states of the CSF related MI informations:
660 - MI_CSF_Enable is true
661 - MI_CSFrdifdi_Enable is true
662 - MI_CSFdci_Enable is false.";
663 }
wu6a418d22018-02-02 01:49:21 -0500664 enum ENABLED_WITH_RDI_FDI_DCI {
Toru Furusawa28988892017-10-30 17:28:40 -0700665 description "This literal covers the following states of the CSF related MI informations:
666 - MI_CSF_Enable is true
667 - MI_CSFrdifdi_Enable is true
668 - MI_CSFdci_Enable is true.";
669 }
wu6a418d22018-02-02 01:49:21 -0500670 enum ENABLED_WITH_DCI {
Toru Furusawa28988892017-10-30 17:28:40 -0700671 description "This literal covers the following states of the CSF related MI informations:
672 - MI_CSF_Enable is true
673 - MI_CSFrdifdi_Enable is false
674 - MI_CSFdci_Enable is true.";
675 }
676 }
677 description "none";
678 }
679 typedef ety-phy-type {
680 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500681 enum OTHER {
Toru Furusawa28988892017-10-30 17:28:40 -0700682 description "none";
683 }
wu6a418d22018-02-02 01:49:21 -0500684 enum UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700685 description "none";
686 }
wu6a418d22018-02-02 01:49:21 -0500687 enum NONE {
Toru Furusawa28988892017-10-30 17:28:40 -0700688 description "none";
689 }
wu6a418d22018-02-02 01:49:21 -0500690 enum 2BASE_TL {
Toru Furusawa28988892017-10-30 17:28:40 -0700691 description "none";
692 }
wu6a418d22018-02-02 01:49:21 -0500693 enum 10MBIT_S {
Toru Furusawa28988892017-10-30 17:28:40 -0700694 description "none";
695 }
wu6a418d22018-02-02 01:49:21 -0500696 enum 10PASS_TS {
Toru Furusawa28988892017-10-30 17:28:40 -0700697 description "none";
698 }
wu6a418d22018-02-02 01:49:21 -0500699 enum 100BASE_T4 {
Toru Furusawa28988892017-10-30 17:28:40 -0700700 description "none";
701 }
wu6a418d22018-02-02 01:49:21 -0500702 enum 100BASE_X {
Toru Furusawa28988892017-10-30 17:28:40 -0700703 description "none";
704 }
wu6a418d22018-02-02 01:49:21 -0500705 enum 100BASE_T2 {
Toru Furusawa28988892017-10-30 17:28:40 -0700706 description "none";
707 }
wu6a418d22018-02-02 01:49:21 -0500708 enum 1000BASE_X {
Toru Furusawa28988892017-10-30 17:28:40 -0700709 description "none";
710 }
wu6a418d22018-02-02 01:49:21 -0500711 enum 1000BASE_T {
Toru Furusawa28988892017-10-30 17:28:40 -0700712 description "none";
713 }
wu6a418d22018-02-02 01:49:21 -0500714 enum 10GBASE-X {
Toru Furusawa28988892017-10-30 17:28:40 -0700715 description "none";
716 }
wu6a418d22018-02-02 01:49:21 -0500717 enum 10GBASE_R {
Toru Furusawa28988892017-10-30 17:28:40 -0700718 description "none";
719 }
wu6a418d22018-02-02 01:49:21 -0500720 enum 10GBASE_W {
Toru Furusawa28988892017-10-30 17:28:40 -0700721 description "none";
722 }
723 }
724 description "none";
725 }
726 typedef frame-type {
727 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500728 enum ADMIT_ONLY_VLAN_TAGGED_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700729 description "none";
730 }
wu6a418d22018-02-02 01:49:21 -0500731 enum ADMIT_ONLY_UNTAGGED_AND_PRIORITY_TAGGED_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700732 description "none";
733 }
wu6a418d22018-02-02 01:49:21 -0500734 enum ADMIT_ALL_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700735 description "none";
736 }
737 }
738 description "none";
739 }
740 typedef oam-period {
741 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500742 enum 3_33MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700743 description "Default for protection.";
744 }
wu6a418d22018-02-02 01:49:21 -0500745 enum 10MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700746 description "none";
747 }
wu6a418d22018-02-02 01:49:21 -0500748 enum 100MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700749 description "none";
750 }
wu6a418d22018-02-02 01:49:21 -0500751 enum 1S {
Toru Furusawa28988892017-10-30 17:28:40 -0700752 description "none";
753 }
wu6a418d22018-02-02 01:49:21 -0500754 enum 10S {
Toru Furusawa28988892017-10-30 17:28:40 -0700755 description "none";
756 }
wu6a418d22018-02-02 01:49:21 -0500757 enum 1MIN {
Toru Furusawa28988892017-10-30 17:28:40 -0700758 description "none";
759 }
wu6a418d22018-02-02 01:49:21 -0500760 enum 10MIN {
Toru Furusawa28988892017-10-30 17:28:40 -0700761 description "none";
762 }
763 }
764 description "Provides the frequency for the OAM PDU insertion.";
765 }
766 typedef pcp-coding {
767 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500768 enum 8P0D {
Toru Furusawa28988892017-10-30 17:28:40 -0700769 description "none";
770 }
wu6a418d22018-02-02 01:49:21 -0500771 enum 7P1D {
Toru Furusawa28988892017-10-30 17:28:40 -0700772 description "none";
773 }
wu6a418d22018-02-02 01:49:21 -0500774 enum 6P2D {
Toru Furusawa28988892017-10-30 17:28:40 -0700775 description "none";
776 }
wu6a418d22018-02-02 01:49:21 -0500777 enum 5P3D {
Toru Furusawa28988892017-10-30 17:28:40 -0700778 description "none";
779 }
wu6a418d22018-02-02 01:49:21 -0500780 enum DEI {
Toru Furusawa28988892017-10-30 17:28:40 -0700781 description "This enumeration value means that all priorities should be drop eligible.
782 DEI = Drop Eligibility Indicator";
783 }
784 }
785 description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
786 }
787 typedef vlan-type {
788 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500789 enum C_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700790 description "0x8100";
791 }
wu6a418d22018-02-02 01:49:21 -0500792 enum S_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700793 description "0x88a8";
794 }
wu6a418d22018-02-02 01:49:21 -0500795 enum I_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700796 description "88-e7";
797 }
798 }
799 description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
800 }
801
802}