This module contains YANG definitions for configuring IEEE Std 802.3 Ethernet Interfaces. In this YANG module, 'Ethernet interfa...
Version: 2025-04-17
module ieee802-ethernet-interface { yang-version 1.1; namespace "urn:ieee:std:802.3:yang:ieee802-ethernet-interface"; prefix ieee802-eth-if; import ietf-yang-types { prefix yang; reference "IETF RFC 6991"; } import iana-if-type { prefix ianaift; reference "http://www.iana.org/assignments/yang-parameters/ iana-if-type@2023-01-26.yang"; } import ietf-interfaces { prefix if; reference "IETF RFC 8343"; } import ieee802-ethernet-phy-type { prefix ieee802-phy; reference "IEEE Std 802.3-2022"; } organization "IEEE Std 802.3 Ethernet Working Group Web URL: http://www.ieee802.org/3/"; contact "Web URL: http://www.ieee802.org/3/"; description "This module contains YANG definitions for configuring IEEE Std 802.3 Ethernet Interfaces. In this YANG module, 'Ethernet interface' can be interpreted as referring to 'IEEE Std 802.3 compliant Ethernet interfaces'."; revision "2025-04-17" { description "Updates under IEEE Std 802.3.2-202x, Draft D3.3"; reference "IEEE Std 802.3-2022 and IEEE Std 802.3.1-202X, unless dated explicitly"; } feature ethernet-pfc { description "This device supports Ethernet priority flow-control."; } feature ethernet-pause { description "This device supports Ethernet PAUSE."; } typedef eth-if-speed-type { type decimal64 { fraction-digits 3; } units "Gb/s"; status obsolete; description "Used to represent the configured, negotiated, or actual speed of an Ethernet interface in Gigabits per second (Gb/s), accurate to 3 decimal places (i.e., accurate to 1 Mb/s)."; } typedef duplex-type { type enumeration { enum "full" { value 0; description "Full duplex."; } enum "half" { value 1; description "Half duplex."; } enum "unknown" { value 2; description "Link is currently disconnected or initializing."; } } default "full"; description "Used to represent the configured, negotiated, or actual duplex mode of an Ethernet interface."; reference "IEEE Std 802.3, 30.3.1.1.32, aDuplexStatus"; } typedef pause-fc-direction-type { type enumeration { enum "disabled" { value 0; description "Flow-control disabled in both ingress and egress directions."; } enum "ingress-only" { value 1; description "PAUSE frame based flow control is enabled in the ingress direction only."; } enum "egress-only" { value 2; description "PAUSE frame based flow control is enabled in the egress direction only."; } enum "bi-directional" { value 3; description "PAUSE frame based flow control is enabled in both ingress and egress directions."; } enum "undefined" { value 4; description "Link is currently disconnected or initializing."; } } description "Used to represent the configured, negotiated, or actual PAUSE frame-based flow control setting."; reference "IEEE Std 802.3.1, dot3PauseAdminMode and dot3PauseOperMode"; } } // module ieee802-ethernet-interface
© 2024 YumaWorks, Inc. All rights reserved.