diff --git a/release/models/lldp/openconfig-lldp.yang b/release/models/lldp/openconfig-lldp.yang index de8885a6c..4f6fe9ce2 100644 --- a/release/models/lldp/openconfig-lldp.yang +++ b/release/models/lldp/openconfig-lldp.yang @@ -26,7 +26,15 @@ module openconfig-lldp { "This module defines configuration and operational state data for the LLDP protocol."; - oc-ext:openconfig-version "1.1.0"; + oc-ext:openconfig-version "1.2.0"; + + revision "2026-04-14" { + description + "Add LLDP neighbor state leaves for LLDP-MED inventory serial + number, IEEE 802.1 port VLAN ID, and IEEE 802.3 link aggregation + and max frame size."; + reference "1.2.0"; + } revision "2026-04-06" { description @@ -386,6 +394,57 @@ module openconfig-lldp { typing to pair up with the 802.1AB Management Address TLV specification."; } + + leaf med-inventory-serial-number { + type string; + description + "The serial number of the remote device as advertised in + the LLDP-MED Inventory - Serial Number TLV."; + } + + leaf port-vlan-id { + type uint16 { + range "0..4094"; + } + description + "The port VLAN identifier advertised by the + neighbor in the IEEE 802.1 Port VLAN ID TLV. A value of 0 + indicates that the port is not VLAN-aware."; + } + + container link-aggregation { + description + "Link aggregation state advertised by the neighbor in + the IEEE 802.3 Link Aggregation TLV."; + + leaf capable { + type boolean; + description + "Indicates whether the neighbor port is capable of being + aggregated."; + } + + leaf enabled { + type boolean; + description + "Indicates whether the neighbor port is currently + aggregated."; + } + + leaf port-id { + type uint32; + description + "The aggregated port identifier of the neighbor port."; + } + } + + leaf max-frame-size { + type uint16; + description + "The maximum frame size in octets supported by the + neighbor port as advertised in the IEEE 802.3 Maximum + Frame Size TLV."; + } } grouping lldp-capabilities-config {