feat(vault01): Add admin vlan
All checks were successful
build configuration / build_storage01 (pull_request) Successful in 55s
build configuration / build_compute01 (pull_request) Successful in 1m1s
build configuration / build_vault01 (pull_request) Successful in 49s
build configuration / build_web02 (pull_request) Successful in 50s
build configuration / build_web01 (pull_request) Successful in 1m17s
build configuration / build_rescue01 (pull_request) Successful in 46s
build configuration / build_rescue01 (push) Successful in 1m1s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_web02 (push) Successful in 1m15s
build configuration / build_storage01 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m11s
lint / check (push) Successful in 21s
build configuration / build_web01 (push) Successful in 1m29s

This commit is contained in:
catvayor 2024-04-05 14:33:56 +02:00 committed by thubrecht
parent a64f5dac9e
commit 2e3bb99b84

View file

@ -1,5 +1,6 @@
let let
vlanName = "vlan-uplink-cri"; vlanName = "vlan-uplink-cri";
vlanAdmin = "vlan-admin";
linkIp = "10.120.33.250"; linkIp = "10.120.33.250";
linkPrefix = "30"; linkPrefix = "30";
@ -16,7 +17,10 @@ in
"10-enp67s0f0np0" = { "10-enp67s0f0np0" = {
name = "enp67s0f0np0"; name = "enp67s0f0np0";
networkConfig = { networkConfig = {
VLAN = [ vlanName ]; VLAN = [
vlanName
vlanAdmin
];
LinkLocalAddressing = false; LinkLocalAddressing = false;
LLDP = false; LLDP = false;
@ -37,9 +41,13 @@ in
} }
]; ];
}; };
"10-${vlanAdmin}" = {
name = vlanAdmin;
address = [ "10.0.0.1/16" ];
};
}; };
netdevs = { netdevs = {
"10-vlan-uplink-cri" = { "10-${vlanName}" = {
netdevConfig = { netdevConfig = {
Name = vlanName; Name = vlanName;
Kind = "vlan"; Kind = "vlan";
@ -48,6 +56,15 @@ in
Id = 223; Id = 223;
}; };
}; };
"10-${vlanAdmin}" = {
netdevConfig = {
Name = vlanAdmin;
Kind = "vlan";
};
vlanConfig = {
Id = 3000;
};
};
}; };
}; };
} }