panorama_detect_ipsec_loopback
Detects the WAN loopback interface/address for an IPsec IKE gateway from existing IKE gateways and loopbacks. Preview before planning IPsec when local interface/address is omitted; read-only.
Instructions
[READ-ONLY] Auto-detects the WAN loopback interface/address an IPsec IKE gateway should reference, by inspecting existing IKE gateways and loopback units. Use before panorama_plan_ipsec when localInterface/localAddress are omitted, to preview which loopback will be chosen. Candidate configuration only; no commit or push is performed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vsys | No | Virtual system name | vsys1 |
| serial | No | Managed firewall serial number. OPTIONAL — auto-resolved from the template's device assignment when omitted. Only supply it when the template is bound to more than one device. | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. | |
| template | Yes | Panorama template name (one per firewall) | |
| deployment | Yes | Short unique label for this deployment (e.g. 'istanbul-branch-01'). Every created object is prefixed with it, and it must not collide with any existing name — it is the ownership boundary that keeps prod safe. | |
| virtualRouter | No | Virtual router name (Legacy Virtual Router). OPTIONAL — auto-detected from the template's single virtual-router when omitted. Falls back to 'default'/'vr_root' if detection is inconclusive. |