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)
nicSelector: (9)
vendor: "<vendor_code>" (10)
deviceID: "<device_id>" (11)
pfNames: ["<pf_name>", ...] (12)
rootDevices: ["<pci_bus_id>", ...] (13)
netFilter: "<filter_string>" (14)
deviceType: <device_type> (15)
isRdma: false (16)
linkType: <link_type> (17)