Skip to content

create_l3_subinterface_for_site_subnet

Go to Automation

View in GitLab

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 ae1 with configured VLAN, computed IP, vr, and zone (created by the imported create_l3_subinterface.yml).

Dependencies