blob: 500430f011cd9b61fa39805d0ca1a357a1080d48 [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 }
24 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point/tapi-connectivity:layer-protocol" {
25 uses connection-end-point-lp-spec;
26 description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
27 }
28 augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-topology:layer-protocol" {
29 uses node-edge-point-lp-spec;
30 description "Augments the base LayerProtocol information in NodeEdgePoint with ETH-specific information";
31 }
32 /***********************
33 * package object-classes
34 **********************/
35 grouping connection-point-and-adapter-pac {
36 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 }
146 container traffic-shaping {
147 uses traffic-shaping-pac;
148 description "none";
149 }
150 container traffic-conditioning {
151 uses traffic-conditioning-pac;
152 description "none";
153 }
154 description "none";
155 }
156 grouping connection-end-point-lp-spec {
157 container termination-spec {
158 uses eth-termination-pac;
159 description "none";
160 }
161 container adapter-spec {
162 uses connection-point-and-adapter-pac;
163 description "none";
164 }
165 description "none";
166 }
167 grouping eth-termination-pac {
168 container priority-regenerate {
169 uses priority-mapping;
170 description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
171 }
172 leaf ether-type {
173 type vlan-type;
174 description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
175 }
176 leaf-list filter-config {
177 type mac-address;
178 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
179 It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
180 The 33 MAC addresses are:
181 01-80-C2-00-00-10,
182 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
183 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
184 The filter action is Pass or Block.
185 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.
186 If none of the above addresses match, the ETH_CI_D is passed.
187 range of type : MacAddress:
188 01-80-C2-00-00-10,
189 01-80-C2-00-00-00 to
190 01-80-C2-00-00-0F, and
191 01-80-C2-00-00-20 to
192 01-80-C2-00-00-2F;
193 ActionEnum:
194 PASS, BLOCK";
195 }
196 leaf frametype-config {
197 type frame-type;
198 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
199 range of type : see Enumeration";
200 }
201 leaf port-vid {
202 type vid;
203 default "1";
204 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
205 }
206 leaf priority-code-point-config {
207 type pcp-coding;
208 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
209 range of type : see Enumeration";
210 }
211 description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
212 }
213 grouping ety-termination-pac {
214 leaf is-fts-enabled {
215 type boolean;
216 description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
217 }
218 leaf is-tx-pause-enabled {
219 type boolean;
220 description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
221 }
222 leaf phy-type {
223 type ety-phy-type;
224 config false;
225 description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
226 }
227 leaf-list phy-type-list {
228 type ety-phy-type;
229 config false;
230 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.";
231 }
232 description "none";
233 }
234 grouping traffic-conditioning-pac {
235 list prio-config-list {
236 config false;
237 uses priority-configuration;
238 description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
239 }
240 list cond-config-list {
241 config false;
242 uses traffic-conditioning-configuration;
243 description "This attribute indicates for the conditioner process the conditioning parameters:
244 - Queue ID: Indicates the Queue ID
245 - Committed Information Rate (CIR): number of bits per second
246 - Committed Burst Size (CBS): number of bytes
247 - Excess Information Rate (EIR): number of bits per second
248 - Excess Burst Size (EBS): number of bytes
249 - Coupling flag (CF): 0 or 1
250 - Color mode (CM): color-blind and color-aware.";
251 }
252 leaf codirectional {
253 type boolean;
254 config false;
255 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.";
256 }
257 description "This object class models the ETH traffic conditioning function as defined in G.8021.
258 Basic attributes: codirectional, condConfigList, prioConfigList";
259 }
260 grouping traffic-shaping-pac {
261 list prio-config-list {
262 config false;
263 uses priority-configuration;
264 description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
265 }
266 list queue-config-list {
267 config false;
268 uses queue-configuration;
269 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.";
270 }
271 leaf sched-config {
272 type scheduling-configuration;
273 config false;
274 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.
275 Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
276 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.";
277 }
278 leaf codirectional {
279 type boolean;
280 config false;
281 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.";
282 }
283 description "This object class models the ETH traffic shaping function as defined in G.8021.
284 Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
285 }
286 grouping node-edge-point-lp-spec {
287 container termination-spec {
288 uses ety-termination-pac;
289 description "none";
290 }
291 description "none";
292 }
293
294 /***********************
295 * package type-definitions
296 **********************/
297 grouping priority-configuration {
298 leaf priority {
299 type uint64 {
300 range "0..7";
301 }
302 description "none";
303 }
304 leaf queue-id {
305 type uint64 {
306 range "1..8";
307 }
308 description "none";
309 }
310 description "none";
311 }
312 grouping queue-configuration {
313 leaf queue-id {
314 type uint64;
315 description "This attribute indicates the queue id.";
316 }
317 leaf queue-depth {
318 type uint64;
319 description "This attribute defines the depth of the queue in bytes.";
320 }
321 leaf queue-threshold {
322 type uint64;
323 description "This attribute defines the threshold of the queue in bytes.";
324 }
325 description "none";
326 }
327 grouping traffic-conditioning-configuration {
328 leaf cir {
329 type uint64;
330 description "This attribute indicates the Committed Information Rate in bits/s.";
331 }
332 leaf cbs {
333 type uint64;
334 description "This attribute indicates the Committed Burst Size in bytes.";
335 }
336 leaf eir {
337 type uint64;
338 description "This attribute indicates the Excess Information Rate in bits/s.";
339 }
340 leaf ebs {
341 type uint64;
342 description "This attribute indicates the Excess Burst Size in bytes.";
343 }
344 leaf coupling-flag {
345 type boolean;
346 description "This attribute indicates the coupling flag.";
347 }
348 leaf colour-mode {
349 type colour-mode;
350 description "This attribute indicates the colour mode.";
351 }
352 leaf queue-id {
353 type uint64 {
354 range "1..8";
355 }
356 description "This attribute indicates the queue id.";
357 }
358 description "none";
359 }
360 typedef mac-address {
361 type string;
362 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).";
363 }
364 grouping priority-mapping {
365 leaf priority-0 {
366 type uint64 {
367 range "0..7";
368 }
369 description "This attribute defines the new priority value for the old priority value 0.";
370 }
371 leaf priority-1 {
372 type uint64 {
373 range "0..7";
374 }
375 default "1";
376 description "This attribute defines the new priority value for the old priority value 1.";
377 }
378 leaf priority-2 {
379 type uint64 {
380 range "0..7";
381 }
382 default "2";
383 description "This attribute defines the new priority value for the old priority value 2.";
384 }
385 leaf priority-3 {
386 type uint64 {
387 range "0..7";
388 }
389 default "3";
390 description "This attribute defines the new priority value for the old priority value 3.";
391 }
392 leaf priority-4 {
393 type uint64 {
394 range "0..7";
395 }
396 default "4";
397 description "This attribute defines the new priority value for the old priority value 4.";
398 }
399 leaf priority-5 {
400 type uint64 {
401 range "0..7";
402 }
403 default "5";
404 description "This attribute defines the new priority value for the old priority value 5.";
405 }
406 leaf priority-6 {
407 type uint64 {
408 range "0..7";
409 }
410 default "6";
411 description "This attribute defines the new priority value for the old priority value 6.";
412 }
413 leaf priority-7 {
414 type uint64 {
415 range "0..7";
416 }
417 default "7";
418 description "This attribute defines the new priority value for the old priority value 7.";
419 }
420 description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
421 }
422 typedef vid {
423 type string;
424 description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
425 }
426 typedef modify-cross-connection-data {
427 type string;
428 description "none";
429 }
430 grouping address-tuple {
431 leaf address {
432 type mac-address;
433 description "This attribute contains the MAC address of the address tuple.";
434 }
435 leaf-list port-list {
436 type mac-address;
437 description "This attribute contains the ports associated to the MAC address in the address tuple.";
438 }
439 description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
440 }
441 typedef scheduling-configuration {
442 type string;
443 description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
444 }
445 grouping control-frame-filter {
446 leaf c-2-00-00-10 {
447 type boolean;
448 description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
449 }
450 leaf c-2-00-00-00 {
451 type boolean;
452 description "This attribute identifies the STP/RSTP/MSTP protocol address.";
453 }
454 leaf c-2-00-00-01 {
455 type boolean;
456 description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
457 }
458 leaf c-2-00-00-02 {
459 type boolean;
460 description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
461 }
462 leaf c-2-00-00-03 {
463 type boolean;
464 description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
465 }
466 leaf c-2-00-00-04 {
467 type boolean;
468 description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
469 }
470 leaf c-2-00-00-05 {
471 type boolean;
472 description "Reserved for future standardization.";
473 }
474 leaf c-2-00-00-06 {
475 type boolean;
476 description "Reserved for future standardization.";
477 }
478 leaf c-2-00-00-07 {
479 type boolean;
480 description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
481 }
482 leaf c-2-00-00-08 {
483 type boolean;
484 description "This attribute identifies the Provider Bridge Group address.";
485 }
486 leaf c-2-00-00-09 {
487 type boolean;
488 description "Reserved for future standardization.";
489 }
490 leaf c-2-00-00-0-a {
491 type boolean;
492 description "Reserved for future standardization.";
493 }
494 leaf c-2-00-00-0-b {
495 type boolean;
496 description "Reserved for future standardization.";
497 }
498 leaf c-2-00-00-0-c {
499 type boolean;
500 description "Reserved for future standardization.";
501 }
502 leaf c-2-00-00-0-d {
503 type boolean;
504 description "This attribute identifies the Provider Bridge MVRP address.";
505 }
506 leaf c-2-00-00-0-e {
507 type boolean;
508 description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
509 }
510 leaf c-2-00-00-0-f {
511 type boolean;
512 description "Reserved for future standardization.";
513 }
514 leaf c-2-00-00-20 {
515 type boolean;
516 description "This attribute identifies the Customer and Provider Bridge MMRP address.";
517 }
518 leaf c-2-00-00-21 {
519 type boolean;
520 description "This attribute identifies the Customer Bridge MVRP address.";
521 }
522 leaf c-2-00-00-22 {
523 type boolean;
524 description "Reserved for future standardization.";
525 }
526 leaf c-2-00-00-23 {
527 type boolean;
528 description "Reserved for future standardization.";
529 }
530 leaf c-2-00-00-24 {
531 type boolean;
532 description "Reserved for future standardization.";
533 }
534 leaf c-2-00-00-25 {
535 type boolean;
536 description "Reserved for future standardization.";
537 }
538 leaf c-2-00-00-26 {
539 type boolean;
540 description "Reserved for future standardization.";
541 }
542 leaf c-2-00-00-27 {
543 type boolean;
544 description "Reserved for future standardization.";
545 }
546 leaf c-2-00-00-28 {
547 type boolean;
548 description "Reserved for future standardization.";
549 }
550 leaf c-2-00-00-29 {
551 type boolean;
552 description "Reserved for future standardization.";
553 }
554 leaf c-2-00-00-2-a {
555 type boolean;
556 description "Reserved for future standardization.";
557 }
558 leaf c-2-00-00-2-b {
559 type boolean;
560 description "Reserved for future standardization.";
561 }
562 leaf c-2-00-00-2-c {
563 type boolean;
564 description "Reserved for future standardization.";
565 }
566 leaf c-2-00-00-2-d {
567 type boolean;
568 description "Reserved for future standardization.";
569 }
570 leaf c-2-00-00-2-e {
571 type boolean;
572 description "Reserved for future standardization.";
573 }
574 leaf c-2-00-00-2-f {
575 type boolean;
576 description "Reserved for future standardization.";
577 }
578 description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
579 Value 'false' means block: The frame is discarded by the filter process.
580 Value 'true' means pass: The frame is passed unchanged through the filter process.";
581 }
582 grouping bandwidth-report {
583 leaf source-mac-address {
584 type mac-address;
585 description "The sourceMacAddress is the address from the far end.";
586 }
587 leaf port-id {
588 type uint64;
589 description "This attribute returns the far end port identifier.";
590 }
591 leaf nominal-bandwidth {
592 type uint64;
593 description "This attribute returns the configured bandwidth";
594 }
595 leaf current-bandwidth {
596 type uint64;
597 description "This attribute returns the current bandwidth.";
598 }
599 description "Data type for the bandwidth report.";
600 }
601 typedef admin-state {
602 type enumeration {
603 enum lock {
604 description "none";
605 }
606 enum normal {
607 description "none";
608 }
609 }
610 description "none";
611 }
612 typedef colour-mode {
613 type enumeration {
614 enum colour-blind {
615 description "none";
616 }
617 enum colour-aware {
618 description "none";
619 }
620 }
621 description "none";
622 }
623 typedef csf-config {
624 type enumeration {
625 enum disabled {
626 description "This literal covers the following states of the CSF related MI informations:
627 - MI_CSF_Enable is false
628 - MI_CSFrdifdi_Enable is false
629 - MI_CSFdci_Enable is false.";
630 }
631 enum enabled {
632 description "This literal covers the following states of the CSF related MI informations:
633 - MI_CSF_Enable is true
634 - MI_CSFrdifdi_Enable is false
635 - MI_CSFdci_Enable is false.";
636 }
637 enum enabled-with-rdi-fdi {
638 description "This literal covers the following states of the CSF related MI informations:
639 - MI_CSF_Enable is true
640 - MI_CSFrdifdi_Enable is true
641 - MI_CSFdci_Enable is false.";
642 }
643 enum enabled-with-rdi-fdi-dci {
644 description "This literal covers the following states of the CSF related MI informations:
645 - MI_CSF_Enable is true
646 - MI_CSFrdifdi_Enable is true
647 - MI_CSFdci_Enable is true.";
648 }
649 enum enabled-with-dci {
650 description "This literal covers the following states of the CSF related MI informations:
651 - MI_CSF_Enable is true
652 - MI_CSFrdifdi_Enable is false
653 - MI_CSFdci_Enable is true.";
654 }
655 }
656 description "none";
657 }
658 typedef ety-phy-type {
659 type enumeration {
660 enum other {
661 description "none";
662 }
663 enum unknown {
664 description "none";
665 }
666 enum none {
667 description "none";
668 }
669 enum 2-base-tl {
670 description "none";
671 }
672 enum 10-mbit-s {
673 description "none";
674 }
675 enum 10-pass-ts {
676 description "none";
677 }
678 enum 100-base-t-4 {
679 description "none";
680 }
681 enum 100-base-x {
682 description "none";
683 }
684 enum 100-base-t-2 {
685 description "none";
686 }
687 enum 1000-base-x {
688 description "none";
689 }
690 enum 1000-base-t {
691 description "none";
692 }
693 enum 10-gbase-x {
694 description "none";
695 }
696 enum 10-gbase-r {
697 description "none";
698 }
699 enum 10-gbase-w {
700 description "none";
701 }
702 }
703 description "none";
704 }
705 typedef frame-type {
706 type enumeration {
707 enum admit-only-vlan-tagged-frames {
708 description "none";
709 }
710 enum admit-only-untagged-and-priority-tagged-frames {
711 description "none";
712 }
713 enum admit-all-frames {
714 description "none";
715 }
716 }
717 description "none";
718 }
719 typedef oam-period {
720 type enumeration {
721 enum 3-33-ms {
722 description "Default for protection.";
723 }
724 enum 10-ms {
725 description "none";
726 }
727 enum 100-ms {
728 description "none";
729 }
730 enum 1-s {
731 description "none";
732 }
733 enum 10-s {
734 description "none";
735 }
736 enum 1-min {
737 description "none";
738 }
739 enum 10-min {
740 description "none";
741 }
742 }
743 description "Provides the frequency for the OAM PDU insertion.";
744 }
745 typedef pcp-coding {
746 type enumeration {
747 enum 8-p-0-d {
748 description "none";
749 }
750 enum 7-p-1-d {
751 description "none";
752 }
753 enum 6-p-2-d {
754 description "none";
755 }
756 enum 5-p-3-d {
757 description "none";
758 }
759 enum dei {
760 description "This enumeration value means that all priorities should be drop eligible.
761 DEI = Drop Eligibility Indicator";
762 }
763 }
764 description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
765 }
766 typedef vlan-type {
767 type enumeration {
768 enum c-tag {
769 description "0x8100";
770 }
771 enum s-tag {
772 description "0x88a8";
773 }
774 enum i-tag {
775 description "88-e7";
776 }
777 }
778 description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
779 }
780
781}