Optional MAC address and other changes 02/73802/1
authorLuc Provoost <luc.provoost@gmail.com>
Mon, 9 Jan 2023 14:07:59 +0000 (15:07 +0100)
committerLuc Provoost <luc.provoost@gmail.com>
Mon, 9 Jan 2023 14:07:59 +0000 (15:07 +0100)
commit20150da55eed2634cda771d8e481b76590c90b75
tree31f00ae49224d3e4942c2e6cadbf9527e3566945
parentaacbf08a9f7d286e65f70d7beba3ec1108c0ddef
Optional MAC address and other changes

The MAC address of the dataplane interfaces in the environment file is
now optional. If not specified, the HW MAC address of that interface
will be used. When using l2 tests, the parameter will be needed anyway
and the test will fail if the MAC address is not specified.
Starting from DPDK 20.11, the EAL --pci-whitelist parameter changed into
--allow. We are now checking the DPDK version of the PROX instance to
determine which parameter to use.
For pods using cgroup v2, we are now using a different file to determine
the cpuset available to the pod.

Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: I7a88458406b9ae3c8cae9c583cc37121d40c5073
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_defaults.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_machine.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py