forked from DGNum/infrastructure
feat(mgmt): Add APs vlan access
This commit is contained in:
parent
026653218f
commit
beba4fb0f6
1 changed files with 15 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
let
|
||||
vlanName = "vlan-uplink-cri";
|
||||
vlanAdmin = "vlan-admin";
|
||||
vlanAP = "vlan-admin-ap";
|
||||
|
||||
linkIp = "10.120.33.250";
|
||||
linkPrefix = "30";
|
||||
|
@ -20,6 +21,7 @@ in
|
|||
VLAN = [
|
||||
vlanName
|
||||
vlanAdmin
|
||||
vlanAP
|
||||
];
|
||||
|
||||
LinkLocalAddressing = false;
|
||||
|
@ -45,6 +47,10 @@ in
|
|||
name = vlanAdmin;
|
||||
address = [ "fd26:baf9:d250:8000::1/64" ];
|
||||
};
|
||||
"10-${vlanAP}" = {
|
||||
name = vlanAP;
|
||||
address = [ "fd26:baf9:d250:8010::1/60" ];
|
||||
};
|
||||
};
|
||||
netdevs = {
|
||||
"10-${vlanName}" = {
|
||||
|
@ -65,6 +71,15 @@ in
|
|||
Id = 3000;
|
||||
};
|
||||
};
|
||||
"10-${vlanAP}" = {
|
||||
netdevConfig = {
|
||||
Name = vlanAP;
|
||||
Kind = "vlan";
|
||||
};
|
||||
vlanConfig = {
|
||||
Id = 3001;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue