create_l3_subinterface_for_server_subnet
Description
Wrapper that imports create_l3_subinterface.yml to create a Layer‑3 subinterface for a server subnet. The wrapper sets the parent interface to ae2, VR to Core, and computes the first usable IP in the subnet as the firewall IP/gateway.
Credentials
- panos_host credentials required
Input
| Variable | Description |
|---|---|
panos_host, panos_username, panos_password |
Target firewall credentials |
subnet |
Network CIDR for the server subnet; gateway IP is computed from this value |
vlan |
VLAN tag to create on the subinterface |
zone |
Security zone to assign to the new subinterface |
comment |
Free-form comment used on the interface configuration |
Output
- A new Layer‑3 subinterface on parent interface
ae2with the configured VLAN, IP (first usable in subnet), VRCore, and assigned zone.