commit | 4c825320dc1e02f98c40065494bb6ae11bf81835 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Apr 11 13:25:14 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Tue Apr 18 11:48:46 2023 +0000 |
tree | 95ee82c569b0a6a61795bbe0429072241df3ef49 | |
parent | b902dfc271e2375d8928ad4faef0da7b1b75ec57 [diff] |
m/n/c/network: static networking fixes This fixes three issues with static networking: It joins interfaces to a master in down state as otherwise Linux can return an error. It takes up the automatically-created loopback interface as otherwise we have no working loopback interface which causes some weird breakage. It also patches netlink to use RTM_SETLINK instead of RTM_NEWLINK for reconfiguring interfaces as otherwise Linux sometimes returns an error. Change-Id: I512e38c6edc1a6d964feb552b1a3995165d74730 Reviewed-on: https://review.monogon.dev/c/monogon/+/1523 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@monogon.tech>
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 -c dbg
Launch an ephemeral test node:
bazel test //:launch -c 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 -c dbg //...