Update tests to use `subnets` in all connections

release
Matthew Salerno 9 months ago
parent 8c7f741b7f
commit 68a0496bc7

@ -87,18 +87,22 @@
{
a = [{type= "peer"; rule = "is"; value = "peer1";}];
b = [{type= "peer"; rule = "is"; value = "peer2";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "peer2";}];
b = [{type= "peer"; rule = "is"; value = "peer3";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "peer3";}];
b = [{type= "peer"; rule = "is"; value = "peer4";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "peer4";}];
b = [{type= "peer"; rule = "is"; value = "peer1";}];
subnets = [ "ring" ];
}
];
}

@ -60,6 +60,7 @@
{
a = [{type= "subnet"; rule = "is"; value = "manual";}];
b = [{type= "subnet"; rule = "is"; value = "manual";}];
subnets = [ "manual" ];
}
];
}

@ -58,6 +58,7 @@
{
a = [{type= "subnet"; rule = "is"; value = "manual";}];
b = [{type= "subnet"; rule = "is"; value = "manual";}];
subnets = [ "manual" ];
}
];
}

@ -58,6 +58,7 @@
{
a = [{type= "subnet"; rule = "is"; value = "manual";}];
b = [{type= "subnet"; rule = "is"; value = "manual";}];
subnets = [ "manual" ];
}
];
}

@ -86,6 +86,7 @@
{
a = [{type= "subnet"; rule = "is"; value = "mesh";}];
b = [{type= "subnet"; rule = "is"; value = "mesh";}];
subnets = [ "mesh" ];
}
];
}

@ -86,18 +86,22 @@
{
a = [{type= "peer"; rule = "is"; value = "node1";}];
b = [{type= "peer"; rule = "is"; value = "node2";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "node2";}];
b = [{type= "peer"; rule = "is"; value = "node3";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "node3";}];
b = [{type= "peer"; rule = "is"; value = "node4";}];
subnets = [ "ring" ];
}
{
a = [{type= "peer"; rule = "is"; value = "node4";}];
b = [{type= "peer"; rule = "is"; value = "node1";}];
subnets = [ "ring" ];
}
];
}

@ -53,6 +53,7 @@
{
a = [{type= "subnet"; rule = "is"; value = "simple";}];
b = [{type= "subnet"; rule = "is"; value = "simple";}];
subnets = [ "simple" ];
}
];
}

@ -12,6 +12,7 @@
virtualisation.vlans = [ 1 ];
imports = [ self.nixosModules.default ];
systemd.network.enable = true;
networking.useDHCP = false;
wirenix = {
configurer = "networkd";
devNameMethod = "hash";
@ -33,6 +34,7 @@
virtualisation.vlans = [ 1 ];
imports = [ self.nixosModules.default ];
systemd.network.enable = true;
networking.useDHCP = false;
wirenix = {
configurer = "networkd";
devNameMethod = "hash";

@ -39,6 +39,7 @@
virtualisation.vlans = [ 1 ];
imports = [ self.nixosModules.default ];
systemd.network.enable = true;
networking.useDHCP = false;
wirenix = {
enable = true;
configurer = "networkd";
@ -60,6 +61,7 @@
virtualisation.vlans = [ 1 ];
imports = [ self.nixosModules.default ];
systemd.network.enable = true;
networking.useDHCP = false;
wirenix = {
enable = true;
configurer = "networkd";

Loading…
Cancel
Save