diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/default.nix | 3 | ||||
-rw-r--r-- | tests/labnet/heinrich.nix | 51 |
2 files changed, 0 insertions, 54 deletions
diff --git a/tests/default.nix b/tests/default.nix index 77fb3073..eb4f3b81 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -9,9 +9,6 @@ in { aszlig = { i3 = callTest ./aszlig/i3.nix; }; - labnet = { - heinrich = callTest ./labnet/heinrich.nix; - }; richi235 = { # Currently broken #multipath-vpn = callTest ./richi235/multipath-vpn.nix; diff --git a/tests/labnet/heinrich.nix b/tests/labnet/heinrich.nix deleted file mode 100644 index a7839c42..00000000 --- a/tests/labnet/heinrich.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - name = "heinrich"; - - nodes = let - common = { lib, ... }: { - networking.useNetworkd = true; - systemd.network.netdevs."40-eth0".netdevConfig = { - Name = "eth0"; - Kind = "dummy"; - }; - }; - in { - heinrich = { - imports = [ common (import ../../machines {}).labnet.heinrich.config ]; - virtualisation.vlans = [ 1 8 14 ]; - vuizvui.machines.heinrich.internalInterface = "eth1"; - vuizvui.machines.heinrich.externalInterface = "eth2"; - }; - hotelturm = { lib, ... }: { - imports = [ common ]; - virtualisation.vlans = [ 8 ]; - networking.useDHCP = false; - networking.interfaces.eth1.ip4 = lib.singleton { - address = "10.11.77.16"; - prefixLength = 24; - }; - }; - moritz = { lib, ... }: { - imports = [ common ]; - virtualisation.vlans = [ 14 ]; - networking.useDHCP = false; - networking.interfaces.eth1.ip4 = lib.singleton { - address = "192.168.0.1"; - prefixLength = 24; - }; - }; - client = { - imports = [ common ]; - virtualisation.vlans = [ 1 ]; - }; - }; - - testScript = '' - startAll; - $heinrich->waitForUnit("dnsmasq.service"); - $client->waitForUnit("network-interfaces.target"); - $client->waitForUnit("network.target"); - - $client->succeed("ip addr >&2"); - ''; -} |