feat(mgmt): Add APs vlan access
All checks were successful
build configuration / build_rescue01 (pull_request) Successful in 1m5s
build configuration / build_web02 (pull_request) Successful in 1m6s
build configuration / build_compute01 (pull_request) Successful in 1m10s
build configuration / build_vault01 (pull_request) Successful in 1m10s
build configuration / build_storage01 (pull_request) Successful in 1m11s
build configuration / build_web01 (pull_request) Successful in 1m34s
build configuration / build_vault01 (push) Successful in 1m0s
build configuration / build_storage01 (push) Successful in 1m4s
build configuration / build_compute01 (push) Successful in 1m12s
build configuration / build_web02 (push) Successful in 1m14s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m29s
build configuration / build_rescue01 (push) Successful in 47s

This commit is contained in:
catvayor 2024-04-06 19:21:03 +02:00 committed by katvayor
parent 026653218f
commit beba4fb0f6

View file

@ -1,6 +1,7 @@
let let
vlanName = "vlan-uplink-cri"; vlanName = "vlan-uplink-cri";
vlanAdmin = "vlan-admin"; vlanAdmin = "vlan-admin";
vlanAP = "vlan-admin-ap";
linkIp = "10.120.33.250"; linkIp = "10.120.33.250";
linkPrefix = "30"; linkPrefix = "30";
@ -20,6 +21,7 @@ in
VLAN = [ VLAN = [
vlanName vlanName
vlanAdmin vlanAdmin
vlanAP
]; ];
LinkLocalAddressing = false; LinkLocalAddressing = false;
@ -45,6 +47,10 @@ in
name = vlanAdmin; name = vlanAdmin;
address = [ "fd26:baf9:d250:8000::1/64" ]; address = [ "fd26:baf9:d250:8000::1/64" ];
}; };
"10-${vlanAP}" = {
name = vlanAP;
address = [ "fd26:baf9:d250:8010::1/60" ];
};
}; };
netdevs = { netdevs = {
"10-${vlanName}" = { "10-${vlanName}" = {
@ -65,6 +71,15 @@ in
Id = 3000; Id = 3000;
}; };
}; };
"10-${vlanAP}" = {
netdevConfig = {
Name = vlanAP;
Kind = "vlan";
};
vlanConfig = {
Id = 3001;
};
};
}; };
}; };
} }