Hide Forgot
Description of problem: User story: 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: nmstate-1.1.0-1.el8.noarch nispor-1.1.1-1.el8.x86_64 NetworkManager-1.32.3-0.z.2.20e3975fd2.el8.x86_64 The topology: 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 --- interfaces: - name: veth0_ep.200 type: vlan state: up vlan: base-iface: veth0 id: 200 - name: veth1_ep.200 type: vlan state: up vlan: base-iface: veth1 id: 255 - name: bond300 type: bond state: up link-aggregation: mode: balance-rr port: - veth2 - veth3 - name: bond0_p.300 type: vlan state: up vlan: base-iface: bond300 id: 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. https://access.redhat.com/errata/RHBA-2021:4157