Commit Graph
19 Commits
Author SHA1 Message Date
Jose MartinezandClaude Sonnet 4.6 493ef14933 fix: add virtual_ip2 10.212.160.40 for WAN2 warm spare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 05:27:52 +01:00
Jose MartinezandClaude Sonnet 4.6 25cf428235 fix: remove virtual_ip2 — WAN2 se desconecta, todo el tráfico por WAN1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:33:03 +01:00
Jose MartinezandClaude Sonnet 4.6 4e319962a8 fix: add virtual_ip2 for WAN2 in warm spare (WAN2 DHCP activo)
La API de Meraki exige virtual_ip2 cuando WAN2 está activo.
Se usa la IP DHCP actual del primary (10.212.169.132) como VIP WAN2.
Pendiente: hacer reserva DHCP para estabilizar esa IP.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:20:42 +01:00
Jose MartinezandClaude Sonnet 4.6 c171ebee5f fix: remove unsupported interfaces_wan1_enabled from device_management_interface
El campo no está expuesto en el provider CiscoDevNet/meraki v1.9.0.
Solo se usan los campos de IP estática soportados por el recurso.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 21:02:55 +01:00
Jose MartinezandClaude Sonnet 4.6 4a2eeb6c17 feat: add Warm Spare (HA) with VIP for MX appliances
Configura meraki_appliance_warm_spare con VIP flotante en WAN1:
  - Spare: BCN01-F04-MX02 (serial resuelto por nombre)
  - Uplink mode: virtual
  - VIP WAN1: 213.229.159.148

La IP de salida del tráfico será siempre la VIP (.148),
independientemente de qué MX esté activo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 20:59:20 +01:00
Jose MartinezandClaude Sonnet 4.6 5d0f043503 refactor: resolve MX serial by device name instead of hardcoded serial
Igual que con los switches, el serial del MX se resuelve dinámicamente
usando data.meraki_network_devices (device_serials local). El tfvars
ahora usa el campo 'name' en lugar de 'serial'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 20:52:29 +01:00
Jose MartinezandClaude Sonnet 4.6 7fdb3e956e feat: configure static WAN1 IP for primary and spare MX
Añade recurso meraki_device_management_interface para configurar
IP estática en el puerto WAN1 de ambos firewalls MX:
  - Primary: 213.229.159.145/28 (255.255.255.240), GW 213.229.159.147
  - Spare:   213.229.159.146/28 (255.255.255.240), GW 213.229.159.147

Los seriales del MX deben reemplazarse en wan.auto.tfvars.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 20:50:14 +01:00
Jose MartinezandClaude Sonnet 4.6 89a8506f8b fix: add encryption_mode for PSK SSIDs (EQT-GUEST)
La API de Meraki requiere encryption_mode="wpa" cuando auth_mode="psk",
además de wpa_encryption_mode. Sin este campo la API devuelve el error
"Pre-shared key mode requires a valid encryption mode (wep, wpa)".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 11:38:39 +01:00
Jose Martinez 33f9452bed feat(BCN01-LAB): añadir SSID EQT-GUEST con WPA2 PSK 2026-03-26 11:17:11 +01:00
Jose Martinez 7378e9977c 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
2026-03-25 23:07:09 +01:00
Jose Martinez f55a54064d fix: usar meraki_network_devices y nombres correctos de recursos
- data meraki_devices → data meraki_network_devices
- meraki_networks_switch_settings → meraki_switch_settings
- meraki_networks_switch_stacks_routing_interfaces → meraki_switch_stack_routing_interface
- switch_named_port_configs vuelve a usar switch_name (lookup dinámico)
2026-03-25 18:33:50 +01:00
Jose Martinez c86569436b feat(BCN01-LAB): sync manual Dashboard changes to Terraform
- Management VLAN switches → 109
- Puerto 47 stack: trunk, native VLAN 109
- SVI stack bcn01-lab-stack01: VLAN 109, 10.2.55.2/24, GW 10.2.55.1
- MX puerto 7: trunk, native VLAN 109
- Firewall: allow MANAGEMENT → internet (primera regla)
- Puerto 1 eqt-lab-st01-sw01: VLAN 110 (SERVERS)
2026-03-25 18:24:47 +01:00
Jose MartinezandClaude Sonnet 4.6 c6343d977e feat: add switch stack port config with dynamic serial resolution
- Add data source meraki_switch_stacks to resolve member serials by stack name
- Add switch_stack_port_configs variable: specify stack_name + port_range
  instead of individual switch serials
- Terraform applies port_range to ALL members of the stack automatically
- Merge switch_port_configs and switch_stack_port_configs into all_ports local
- Add example for bcn01-lab-stack01 (2x48p) in switch.auto.tfvars

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 08:42:48 +01:00
Jose MartinezandClaude Sonnet 4.6 775dbce9a8 feat: support port ranges in switch_port_configs (e.g. port_range = "1-24")
Replace port_id with port_range in variable; add local to expand ranges
into individual port entries before creating meraki_switch_port resources.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 11:37:11 +01:00
Jose MartinezandClaude Sonnet 4.6 cecf38efd7 fix: add required radius_testing_enabled and radius_coa_support_enabled to switch_access_policy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 11:10:42 +01:00
Jose MartinezandClaude Sonnet 4.6 9b86ba97af feat: add 802.1X switch access policy support
- Add meraki_switch_access_policy resource to module (multi-auth, critical VLAN)
- Add meraki_switch_port resource for per-port policy assignment
- Add switch_access_policies and switch_port_configs variables to module and site
- Create switch.auto.tfvars for BCN01-LAB with 802.1X-CORPO policy
  (RADIUS: 15.15.15.15:1912, critical VLAN: 100, host_mode: Multi-Auth)
- switch_port_configs starts empty; add serial + port_id to assign policy to ports

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 11:01:55 +01:00
Jose Martinez c1595cd9d5 feat: add EQT-CORPO SSID with OWE and Okta RADIUS 2026-03-16 17:13:40 +01:00
Jose Martinez addf16640b First commit 2026-03-13 15:15:59 +01:00
Jose Martinez 266d20f194 Initial commit: meraki network configuration 2026-03-13 14:01:53 +01:00