apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
name: <name> (1)
namespace: openshift-sriov-network-operator (2)
spec:
resourceName: <sriov_resource_name> (3)
nodeSelector:
feature.node.kubernetes.io/network-sriov.capable: "true" (4)
priority: <priority> (5)
mtu: <mtu> (6)
needVhostNet: false (7)
numVfs: <num> (8)
externallyManaged: false (9)
nicSelector: (10)
vendor: "<vendor_code>" (11)
deviceID: "<device_id>" (12)
pfNames: ["<pf_name>", ...] (13)
rootDevices: ["<pci_bus_id>", ...] (14)
netFilter: "<filter_string>" (15)
deviceType: <device_type> (16)
isRdma: false (17)
linkType: <link_type> (18)
eSwitchMode: "switchdev" (19)
excludeTopology: false (20)