locals { switch_vlans = { "100" = { name = "ACCESS" subnet = "10.2.32.0/21" appliance_ip = "10.2.32.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.32.1", end = "10.2.32.49" } ] } "101" = { name = "GUEST" subnet = "10.2.40.0/21" appliance_ip = "10.2.40.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.40.1", end = "10.2.40.49" } ] } "102" = { name = "VC" subnet = "10.2.48.0/24" appliance_ip = "10.2.48.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.48.1", end = "10.2.48.49" } ] } "103" = { name = "PRINTERS" subnet = "10.2.49.0/24" appliance_ip = "10.2.49.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.49.1", end = "10.2.49.49" } ] } "104" = { name = "DISPLAYS" subnet = "10.2.50.0/24" appliance_ip = "10.2.50.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.50.1", end = "10.2.50.49" } ] } "105" = { name = "BOOKING" subnet = "10.2.51.0/24" appliance_ip = "10.2.51.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.51.1", end = "10.2.51.49" } ] } "106" = { name = "BADGE_READERS" subnet = "10.2.52.0/24" appliance_ip = "10.2.52.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.52.1", end = "10.2.52.49" } ] } "107" = { name = "CCTV" subnet = "10.2.53.0/24" appliance_ip = "10.2.53.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.53.1", end = "10.2.53.49" } ] } "108" = { name = "APs" subnet = "10.2.54.0/24" appliance_ip = "10.2.54.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.54.1", end = "10.2.54.49" } ] } "109" = { name = "MANAGEMENT" subnet = "10.2.55.0/24" appliance_ip = "10.2.55.1" reserved_ip_ranges = [ { comment = "Static reserved", id = "static", start = "10.2.55.1", end = "10.2.55.49" } ] } "110" = { name = "SERVERS" subnet = "10.2.56.0/24" appliance_ip = "10.2.56.1" dhcp_handling = "Do not respond to DHCP requests" } "111" = { name = "WAN" dhcp_handling = "Do not respond to DHCP requests" # No subnet or appliance_ip — L2-only switching VLAN toward the ISP } } }