feat(BCN01-LAB): puerto AP trunk y VLAN 111 WAN sin L3
- Puerto 3 eqt-lab-st01-sw01: trunk, native 108 (APs), tagged 100+101 - VLAN 111 WAN sin subnet ni appliance_ip (switching puro) - subnet/appliance_ip pasan a ser opcionales en el módulo
This commit is contained in:
@@ -144,6 +144,16 @@ switch_named_port_configs = [
|
||||
vlan = 110 # SERVERS
|
||||
access_policy_type = "Open"
|
||||
},
|
||||
{
|
||||
# Puerto 3 de eqt-lab-st01-sw01 → AP (trunk, nativa 108 APs, tageadas 100 ACCESS y 101 GUEST)
|
||||
switch_name = "eqt-lab-st01-sw01"
|
||||
port_range = "3"
|
||||
name = "AP"
|
||||
type = "trunk"
|
||||
vlan = 108 # APs - VLAN nativa (untagged)
|
||||
allowed_vlans = "100,101,108" # ACCESS + GUEST + APs
|
||||
access_policy_type = "Open"
|
||||
},
|
||||
]
|
||||
|
||||
# VLAN de gestión de los switches del site
|
||||
|
||||
@@ -34,6 +34,7 @@ variable "wireless_ssids" {
|
||||
name = string
|
||||
enabled = optional(bool, true)
|
||||
auth_mode = string
|
||||
psk = optional(string, null)
|
||||
splash_page = optional(string, "None")
|
||||
wpa_encryption_mode = optional(string, "WPA3 only")
|
||||
ip_assignment_mode = optional(string, "Bridge mode")
|
||||
@@ -61,8 +62,8 @@ variable "radius_secret" {
|
||||
variable "switch_vlans" {
|
||||
type = map(object({
|
||||
name = string
|
||||
subnet = string
|
||||
appliance_ip = string
|
||||
subnet = optional(string, null)
|
||||
appliance_ip = optional(string, null)
|
||||
dhcp_handling = optional(string, "Run a DHCP server")
|
||||
reserved_ip_ranges = optional(list(object({
|
||||
comment = string
|
||||
|
||||
@@ -89,4 +89,9 @@ switch_vlans = {
|
||||
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"
|
||||
# Sin L3: sin subnet ni appliance_ip (VLAN de switching puro hacia el ISP)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user