Description of problem:
As an user of Nmstate I want to configure the network state automatically based on the LLDP VLAN announced information. That mean Nmstate will use the LLDP information to identify the existing vlans and configure the interfaces.
Upstream patch: https://github.com/nmstate/nmstate/pull/1658
Tested upstream patch.
Current limitation is user need to manually enable LLDP on interfaces before call `nmstate-autoconf`.
Verified with versions:
local | peer
veth0 --|-- a vlan with id 200
veth1 --|-- a vlan with id 255
veth2 --|-- a veth in bond0 --+
|-- a vlan(over bond0) with id 300
veth3 --|-- a veth in bond0 --+
Using default lldpd configuration, run nmstate-autoconf in local host:
# nmstate-autoconf -d 2> /dev/null
- name: veth0_ep.200
- name: veth1_ep.200
- name: bond300
- name: bond0_p.300
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 (nmstate 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.