feat(bcn01-lab): onboard BCN01-LAB site and extend module with WAN2 support

- Add sites/BCN01-LAB with full Meraki configuration: VLANs, SSIDs,
  switch ports, 802.1X policy, firewall rules, WAN uplinks and warm spare
- Extend modules/meraki-site to support wan2_* fields in mx_wan_uplinks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jose Martinez
2026-04-29 07:02:06 +02:00
co-authored by Claude Sonnet 4.6
parent 097a3c5b6c
commit 29614e1dc4
12 changed files with 457 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
locals {
# Warm Spare (HA) — floating VIP between primary and spare MX
mx_warm_spare = {
enabled = true
spare_name = "BCN01-F04-MX02"
uplink_mode = "virtual"
virtual_ip1 = "57.133.120.183" # Floating VIP on WAN1
virtual_ip2 = "57.133.120.182" # Floating VIP on WAN2
}
# Static WAN2 configuration for each MX (WAN1 disabled)
# Device serials are resolved automatically from the display name
mx_wan_uplinks = [
{
name = "BCN01-F04-MX01"
wan2_static_ip = "57.133.120.181"
wan2_static_subnet_mask = "255.255.255.240" # /28
wan2_static_gateway_ip = "57.133.120.177"
wan2_static_dns = ["8.8.8.8", "1.1.1.1"]
},
{
name = "BCN01-F04-MX02"
wan2_static_ip = "57.133.120.180"
wan2_static_subnet_mask = "255.255.255.240" # /28
wan2_static_gateway_ip = "57.133.120.177"
wan2_static_dns = ["8.8.8.8", "1.1.1.1"]
},
]
}