commit | 2b0f3d3df1fd3f71b57bb2ea581a649678b2451e | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Wed May 03 15:39:11 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed May 31 11:29:13 2023 +0000 |
tree | 1018cd62c66bff7c239ae4df9ff076b4b4c832c9 | |
parent | 886c386f9acf84d2600878c61e5f1822a5fb8c1b [diff] |
m/n/c/network: set status with static config This makes the static network service also set the network state if no autoconfiguration is in use. This is currently quite hacky, it essentially checks if any interface uses IPv4 autoconfig/DHCP and if not it choses the first IPv4 address and sets that as the external address. Change-Id: I53cebfaa373512eec3d26c59640c0328297acf32 Reviewed-on: https://review.monogon.dev/c/monogon/+/1644 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 -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 //...