srl-labs / containerlab

container-based networking labs
https://containerlab.dev
BSD 3-Clause "New" or "Revised" License
1.54k stars 263 forks source link

add a check for sse3 cpu instruction availability #837

Closed hellt closed 2 years ago

hellt commented 2 years ago

sse3 instructions must be available for nodes which are based on dpdk it can be missing if users deploy/use a VM that was created with some old CPU emulated. It is easy to fix with running a VM that has full cpu host support

the check must be done during the topology checks stage, the lab must be halted if sse3 is missing and srl nodes are part of the topology and we must emit the warning message otherwise

nemith commented 1 year ago

This doesn't work well for docker in docker or docker in lima as the SSE3 will be done at the docker level.

hellt commented 1 year ago

@nemith I'll check if disabling sse3 cpu capability check will work, testing it on srlinux in dind