commit | 0672ecc35bca207fce8ede33da6542a880eb89c5 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Feb 21 11:00:59 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Wed Mar 08 16:10:21 2023 +0000 |
tree | 152cbee5e749eb9d8decdf0b4fac9185f6c86c18 | |
parent | b033b380387a999b7ad19f9d001c42ec570c8945 [diff] |
net/proto: add network configuration spec This adds a network configuration specification which will be used for the Monogon Network component in case autoconfiguration cannot be used because of environmental constraints. It will also be used by netdump, which is capable of deriving such a spec from a running system. It's currently a bit bare-bones, but is designed to be easily extensible to more complex needs. Change-Id: Ib444ac26251884c640a0dbec089d0d1787df556b Reviewed-on: https://review.monogon.dev/c/monogon/+/1139 Reviewed-by: Leopold Schabel <leo@monogon.tech> Tested-by: Leopold Schabel <leo@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 //...