nimbess / nimbess-agent

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

Adds Kernel Port(s) to default CNI network #9

Closed trozet closed 5 years ago

trozet commented 5 years ago

On default CNI network, a virtual port will be added to the host during MetaPipeline create for a network. This port will receive an IP from IPAM and will be used as the default gateway for the pods on this network. This gives the pods host and egress via host access. This patch adds configuring the default gateway for the pod namespace.

For the secondary interface (high speed/pod-to-pod) traffic, the physical interface may be specified on the host. This interface should be a DPDK or other type of high speed interface, but as a fallback kernel_interface may be used in the agent config for testing environments where it may not be possible to use DPDK, AF_XDP, or other high speed technologies.

When specified in Agent config, a kernel interface will be added to the default CNI network at the same time the first pod CNI ADD request is received.

Other fixes include:

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