diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-04-12 13:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 13:36:37 +0200 |
commit | 6a101d0be66cb64bddc22681b32cd0168f0e6b69 (patch) | |
tree | 7896bc3438f4f3fc2a01ec86585a0f05f3a9302a /nixos/tests | |
parent | 7767f90231351c11b9e4c6ca71ba7831523e3ac0 (diff) | |
parent | 83c344fedb862ca8ef1d24679eac732dc4120e53 (diff) |
Merge pull request #225225 from puppe/fix-yggdrasil-tests
nixos/yggdrasil: fix yggdrasil local peering test
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/yggdrasil.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/nixos/tests/yggdrasil.nix b/nixos/tests/yggdrasil.nix index b60a0e6b06cc4..eaf14e29acb03 100644 --- a/nixos/tests/yggdrasil.nix +++ b/nixos/tests/yggdrasil.nix @@ -10,8 +10,13 @@ let InterfacePeers = { eth1 = [ "tcp://192.168.1.200:12345" ]; }; - MulticastInterfaces = [ "eth1" ]; - LinkLocalTCPPort = 54321; + MulticastInterfaces = [ { + Regex = ".*"; + Beacon = true; + Listen = true; + Port = 54321; + Priority = 0; + } ]; PublicKey = "2b6f918b6c1a4b54d6bcde86cf74e074fb32ead4ee439b7930df2aa60c825186"; PrivateKey = "0c4a24acd3402722ce9277ed179f4a04b895b49586493c25fbaed60653d857d62b6f918b6c1a4b54d6bcde86cf74e074fb32ead4ee439b7930df2aa60c825186"; }; @@ -115,8 +120,12 @@ in import ./make-test-python.nix ({ pkgs, ...} : { settings = { IfTAPMode = true; IfName = "ygg0"; - MulticastInterfaces = [ "eth1" ]; - LinkLocalTCPPort = 43210; + MulticastInterfaces = [ + { + Port = 43210; + } + ]; + openMulticastPort = true; }; persistentKeys = true; }; |