commit | 3ecb04a95b2d877ea4ef6adad0059183858af5a9 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Mar 16 20:41:20 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Apr 06 14:26:33 2023 +0000 |
tree | aa1d41084169ee9de32cd67837cbec8edd79b886 | |
parent | 9ae5f77a472650a9f43186c585e395387cfc1f91 [diff] |
m/n/c/network: add support for static network configuration For certain network configurations autoconfiguration doesn't work or is not appropriate, so for these a static configuration needs to be used. The monorepo has recently gained net.proto, a Protobuf-based network specification. This implements support for using this instead of autoconfiguration in the Monogon network service. Change-Id: Ifaec4e98b5a871308bde94c26fc09a7f0bcfd064 Reviewed-on: https://review.monogon.dev/c/monogon/+/1364 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 //...