Decision Automation
Prerequisites
Before configuring SR-IOV nodes, verify that the Kubernetes NMState Operator and the SR-IOV Network Operator are installed and running in your cluster.
Verify the Kubernetes NMState Operator:
# Check the operator CSV is Succeeded oc get csv -n openshift-nmstate | grep nmstate # Check the NMState CR exists and handler pods are running oc get NMState oc get pods -n openshift-nmstate
Here is the expected output:
NAME DISPLAY VERSION PHASE kubernetes-nmstate-operator.4.17.0-202501301304 Kubernetes NMState Operator 4.17.0-202501301304 Succeeded
All
nmstate-handler-*pods must showRunning. One handler pod runs on each node.Verify the SR-IOV Network Operator:
# Check the operator CSV is Succeeded oc get csv -n openshift-sriov-network-operator | grep sriov # Check the SriovOperatorConfig exists and operator pods are running oc get SriovOperatorConfig -n openshift-sriov-network-operator oc get pods -n openshift-sriov-network-operator
Here is the expected output:
NAME DISPLAY VERSION PHASE sriov-network-operator.v4.17.0-202501230004 SR-IOV Network Operator 4.17.0-202501230004 Succeeded
The
network-resources-injector-*andoperator-webhook-*pods must showRunning.If either operator is not installed, refer to the Required OpenShift Operatorsin this section and install them before continuing.
Configure SR-IOV Nodes
Follow these steps to use NMState to enable LLDP on your SR-IOV nodes:
Mappings of OpenShift Objects with Apstra Objects
Here are the mappimgs of OpenShift with Apstra Objects:
| OpenShift Object | Apstra Object | Description |
|---|---|---|
|
Project |
Routing Zones (VRF) |
Creating/Deleting a project will create Routing Zones (VRF) in Apstra. |
|
SriovNetwork |
Virtual Networks (VNET) |
Creating/Deleting a SriovNetwork will create Virtual Networks( VNET) in Apstra. |
|
Pod |
Connectivity Template |
Creating of VNET creates connectivity template automatically in Apstra. The pod is mapped to the respective nodes and ports in the connectivity templates dynamically. |