nimbess / nimbess-agent

Nimbess SDN Controller
Apache License 2.0
2 stars 7 forks source link

Adds FastPath network support to CNI #12

Closed trozet closed 5 years ago

trozet commented 5 years ago

When a CNI request is made to add a kernel port for a Pod, a second FastPath port will created as well in a secondary default FastPath network. This port driver in the future may support multiple high speed datapath technologies, but for now only supports DPDK. Pods placed in the same network on their kernel port (original CNI request) will also be placed in the same FastPath network.

Following the same methodology as userspace CNI, when the FastPath CNI is invoked, it will annotate the Pod with configuration data and path information so that the Pod will have access to DPDK port information as well path to vhost sockets via the downward API. The vhost socket directory is for now shared amongst all containers and in the future will be created dynamically by an admission controller. See k8s/pod_example.yaml for an example of how to deploy a Pod.

Other Changes Include:

Signed-off-by: Tim Rozet trozet@redhat.com