Files
eqt-network-meraki/sites/BCN01-LAB/wan.tf
T
Jose MartinezandClaude Sonnet 4.6 29614e1dc4 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>
2026-04-29 07:02:06 +02:00

30 lines
1001 B
Terraform

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"]
},
]
}