oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 10 forks source link

Implement Open vSwitch flow handling #23

Closed okt-galaktionov closed 1 month ago

okt-galaktionov commented 1 year ago

Allow tests to set up and modify Open vSwitch flow rules, which is necessary when testing all kinds of OvS functionality.

Breaks: test suites now need to include ovs_flow in platform builds Testing done: tested using new tests in vswitch-ts, which set up connection-tracked firewalls

ol-arteman commented 10 months ago

When I am building selftests with ./te-trunk/suites/selftest/run.sh --cfg=gimli1 --build-only, I am getting: src/lib/meson.build:285:20: ERROR: Tried to get unknown variable "dep_lib_ovs_flow"

There is of course no ovs_flow component in selftests' builder.conf. Adding it there may be a good idea, but there's still lots of testsuites that must not require patching theire builder.confs.