This module contains YANG definitions for configuring LLDP for 802.3 Ethernet Interfaces. In this YANG module, 'Ethernet interfa...
Version: 2025-04-17
module ieee802-ethernet-lldp { yang-version 1.1; namespace "urn:ieee:std:802.3:yang:ieee802-ethernet-lldp"; prefix ieee802-eth-lldp; import ieee802-dot1ab-lldp { prefix lldp; reference "IEEE Std 802.1ABcu-2021"; } 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 LLDP for 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, unless dated explicitly"; } typedef port-class-type { type enumeration { enum "p-class-pse" { value 0; description "Power Sourcing Equipment"; } enum "p-class-pd" { value 1; description "Powered Device"; } } description "Enumeration for the power port class"; reference "IEEE Std 802.3, 30.12.2.1.5"; } typedef pse-pinout-type { type enumeration { enum "signal" { value 0; description "PSE Pinout Alternative A"; } enum "spare" { value 1; description "PSE Pinout Alternative B"; } } description "Enumeration for the pinout alternatives used for PD detection and power "; reference "IEEE Std 802.3, 30.12.2.1.9"; } typedef pse-power-class-type { type enumeration { enum "class0" { value 0; description "Class 0 PD"; } enum "class1" { value 1; description "Class 1 PD"; } enum "class2" { value 2; description "Class 2 PD"; } enum "class3" { value 3; description "Class 3 PD"; } enum "class4" { value 4; description "Class 4 PD"; } } description "Enumeration for the PD class"; reference "IEEE Std 802.3, 30.12.2.1.10"; } typedef power-class-ext-AB-type { type enumeration { enum "singlesig" { value 0; description "Single-signature PD or 2-pair only PSE"; } enum "class1" { value 1; description "Class 1"; } enum "class2" { value 2; description "Class 2"; } enum "class3" { value 3; description "Class 3"; } enum "class4" { value 4; description "Class 4"; } enum "class5" { value 5; description "Class 5"; } } description "Enumeration for the assigned power class "; reference "IEEE Std 802.3, 30.12.3.1.26"; } typedef power-class-ext-type { type enumeration { enum "dualsig" { value 0; description "Dual-signature PD"; } enum "class1" { value 1; description "Class 1"; } enum "class2" { value 2; description "Class 2"; } enum "class3" { value 3; description "Class 3"; } enum "class4" { value 4; description "Class 4"; } enum "class5" { value 5; description "Class 5"; } enum "class6" { value 6; description "Class 6"; } enum "class7" { value 7; description "Class 7"; } enum "class8" { value 8; description "Class 8"; } } description "Enumeration for the assigned power class "; reference "IEEE Std 802.3, 30.12.3.1.28"; } typedef power-type { type enumeration { enum "type4dualsigPD" { value 0; description "Type 4 dual-signature PD"; } enum "type4singlesigPD" { value 1; description "Type 4 single-signature PD"; } enum "type3dualsigPD" { value 2; description "Type 3 dual-signature PD"; } enum "type3singlesigPD" { value 3; description "Type 3 single-signature PD"; } enum "type4PSE" { value 4; description "Type 4 PSE"; } enum "type3PSE" { value 5; description "Type 3 PSE"; } } description "Enumeration for the PD class"; reference "IEEE Std 802.3, 30.12.2.1.29"; } typedef power-priority-type { type enumeration { enum "low" { value 0; description "low priority PD"; } enum "high" { value 1; description "high priority PD"; } enum "critical" { value 2; description "critical priority PD"; } enum "unknown" { value 3; description "priority unknown"; } } description "Enumeration for possible priorities of a PD system"; reference "IEEE Std 802.3, 30.12.2.1.16"; } typedef power-source-type { type enumeration { enum "pse-primary" { value 0; description "PSE powered by a primary power source"; } enum "pse-backup" { value 1; description "PSE powered by a backup power source"; } enum "pse-unknwon" { value 2; description "PSE powered by an unkown power source"; } enum "pd-pse-and-local" { value 3; description "PD powered by a PSE and locally"; } enum "pd-local-only" { value 4; description "PD powered only locally"; } enum "pd-pse-only" { value 5; description "PD powered by PD only"; } enum "pd-unknown" { value 6; description "PD powered by an uknown source"; } } description "Enumeration for the power sources of the remote system. When the remote system is a PSE, it indicates whether it is being powered by a primary power source; a backup power source; or unknown. When the remote system is a PD, it indicates whether it is being powered by a PSE and locally; locally only; by a PSE only; or unknown."; reference "IEEE Std 802.3, 30.12.2.1.15"; } typedef powering-status-type { type enumeration { enum "4PdualsigPD" { value 0; description "4-pair powering a dual-signature PD"; } enum "4PsinglesigPD" { value 1; description "4-pair powering a single-signature PD"; } enum "2P" { value 2; description "2-pair powering"; } } description "Enumeration for the power status of the PSE"; reference "IEEE Std 802.3, 30.12.2.1.23"; } typedef powered-status-type { type enumeration { enum "4PdualsigPD" { value 0; description "4-pair powered dual-signature PD"; } enum "2PdualsigPD" { value 1; description "2-pair powered dual-signature PD"; } enum "singlesigPD" { value 2; description "powered single-signature PD"; } } description "Enumeration for the power status of the PSE"; reference "IEEE Std 802.3, 30.12.2.1.24"; } typedef power-pairs-type { type enumeration { enum "altA" { value 0; description "Alternative A"; } enum "altB" { value 1; description "Alternative B"; } enum "both" { value 2; description "both"; } } description "Enumeration for the PSE Pinout Alternative"; reference "IEEE Std 802.3, 30.12.2.1.25"; } typedef measurement-source-type { type enumeration { enum "noRequest" { value 0; description "No Request"; } enum "altA" { value 1; description "Pairset Alternative A / Mode A"; } enum "altB" { value 2; description "Pairset Alternative B / Mode B"; } enum "total" { value 3; description "Port total"; } } description "PoE measurement source"; reference "IEEE Std 802.3, 30.12.2.1.42 and 30.12.3.1.42"; } } // module ieee802-ethernet-lldp
© 2024 YumaWorks, Inc. All rights reserved.