Skip to content

Commit cccc438

Browse files
committed
svc-hv01: clean ifstate config
1 parent f5bad5d commit cccc438

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

hosts/svc-hv01/network.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ in
2424
# add some implicit link settings
2525
link = {
2626
state = "down";
27-
ifalias = "";
27+
# TODO: never gets the interfaces into a clean state
28+
#ifalias = "";
2829
};
2930
}];
3031

3132
# ignore vm tap interfaces
32-
ignore.ifname = [ "^vm-.+$" "^vnet\\d+$" "^macvtap\\d+$" ];
33+
ignore.ifname = [ "^vm-.+$" ];
3334
interfaces = [
3435
{ name = "enp0s29u1u1u5"; link = { kind = "physical"; businfo = "usb-0000:00:1d.0-1.1.5"; }; }
3536
{
@@ -46,13 +47,14 @@ in
4647
bond_updelay = 300;
4748
};
4849
}
49-
#{ name = "eno2"; link = { state = "up"; kind = "physical"; businfo = "0000:06:00.0"; master = "ixp-peering"; }; }
50-
{ name = "eno3"; link = { state = "up"; kind = "physical"; businfo = "0000:06:00.1"; }; }
50+
# used in ixp-as11201
51+
{ name = "eno2"; link = { kind = "physical"; businfo = "0000:06:00.0"; }; }
52+
# used in prj-llb01
53+
{ name = "eno3"; link = { kind = "physical"; businfo = "0000:06:00.1"; }; }
5154
{ name = "eno4"; link = { kind = "physical"; businfo = "0000:06:00.2"; }; }
5255
{ name = "eno5"; link = { kind = "physical"; businfo = "0000:06:00.3"; }; }
5356
(mkBondedInterface "enp144s0" "00:02:c9:23:4c:20" "bond")
5457
(mkBondedInterface "enp144s0d1" "00:02:c9:23:4c:21" "bond")
55-
#{ name = "ixp-peering"; link = { state = "up"; kind = "bridge"; }; }
5658
] ++
5759
(lib.flatten (lib.mapAttrsToList
5860
(name: value: [

0 commit comments

Comments
 (0)