

"vsys1", "vsys2", etc.) is_virtual (bool): Physical or Virtual firewall timeout: The timeout for asynchronous jobs interval: The interval to check asynchronous jobs """ XPATH = "/devices" ROOT = Root. Args: hostname: Hostname or IP of device for API connections api_username: Username of administrator to access API api_password: Password of administrator to access API api_key: The API Key for connecting to the device's API serial: The serial number of this firewall port: Port of device for API connections vsys: The vsys of this firewall (eg. class Firewall ( PanDevice ): """A Palo Alto Networks Firewall This object can represent a firewall physical chassis, virtual firewall, or individual vsys. """Palo Alto Networks Firewall object""" import itertools import logging import re import as ET from decimal import Decimal import panos.errors as err from panos import device, getlogger, yesno from panos.base import ENTRY, PanDevice, Root from panos.base import VarPath as Var logger = getlogger ( _name_ ) IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. For configuring a Palo Alto Networks Firewall with firmware lower than 8.0, refer here.#!/usr/bin/env python # Copyright (c) 2014, Palo Alto Networks # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. While this device may be fully functional on the tested and/or current firmware version, it is possible newer revisions will cause disruptions in service or make a device fully compliant with the required settings for hosted VoIP services where it was previously not.įor Palo Alto Firewalls on firmware 8.0 and above. Keep in mind different firmware versions will interact with hosted VoIP services in different ways.

At the time of article creation, this device was in a known working state on the firmware used. The purpose of this article is to provide a sample configuration.

Create an Address Group for 8x8 Public IP Subnets.Configuring 8x8 Voice Services on Palo Alto Networks Firewalls.
