DC/OS Net (or dcos-net) is a networking layer of The Datacenter Operating System (or DC/OS).
dcos-net is responsible for the following:
-
Distributed CRDT store with multicast and failure detector capabilities
-
Orchestration of virtual overlay networks using VXLAN
-
Distributed Layer 4 virtual IP load balancing
-
Network metrics (Enterprise DC/OS only)
For more information please see DC/OS documentation.
You can build, check, and test dcos-net in development image using
make docker-compile
, make docker-check
, and make docker-test
respectively.
All makefile targets with docker-
prefix will build development image with all
dependencies and run rebar3 commands in that image on the host directory.
To check your dcos-net build on DC/OS you can use DC/OS E2E a.k.a. dcos-docker CLI:
$ curl -O https://downloads.dcos.io/dcos/testing/master/dcos_generate_config.sh
$ make dcos-docker-create DCOS_DOCKER_AGENTS=3
$ make dcos-docker-dev DCOS_DOCKER_NODE=master_0
$ make dcos-docker-shell DCOS_DOCKER_NODE=agent_1
$ make dcos-docker-destroy
-
Erlang/OTP 20.x
-
C compiler
-
GNU make
-
libsodium 1.0.12+
To run common tests you can run make test
on any linux-based system with the
following list of additional dependencies:
-
dig (dnsutils or bind-utils)
-
iproute2
-
ipvsadm