blob: d4509e1c8cae732f47e58e76eb2eb83578739b7a [file] [log] [blame]
Toru Furusawa28988892017-10-30 17:28:40 -07001module tapi-eth {
2 namespace "urn:onf:params:xml:ns:yang:tapi-eth";
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 }
13 organization "Open Networking Foundation (ONF) / Open Transport Working Group(OTWG) / Transport API (TAPI) Project";
14 contact "
15 WG Web: TAPI SDK Project <http://opensourcesdn.org/projects/project-snowmass/>
16 WG List: TAPI Discussion list <mailto: transport-api@login.opennetworking.org>,
17 WG Chair: Karthik Sethuraman <mailto:karthik.sethuraman@necam.com>,
18 Editor: Ricard Vilalta <mailto:ricard.vilalta@cttc.es>";
19 description "none";
20 revision 2017-05-31 {
21 description "TAPI SDK 2.0-alpha";
22 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020 and RFC 6087";
23 }
wu6a418d22018-02-02 01:49:21 -050024 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
25 uses eth-node-edge-point-spec;
26 description "Augments the base LayerProtocol information in NodeEndPoint with ETH-specific information";
Toru Furusawa28988892017-10-30 17:28:40 -070027 }
wu6a418d22018-02-02 01:49:21 -050028 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {
29 uses eth-connection-end-point-spec;
30 description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
Toru Furusawa28988892017-10-30 17:28:40 -070031 }
32 /***********************
33 * package object-classes
34 **********************/
wu6a418d22018-02-02 01:49:21 -050035 grouping eth-ctp-pac {
Toru Furusawa28988892017-10-30 17:28:40 -070036 leaf-list auxiliary-function-position-sequence {
37 type uint64;
38 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.";
39 }
40 leaf vlan-config {
41 type uint64;
42 description "This attribute models the ETHx/ETH-m_A_So_MI_Vlan_Config information defined in G.8021.
43 range of type : -1, 0, 1..4094";
44 }
45 leaf csf-rdi-fdi-enable {
46 type boolean;
47 description "This attribute models the MI_CSFrdifdiEnable information defined in G.8021.";
48 }
49 leaf csf-report {
50 type boolean;
51 description "This attribute models the MI_CSF_Reported information defined in G.8021.
52 range of type : true, false";
53 }
54 leaf-list filter-config-snk {
55 type mac-address;
56 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:
57 01-80-C2-00-00-10,
58 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
59 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
60 The filter action is Pass or Block.
61 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.
62 If none of the above addresses match, the ETH_CI_D is passed.";
63 }
64 leaf mac-length {
65 type uint64;
66 default "2000";
67 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.
68 range of type : 1518, 1522, 2000";
69 }
70 container filter-config {
71 uses control-frame-filter;
72 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:
73 - All bridges address: 01-80-C2-00-00-10,
74 - Reserved addresses: 01-80-C2-00-00-00 to 01-80-C2-00-00-0F,
75 - GARP Application addresses: 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
76 The filter action is Pass or Block.
77 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.
78 If none of the above addresses match, the ETH_CI_D is passed.";
79 }
80 leaf is-ssf-reported {
81 type boolean;
82 description "This attribute provisions whether the SSF defect should be reported as fault cause or not.
83 It models the ETH-LAG_FT_Sk_MI_SSF_Reported defined in G.8021.";
84 }
85 leaf pll-thr {
86 type uint64;
87 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.
88 range of type : 0..number of ports";
89 }
90 leaf actor-oper-key {
91 type uint64;
92 config false;
93 description "See 802.1AX:
94 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.
95 The meaning of particular Key values is of local significance.
96 range of type : 16 bit";
97 }
98 leaf actor-system-id {
99 type mac-address;
100 description "See 802.1AX:
101 A MAC address used as a unique identifier for the System that contains this Aggregator.";
102 }
103 leaf actor-system-priority {
104 type uint64;
105 description "See 802.1AX:
106 Indicating the priority associated with the Actor’s System ID.
107 range of type : 2-octet";
108 }
109 leaf collector-max-delay {
110 type uint64;
111 description "See 802.1AX:
112 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).
113 range of type : 16-bit";
114 }
115 leaf data-rate {
116 type uint64;
117 config false;
118 description "See 802.1AX:
119 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.";
120 }
121 leaf partner-oper-key {
122 type uint64;
123 config false;
124 description "See 802.1AX:
125 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.
126 range of type : 16-bit";
127 }
128 leaf partner-system-id {
129 type mac-address;
130 config false;
131 description "See 802.1AX:
132 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.";
133 }
134 leaf partner-system-priority {
135 type uint64;
136 config false;
137 description "See 802.1AX:
138 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.
139 range of type : 2-octet";
140 }
141 leaf csf-config {
142 type csf-config;
143 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.
144 range of type : true, false";
145 }
wu6a418d22018-02-02 01:49:21 -0500146 uses tapi-eth:traffic-shaping-pac;
147 uses tapi-eth:traffic-conditioning-pac;
Toru Furusawa28988892017-10-30 17:28:40 -0700148 description "none";
149 }
wu6a418d22018-02-02 01:49:21 -0500150 grouping eth-connection-end-point-spec {
151 uses tapi-eth:eth-termination-pac;
152 uses tapi-eth:eth-ctp-pac;
Toru Furusawa28988892017-10-30 17:28:40 -0700153 description "none";
154 }
155 grouping eth-termination-pac {
156 container priority-regenerate {
157 uses priority-mapping;
158 description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
159 }
160 leaf ether-type {
161 type vlan-type;
162 description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
163 }
wu6a418d22018-02-02 01:49:21 -0500164 leaf-list filter-config-1 {
Toru Furusawa28988892017-10-30 17:28:40 -0700165 type mac-address;
166 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
167 It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
168 The 33 MAC addresses are:
169 01-80-C2-00-00-10,
170 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
171 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
172 The filter action is Pass or Block.
173 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.
174 If none of the above addresses match, the ETH_CI_D is passed.
175 range of type : MacAddress:
176 01-80-C2-00-00-10,
177 01-80-C2-00-00-00 to
178 01-80-C2-00-00-0F, and
179 01-80-C2-00-00-20 to
180 01-80-C2-00-00-2F;
181 ActionEnum:
182 PASS, BLOCK";
183 }
184 leaf frametype-config {
185 type frame-type;
186 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
187 range of type : see Enumeration";
188 }
189 leaf port-vid {
190 type vid;
191 default "1";
192 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
193 }
194 leaf priority-code-point-config {
195 type pcp-coding;
196 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
197 range of type : see Enumeration";
198 }
199 description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
200 }
201 grouping ety-termination-pac {
202 leaf is-fts-enabled {
203 type boolean;
204 description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
205 }
206 leaf is-tx-pause-enabled {
207 type boolean;
208 description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
209 }
210 leaf phy-type {
211 type ety-phy-type;
212 config false;
213 description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
214 }
215 leaf-list phy-type-list {
216 type ety-phy-type;
217 config false;
218 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.";
219 }
220 description "none";
221 }
222 grouping traffic-conditioning-pac {
wu6a418d22018-02-02 01:49:21 -0500223 list prio-config-list-1 {
Toru Furusawa28988892017-10-30 17:28:40 -0700224 config false;
225 uses priority-configuration;
226 description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
227 }
228 list cond-config-list {
229 config false;
230 uses traffic-conditioning-configuration;
231 description "This attribute indicates for the conditioner process the conditioning parameters:
232 - Queue ID: Indicates the Queue ID
233 - Committed Information Rate (CIR): number of bits per second
234 - Committed Burst Size (CBS): number of bytes
235 - Excess Information Rate (EIR): number of bits per second
236 - Excess Burst Size (EBS): number of bytes
237 - Coupling flag (CF): 0 or 1
238 - Color mode (CM): color-blind and color-aware.";
239 }
wu6a418d22018-02-02 01:49:21 -0500240 leaf codirectional-1 {
Toru Furusawa28988892017-10-30 17:28:40 -0700241 type boolean;
242 config false;
243 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.";
244 }
245 description "This object class models the ETH traffic conditioning function as defined in G.8021.
246 Basic attributes: codirectional, condConfigList, prioConfigList";
247 }
248 grouping traffic-shaping-pac {
249 list prio-config-list {
250 config false;
251 uses priority-configuration;
252 description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
253 }
254 list queue-config-list {
255 config false;
256 uses queue-configuration;
257 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.";
258 }
259 leaf sched-config {
260 type scheduling-configuration;
261 config false;
262 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.
263 Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
264 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.";
265 }
266 leaf codirectional {
267 type boolean;
268 config false;
269 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.";
270 }
271 description "This object class models the ETH traffic shaping function as defined in G.8021.
272 Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
273 }
wu6a418d22018-02-02 01:49:21 -0500274 grouping eth-node-edge-point-spec {
275 uses tapi-eth:ety-termination-pac;
Toru Furusawa28988892017-10-30 17:28:40 -0700276 description "none";
277 }
278
279 /***********************
280 * package type-definitions
281 **********************/
282 grouping priority-configuration {
283 leaf priority {
284 type uint64 {
285 range "0..7";
286 }
287 description "none";
288 }
289 leaf queue-id {
290 type uint64 {
291 range "1..8";
292 }
293 description "none";
294 }
295 description "none";
296 }
297 grouping queue-configuration {
298 leaf queue-id {
299 type uint64;
300 description "This attribute indicates the queue id.";
301 }
302 leaf queue-depth {
303 type uint64;
304 description "This attribute defines the depth of the queue in bytes.";
305 }
306 leaf queue-threshold {
307 type uint64;
308 description "This attribute defines the threshold of the queue in bytes.";
309 }
310 description "none";
311 }
312 grouping traffic-conditioning-configuration {
313 leaf cir {
314 type uint64;
315 description "This attribute indicates the Committed Information Rate in bits/s.";
316 }
317 leaf cbs {
318 type uint64;
319 description "This attribute indicates the Committed Burst Size in bytes.";
320 }
321 leaf eir {
322 type uint64;
323 description "This attribute indicates the Excess Information Rate in bits/s.";
324 }
325 leaf ebs {
326 type uint64;
327 description "This attribute indicates the Excess Burst Size in bytes.";
328 }
329 leaf coupling-flag {
330 type boolean;
331 description "This attribute indicates the coupling flag.";
332 }
333 leaf colour-mode {
334 type colour-mode;
335 description "This attribute indicates the colour mode.";
336 }
337 leaf queue-id {
338 type uint64 {
339 range "1..8";
340 }
341 description "This attribute indicates the queue id.";
342 }
343 description "none";
344 }
345 typedef mac-address {
346 type string;
347 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).";
348 }
349 grouping priority-mapping {
350 leaf priority-0 {
351 type uint64 {
352 range "0..7";
353 }
354 description "This attribute defines the new priority value for the old priority value 0.";
355 }
356 leaf priority-1 {
357 type uint64 {
358 range "0..7";
359 }
360 default "1";
361 description "This attribute defines the new priority value for the old priority value 1.";
362 }
363 leaf priority-2 {
364 type uint64 {
365 range "0..7";
366 }
367 default "2";
368 description "This attribute defines the new priority value for the old priority value 2.";
369 }
370 leaf priority-3 {
371 type uint64 {
372 range "0..7";
373 }
374 default "3";
375 description "This attribute defines the new priority value for the old priority value 3.";
376 }
377 leaf priority-4 {
378 type uint64 {
379 range "0..7";
380 }
381 default "4";
382 description "This attribute defines the new priority value for the old priority value 4.";
383 }
384 leaf priority-5 {
385 type uint64 {
386 range "0..7";
387 }
388 default "5";
389 description "This attribute defines the new priority value for the old priority value 5.";
390 }
391 leaf priority-6 {
392 type uint64 {
393 range "0..7";
394 }
395 default "6";
396 description "This attribute defines the new priority value for the old priority value 6.";
397 }
398 leaf priority-7 {
399 type uint64 {
400 range "0..7";
401 }
402 default "7";
403 description "This attribute defines the new priority value for the old priority value 7.";
404 }
405 description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
406 }
407 typedef vid {
408 type string;
409 description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
410 }
411 typedef modify-cross-connection-data {
412 type string;
413 description "none";
414 }
415 grouping address-tuple {
416 leaf address {
417 type mac-address;
418 description "This attribute contains the MAC address of the address tuple.";
419 }
420 leaf-list port-list {
421 type mac-address;
422 description "This attribute contains the ports associated to the MAC address in the address tuple.";
423 }
424 description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
425 }
426 typedef scheduling-configuration {
427 type string;
428 description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
429 }
430 grouping control-frame-filter {
431 leaf c-2-00-00-10 {
432 type boolean;
433 description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
434 }
435 leaf c-2-00-00-00 {
436 type boolean;
437 description "This attribute identifies the STP/RSTP/MSTP protocol address.";
438 }
439 leaf c-2-00-00-01 {
440 type boolean;
441 description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
442 }
443 leaf c-2-00-00-02 {
444 type boolean;
445 description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
446 }
447 leaf c-2-00-00-03 {
448 type boolean;
449 description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
450 }
451 leaf c-2-00-00-04 {
452 type boolean;
453 description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
454 }
455 leaf c-2-00-00-05 {
456 type boolean;
457 description "Reserved for future standardization.";
458 }
459 leaf c-2-00-00-06 {
460 type boolean;
461 description "Reserved for future standardization.";
462 }
463 leaf c-2-00-00-07 {
464 type boolean;
465 description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
466 }
467 leaf c-2-00-00-08 {
468 type boolean;
469 description "This attribute identifies the Provider Bridge Group address.";
470 }
471 leaf c-2-00-00-09 {
472 type boolean;
473 description "Reserved for future standardization.";
474 }
475 leaf c-2-00-00-0-a {
476 type boolean;
477 description "Reserved for future standardization.";
478 }
479 leaf c-2-00-00-0-b {
480 type boolean;
481 description "Reserved for future standardization.";
482 }
483 leaf c-2-00-00-0-c {
484 type boolean;
485 description "Reserved for future standardization.";
486 }
487 leaf c-2-00-00-0-d {
488 type boolean;
489 description "This attribute identifies the Provider Bridge MVRP address.";
490 }
491 leaf c-2-00-00-0-e {
492 type boolean;
493 description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
494 }
495 leaf c-2-00-00-0-f {
496 type boolean;
497 description "Reserved for future standardization.";
498 }
499 leaf c-2-00-00-20 {
500 type boolean;
501 description "This attribute identifies the Customer and Provider Bridge MMRP address.";
502 }
503 leaf c-2-00-00-21 {
504 type boolean;
505 description "This attribute identifies the Customer Bridge MVRP address.";
506 }
507 leaf c-2-00-00-22 {
508 type boolean;
509 description "Reserved for future standardization.";
510 }
511 leaf c-2-00-00-23 {
512 type boolean;
513 description "Reserved for future standardization.";
514 }
515 leaf c-2-00-00-24 {
516 type boolean;
517 description "Reserved for future standardization.";
518 }
519 leaf c-2-00-00-25 {
520 type boolean;
521 description "Reserved for future standardization.";
522 }
523 leaf c-2-00-00-26 {
524 type boolean;
525 description "Reserved for future standardization.";
526 }
527 leaf c-2-00-00-27 {
528 type boolean;
529 description "Reserved for future standardization.";
530 }
531 leaf c-2-00-00-28 {
532 type boolean;
533 description "Reserved for future standardization.";
534 }
535 leaf c-2-00-00-29 {
536 type boolean;
537 description "Reserved for future standardization.";
538 }
539 leaf c-2-00-00-2-a {
540 type boolean;
541 description "Reserved for future standardization.";
542 }
543 leaf c-2-00-00-2-b {
544 type boolean;
545 description "Reserved for future standardization.";
546 }
547 leaf c-2-00-00-2-c {
548 type boolean;
549 description "Reserved for future standardization.";
550 }
551 leaf c-2-00-00-2-d {
552 type boolean;
553 description "Reserved for future standardization.";
554 }
555 leaf c-2-00-00-2-e {
556 type boolean;
557 description "Reserved for future standardization.";
558 }
559 leaf c-2-00-00-2-f {
560 type boolean;
561 description "Reserved for future standardization.";
562 }
563 description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
564 Value 'false' means block: The frame is discarded by the filter process.
565 Value 'true' means pass: The frame is passed unchanged through the filter process.";
566 }
567 grouping bandwidth-report {
568 leaf source-mac-address {
569 type mac-address;
570 description "The sourceMacAddress is the address from the far end.";
571 }
572 leaf port-id {
573 type uint64;
574 description "This attribute returns the far end port identifier.";
575 }
576 leaf nominal-bandwidth {
577 type uint64;
578 description "This attribute returns the configured bandwidth";
579 }
580 leaf current-bandwidth {
581 type uint64;
582 description "This attribute returns the current bandwidth.";
583 }
584 description "Data type for the bandwidth report.";
585 }
586 typedef admin-state {
587 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500588 enum LOCK {
Toru Furusawa28988892017-10-30 17:28:40 -0700589 description "none";
590 }
wu6a418d22018-02-02 01:49:21 -0500591 enum NORMAL {
Toru Furusawa28988892017-10-30 17:28:40 -0700592 description "none";
593 }
594 }
595 description "none";
596 }
597 typedef colour-mode {
598 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500599 enum COLOUR_BLIND {
Toru Furusawa28988892017-10-30 17:28:40 -0700600 description "none";
601 }
wu6a418d22018-02-02 01:49:21 -0500602 enum COLOUR_AWARE {
Toru Furusawa28988892017-10-30 17:28:40 -0700603 description "none";
604 }
605 }
606 description "none";
607 }
608 typedef csf-config {
609 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500610 enum DISABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700611 description "This literal covers the following states of the CSF related MI informations:
612 - MI_CSF_Enable is false
613 - MI_CSFrdifdi_Enable is false
614 - MI_CSFdci_Enable is false.";
615 }
wu6a418d22018-02-02 01:49:21 -0500616 enum ENABLED {
Toru Furusawa28988892017-10-30 17:28:40 -0700617 description "This literal covers the following states of the CSF related MI informations:
618 - MI_CSF_Enable is true
619 - MI_CSFrdifdi_Enable is false
620 - MI_CSFdci_Enable is false.";
621 }
wu6a418d22018-02-02 01:49:21 -0500622 enum ENABLED_WITH_RDI_FDI {
Toru Furusawa28988892017-10-30 17:28:40 -0700623 description "This literal covers the following states of the CSF related MI informations:
624 - MI_CSF_Enable is true
625 - MI_CSFrdifdi_Enable is true
626 - MI_CSFdci_Enable is false.";
627 }
wu6a418d22018-02-02 01:49:21 -0500628 enum ENABLED_WITH_RDI_FDI_DCI {
Toru Furusawa28988892017-10-30 17:28:40 -0700629 description "This literal covers the following states of the CSF related MI informations:
630 - MI_CSF_Enable is true
631 - MI_CSFrdifdi_Enable is true
632 - MI_CSFdci_Enable is true.";
633 }
wu6a418d22018-02-02 01:49:21 -0500634 enum ENABLED_WITH_DCI {
Toru Furusawa28988892017-10-30 17:28:40 -0700635 description "This literal covers the following states of the CSF related MI informations:
636 - MI_CSF_Enable is true
637 - MI_CSFrdifdi_Enable is false
638 - MI_CSFdci_Enable is true.";
639 }
640 }
641 description "none";
642 }
643 typedef ety-phy-type {
644 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500645 enum OTHER {
Toru Furusawa28988892017-10-30 17:28:40 -0700646 description "none";
647 }
wu6a418d22018-02-02 01:49:21 -0500648 enum UNKNOWN {
Toru Furusawa28988892017-10-30 17:28:40 -0700649 description "none";
650 }
wu6a418d22018-02-02 01:49:21 -0500651 enum NONE {
Toru Furusawa28988892017-10-30 17:28:40 -0700652 description "none";
653 }
wu6a418d22018-02-02 01:49:21 -0500654 enum 2BASE_TL {
Toru Furusawa28988892017-10-30 17:28:40 -0700655 description "none";
656 }
wu6a418d22018-02-02 01:49:21 -0500657 enum 10MBIT_S {
Toru Furusawa28988892017-10-30 17:28:40 -0700658 description "none";
659 }
wu6a418d22018-02-02 01:49:21 -0500660 enum 10PASS_TS {
Toru Furusawa28988892017-10-30 17:28:40 -0700661 description "none";
662 }
wu6a418d22018-02-02 01:49:21 -0500663 enum 100BASE_T4 {
Toru Furusawa28988892017-10-30 17:28:40 -0700664 description "none";
665 }
wu6a418d22018-02-02 01:49:21 -0500666 enum 100BASE_X {
Toru Furusawa28988892017-10-30 17:28:40 -0700667 description "none";
668 }
wu6a418d22018-02-02 01:49:21 -0500669 enum 100BASE_T2 {
Toru Furusawa28988892017-10-30 17:28:40 -0700670 description "none";
671 }
wu6a418d22018-02-02 01:49:21 -0500672 enum 1000BASE_X {
Toru Furusawa28988892017-10-30 17:28:40 -0700673 description "none";
674 }
wu6a418d22018-02-02 01:49:21 -0500675 enum 1000BASE_T {
Toru Furusawa28988892017-10-30 17:28:40 -0700676 description "none";
677 }
wu6a418d22018-02-02 01:49:21 -0500678 enum 10GBASE-X {
Toru Furusawa28988892017-10-30 17:28:40 -0700679 description "none";
680 }
wu6a418d22018-02-02 01:49:21 -0500681 enum 10GBASE_R {
Toru Furusawa28988892017-10-30 17:28:40 -0700682 description "none";
683 }
wu6a418d22018-02-02 01:49:21 -0500684 enum 10GBASE_W {
Toru Furusawa28988892017-10-30 17:28:40 -0700685 description "none";
686 }
687 }
688 description "none";
689 }
690 typedef frame-type {
691 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500692 enum ADMIT_ONLY_VLAN_TAGGED_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700693 description "none";
694 }
wu6a418d22018-02-02 01:49:21 -0500695 enum ADMIT_ONLY_UNTAGGED_AND_PRIORITY_TAGGED_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700696 description "none";
697 }
wu6a418d22018-02-02 01:49:21 -0500698 enum ADMIT_ALL_FRAMES {
Toru Furusawa28988892017-10-30 17:28:40 -0700699 description "none";
700 }
701 }
702 description "none";
703 }
704 typedef oam-period {
705 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500706 enum 3_33MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700707 description "Default for protection.";
708 }
wu6a418d22018-02-02 01:49:21 -0500709 enum 10MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700710 description "none";
711 }
wu6a418d22018-02-02 01:49:21 -0500712 enum 100MS {
Toru Furusawa28988892017-10-30 17:28:40 -0700713 description "none";
714 }
wu6a418d22018-02-02 01:49:21 -0500715 enum 1S {
Toru Furusawa28988892017-10-30 17:28:40 -0700716 description "none";
717 }
wu6a418d22018-02-02 01:49:21 -0500718 enum 10S {
Toru Furusawa28988892017-10-30 17:28:40 -0700719 description "none";
720 }
wu6a418d22018-02-02 01:49:21 -0500721 enum 1MIN {
Toru Furusawa28988892017-10-30 17:28:40 -0700722 description "none";
723 }
wu6a418d22018-02-02 01:49:21 -0500724 enum 10MIN {
Toru Furusawa28988892017-10-30 17:28:40 -0700725 description "none";
726 }
727 }
728 description "Provides the frequency for the OAM PDU insertion.";
729 }
730 typedef pcp-coding {
731 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500732 enum 8P0D {
Toru Furusawa28988892017-10-30 17:28:40 -0700733 description "none";
734 }
wu6a418d22018-02-02 01:49:21 -0500735 enum 7P1D {
Toru Furusawa28988892017-10-30 17:28:40 -0700736 description "none";
737 }
wu6a418d22018-02-02 01:49:21 -0500738 enum 6P2D {
Toru Furusawa28988892017-10-30 17:28:40 -0700739 description "none";
740 }
wu6a418d22018-02-02 01:49:21 -0500741 enum 5P3D {
Toru Furusawa28988892017-10-30 17:28:40 -0700742 description "none";
743 }
wu6a418d22018-02-02 01:49:21 -0500744 enum DEI {
Toru Furusawa28988892017-10-30 17:28:40 -0700745 description "This enumeration value means that all priorities should be drop eligible.
746 DEI = Drop Eligibility Indicator";
747 }
748 }
749 description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
750 }
751 typedef vlan-type {
752 type enumeration {
wu6a418d22018-02-02 01:49:21 -0500753 enum C_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700754 description "0x8100";
755 }
wu6a418d22018-02-02 01:49:21 -0500756 enum S_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700757 description "0x88a8";
758 }
wu6a418d22018-02-02 01:49:21 -0500759 enum I_Tag {
Toru Furusawa28988892017-10-30 17:28:40 -0700760 description "88-e7";
761 }
762 }
763 description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
764 }
765
766}