commit | a56cc4b99f6274fc2f70916b035e4d1da3205d45 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed Nov 22 23:45:39 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Nov 23 04:45:38 2023 +0000 |
tree | 7f9f6c0207ef375f9865cc408a063fd63065eec1 | |
parent | 321cd715b52fb5c252cc2f99030883001748a63f [diff] |
m/n/c/network: add quirks infra and i40e quirk This adds the applyQuirks function which is called during early initialization of the network stack, before any network interfaces are enabled. This function applies device and/or driver-specific fixups to make them work better. For that purpose it examines relevant metadata (driver in use, firmware version and OpROM version) to decide which quirks should be applied to which device. As we do not yet have another way of exposing firmware versions, this also takes care of logging all non-zero firmware versions. It also adds a first quirk for i40e which disables firmware-based LLDP procesing. Change-Id: I456753880102dfb5b3e94847cf5627a003d70eeb Reviewed-on: https://review.monogon.dev/c/monogon/+/2344 Reviewed-by: Tim Windelschmidt <tim@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch --config dbg
Launch an ephemeral test node:
bazel test //:launch --config dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test --config dbg //...