Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-13099

LLDP for troubleshooting

XMLWordPrintable

    • lldp-for-troubleshooting
    • Hide
      • (must-have) NNCP enabling LLDP on all ethernet ports in the cluster tested upstream (limited to ethernet) and documented downstream.
      • (must-have) No UXD in this epic.
      • (should-have) validate NNCP Configuration and LLDP Reporting.
      Show
      (must-have) NNCP enabling LLDP on all ethernet ports in the cluster tested upstream (limited to ethernet) and documented downstream. (must-have) No UXD in this epic. (should-have) validate NNCP Configuration and LLDP Reporting.
    • Red
    • To Do
    • 50% To Do, 0% In Progress, 50% Done
    • dev-ready, doc-ready, po-ready, qe-ready, ux-ready
    • Hide

      For awareness. Due to shift of 4.18 priorities, we are putting our 4.17 work on pause. I will remove the target release after the next leads call....

      Show
      For awareness. Due to shift of 4.18 priorities, we are putting our 4.17 work on pause. I will remove the target release after the next leads call....

      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

      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>

              phoracek@redhat.com Petr Horacek
              dkenigsb@redhat.com Dan Kenigsberg
              Shahaf Bahar Shahaf Bahar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: