Bug 1937380
| Summary: | RFE: Support automatically configure network using LLDP | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Fernando F. Mancera <ferferna> |
| Component: | nmstate | Assignee: | Fernando F. Mancera <ferferna> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | unspecified | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | ferferna, fge, jiji, jishi, jmaxwell, mshi, network-qe, till |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nmstate-1.1.0-1.el8 | Doc Type: | Technology Preview |
| Doc Text: |
.Network state configuration using `nmstate-autoconf` is now available as a Technology Preview
Network devices can use the Link Layer Discovery Protocol (LLDP) to advertise their identity, capabilities, and neighbors in a LAN. This enhancement adds the `nmstate-autoconf` utility as a Technology Preview to the `nmstate` package. The `nmstate-autoconf` utility can use the LLDP information to automatically configure local network interfaces.
For further details, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/assembly_using-nmstate-autoconf-to-automatically-configure-the-network-state-using-lldp_configuring-and-managing-networking[Using nmstate-autoconf to automatically configure the network state using LLDP].
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 17:43:40 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1935910 | ||
|
Description
Fernando F. Mancera
2021-03-10 14:19:35 UTC
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 |