feat(oob): now access to all vlan

This commit is contained in:
catvayor 2024-05-18 10:11:36 +02:00
parent 986d814c65
commit cc9c057529

View file

@ -1,6 +1,7 @@
let let
vlansPlan = { vlansPlan = {
"uplink-cri".id = 223; "uplink-cri".id = 223;
"uplink-interne".id = 403;
"admin-core" = { "admin-core" = {
id = 3000; id = 3000;
@ -37,7 +38,7 @@ let
}; };
in in
{ {
netcore01 = { netcore02 = {
deployment.targetHost = "jourdan01.dgn"; deployment.targetHost = "jourdan01.dgn";
vlans = vlansPlan; vlans = vlansPlan;
protocols.rstp = [ protocols.rstp = [
@ -67,8 +68,8 @@ in
enable = true; enable = true;
unit."0".family.ethernet-switching = { unit."0".family.ethernet-switching = {
enable = true; enable = true;
interface-mode = "access"; interface-mode = "trunk";
vlans = [ "admin-core" ]; vlans = [ "all" ];
}; };
}; };
"ge-0/0/43" = AP-staging; "ge-0/0/43" = AP-staging;
@ -107,7 +108,7 @@ in
unit."0".family.ethernet-switching = { unit."0".family.ethernet-switching = {
enable = true; enable = true;
interface-mode = "trunk"; interface-mode = "trunk";
vlans = [ "uplink-cri" ]; vlans = [ "uplink-cri" "uplink-interne" ];
}; };
}; };