This change adds a docker recipe to create an openvswitch container.
It is based on the work done by the openvswitch community. For the
first release it uses a Debian Trixie distro with ovs 3.5.2 and kernel
version 6.12.0-1.
It also adds this new image to the ovs-agent daemonset as 2 containers
one for openvswitch itself and another for the ovsdb daemon.
Still doesn't provide the final content for the container.
Test Plan
=========
[PASS] test switching between 2 sriov interfaces
- copy ovs-3.5.2_debian_6.12.0-1-generic.tar to dest system
- ctr -n k8s.io image import \
./ovs-3.5.2_debian_6.12.0-1-generic.tar
- open bash session inside the pod and apply the ovs database
ovs-vsctl add-br br0
ip link set br0 up
ovs-vsctl add-port br0 net1
ovs-vsctl add-port br0 net2
- using surrounding pods observe switching operation
[PASS] add image to helm
- build image with "make build"
- copy helm-chart/basic-test/ to the destination system
- helm install my-ovs helm-chart/basic-test/ -n openvswitch \
--create-namespace
- observe that daemonset ovs-agent contains the openvswitch
container
Story: 2011655
Task: 53868
Change-Id: Iae33adc701425eb4adfa786d89fed89b2d34682e
Signed-off-by: Andre Kantek <andrefernandozanella.kantek@windriver.com>
Description
StarlingX Openvswitch App
Languages
Go
77%
Makefile
15.9%
Shell
4.1%
Dockerfile
3%