...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
apiVersion: k8s.plugin.opnfv.org/v1alpha1 kind: ProviderNetwork metadata: name: directpnetwork spec: cniType: ovn4nfv interface: - Type:sriov deviceName: intel.com/intel_sriov_700 ipv4Subnets: - subnet: 172.16.34.0/24 name: subnet2 gateway: 172.16.34.1/24 excludeIps: 172.16.34.2 172.16.34.5..172.16.34.10 providerNetType: DIRECT direct: providerInterfaceName: eth1. directNodeSelector: specific nodeLabelList: - feature.node.kubernetes.io/network-sriov.capable=true - feature.node.kubernetes.io/custom-xl710.present=true |
Parameter definition:
interface - Define the type of sriov interface to be created.
deviceName - Define device plugin to be targeted to get the pod resource information from the kubelet api - For more information refer refer here -
https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/util.go
- Admission controller should be part of NFN operator that insert the request and limit to pod spec by reading the OVN4NFV net CR.
- This design adds the SRIOV directly into the OVN overlay for both primary and secondary networking. The development should also address the SNAT for all the interfaces
Presentation:
View file | ||||
---|---|---|---|---|
|
...