Bug 1832112

Summary: Document the type of each LLDP attribute of libnm
Product: Red Hat Enterprise Linux 8 Reporter: Beniamino Galvani <bgalvani>
Component: NetworkManagerAssignee: Wen Liang <wenliang>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: acardace, atragler, bgalvani, ferferna, fge, lrintel, rkhan, sukulkar, thaller, till, vbenes
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:28:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Beniamino Galvani 2020-05-06 06:27:15 UTC
We provide a nm_lldp_neighbor_get_attr_type() function that returns
the variant type of each LLDP attribute. However, since the type for
each attribute is fixed, the type should be clearly documented in
libnm so that users know how to parse the attribute. Also, some
attributes are a{sv} dictionaries and the documentation should state
which members are present.

Comment 2 Wen Liang 2021-03-10 02:33:17 UTC
Upstream PR for resolving this bug:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/777/diffs

Comment 3 Wen Liang 2021-03-15 17:47:37 UTC
upstream PR was merged

Comment 6 Vladimir Benes 2021-04-28 12:57:12 UTC
all LLDP attributes now listed in NMLldpNeighbor section of:
https://networkmanager.pages.freedesktop.org/NetworkManager/libnm/NMDevice.html

Comment 8 errata-xmlrpc 2021-11-09 19:28:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: NetworkManager security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4361