Merge pull request #225225 from puppe/fix-yggdrasil-tests

nixos/yggdrasil: fix yggdrasil local peering test

authored by

Ryan Lahfa and committed by
GitHub
6a101d0b 7767f902

+13 -4
+13 -4
nixos/tests/yggdrasil.nix
··· 10 10 InterfacePeers = { 11 11 eth1 = [ "tcp://192.168.1.200:12345" ]; 12 12 }; 13 - MulticastInterfaces = [ "eth1" ]; 14 - LinkLocalTCPPort = 54321; 13 + MulticastInterfaces = [ { 14 + Regex = ".*"; 15 + Beacon = true; 16 + Listen = true; 17 + Port = 54321; 18 + Priority = 0; 19 + } ]; 15 20 PublicKey = "2b6f918b6c1a4b54d6bcde86cf74e074fb32ead4ee439b7930df2aa60c825186"; 16 21 PrivateKey = "0c4a24acd3402722ce9277ed179f4a04b895b49586493c25fbaed60653d857d62b6f918b6c1a4b54d6bcde86cf74e074fb32ead4ee439b7930df2aa60c825186"; 17 22 }; ··· 115 120 settings = { 116 121 IfTAPMode = true; 117 122 IfName = "ygg0"; 118 - MulticastInterfaces = [ "eth1" ]; 119 - LinkLocalTCPPort = 43210; 123 + MulticastInterfaces = [ 124 + { 125 + Port = 43210; 126 + } 127 + ]; 128 + openMulticastPort = true; 120 129 }; 121 130 persistentKeys = true; 122 131 };