switch: properly reflect the saal situation

This commit is contained in:
Astro 2022-01-24 21:39:50 +01:00
parent 7acff4cf8e
commit 9b736fe518
1 changed files with 13 additions and 3 deletions

View File

@ -158,12 +158,22 @@
location = "Turm C Keller, bei Kabelanschluessen";
interfaces = { mgmt.type = "phys"; };
links = {
# Saal A: durch dummen PoE-Switch mit Aggregation an ap44-50,52 + switch-a1
switch-a1 = {
links = let
saal = {
group = "1";
ports = [ "15-16" ];
};
in {
# Saal A: durch dummen PoE-Switch mit Aggregation an ap44-50,52 + switch-a1
switch-a1 = saal;
ap44 = saal;
ap45 = saal;
ap46 = saal;
ap47 = saal;
ap48 = saal;
ap49 = saal;
ap50 = saal;
ap52 = saal;
switch-b1 = {
group = "2";
ports = [ "21-24" ];