panorama_plan_ipsec
Plan ordered IPsec tunnel, crypto, interface, and gateway candidate changes on Panorama before BGP, ensuring tunnel infrastructure exists first. No commit or push performed.
Instructions
[READ-ONLY] Plans ordered IPsec candidate mutations (IKE/IPsec crypto, tunnel interfaces, zones, vr_root membership, IKE gateways, IPsec tunnels). Returns backward-compatible flat Plan fields plus common planId, planHash, requiredSecretSlots, and summary metadata. Run this BEFORE panorama_plan_bgp — BGP peers bind to tunnel interfaces so the tunnels must exist first. Candidate configuration only; no commit or push is performed. Runtime verification requires a prior manual commit and push to the managed firewall.
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. | |
| tunnels | Yes | 1 or 2 IPsec tunnels (single or dual deployment) | |
| 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. | |
| ikeCryptoProfiles | Yes | ||
| ipsecCryptoProfiles | Yes |