create_l3_subinterface_for_site_subnet
Description
Wrapper that imports create_l3_subinterface.yml and provides site/type mappings to compute zone, vr, comment, parent interface (ae1) and DHCP relay. The wrapper computes the firewall IP as the first usable address in the supplied subnet.
Credentials
- panos_host credentials required
Input
| Variable | Description |
|---|---|
panos_host, panos_username, panos_password |
Target firewall credentials |
subnet |
Network CIDR for the site subnet (gateway IP is computed as first address) |
vlan |
VLAN tag for the subinterface |
type |
Subnet type key used to map to a security zone (see type_to_zone) |
site |
Site identifier used in the generated comment metadata |
Output
- New Layer‑3 subinterface on parent
ae1with configured VLAN, computed IP,vr, andzone(created by the importedcreate_l3_subinterface.yml).