datacenter / ACI-Kubernetes-Visualiser

ACI Kubernetes Visualiser
GNU General Public License v3.0
4 stars 5 forks source link

OpenShift BareMetal: Support LLDP discovery via Network Node State #42

Closed camrossi closed 1 year ago

camrossi commented 1 year ago

If OpenShift is installed on BareMetal hosts OpenShift needs to be configured to enable LLDP. Unfortunately at the moment LLDP Support via NMState only works in RX mode meaning that ACI have no information about the location of the OCP nodes. See https://github.com/nmstate/nmstate/issues/2386

As a work around to this we can get the nns data from the OpenShift nodes and understand the port to leaf mapping from there.

camrossi commented 1 year ago

Network Node State seems not to detect LLDP neighbours for the interfaces used for OVN. It works fine for everything else but alas this can't be implemented until this is addressed.

https://github.com/nmstate/nmstate/issues/2388

As an alternative we will allow to install LLDPD via an optional DaemonSet https://github.com/datacenter/ACI-Kubernetes-Visualiser/issues/46