-
Epic
-
Resolution: Unresolved
-
Major
-
None
-
None
-
lldp-for-troubleshooting
-
-
Red
-
To Do
-
50% To Do, 0% In Progress, 50% Done
-
dev-ready, doc-ready, po-ready, qe-ready, ux-ready
-
Goal
Let the cluster admin review which is the neighbor of each NIC of each node
User Stories
- As an Admin, I'd like to tell which of my nodes is connected to a specific switch, via which interface and which switch port, and how the port is configured on the switch. For example, I would like to find out if one of my nodes has its eno1 and eno2 swapped and wired to the wrong network.
- As an Admin, I would like to apply an NNCP stating "report LLDP on all interfaces", and then review the LLDP information reported on each NNS. This may be just applying
apiVersion: nmstate.io/v1 kind: NodeNetworkConfigurationPolicy metadata: name: enable-lldp-ethernets-up spec: capture: ethernets: interfaces.type=="ethernet" ethernets-up: capture.ethernets | interfaces.state=="up" ethernets-up-lldp: capture.ethernets-up | interfaces.lldp.enabled:=true desiredState: interfaces: '{{ capture.ethernets-up-lldp.interfaces }}'
Non-Requirements
- Test automation does not have to be done on the CNV side - upstream e2e tests are executed on OCP via https://github.com/openshift/kubernetes-nmstate
Notes
- NMState already reports lldp data if explicitly requested for each interface. This epic is about making it easy to use with kubernetes-nmstate.
- An interesting follow-up epic may be to have a conditional NNCP such as "create a bond on top of all NICs that are connected to VLAN 200".
Done Checklist
Who | What | Reference |
---|---|---|
DEV | Upstream roadmap issue | N/A |
DEV | Upstream code and tests merged | https://github.com/nmstate/kubernetes-nmstate/pull/1236/files |
DEV | Upstream documentation merged | https://github.com/nmstate/kubernetes-nmstate/blob/main/docs/examples/lldp.yaml |
DEV | gap doc updated | N/A |
DEV | Upgrade consideration | None |
DEV | CEE/PX summary presentation | N/A |
QE | Test plans in Polarion | <link or reference to Polarion> |
QE | Automated tests merged | <link or reference to automated tests> |
DOC | Downstream documentation merged | <link to meaningful PR> |
- is documented by
-
CNV-30150 LLDP-enabling policy in downstream docs
- New