---
all:
hosts:
switch1:
ansible_ssh_host: 192.168.1.202
vars:
ansible_port: 22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Simple utility to generate an API key from a username/password | |
| for a Panos device. | |
| This module provides a class to generate and manage API keys for | |
| Palo Alto Networks devices using username and password. | |
| Dependencies: | |
| - requests | |
| - xmltodict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| ''' | |
| Firewall Management Module | |
| This module provides a set of classes and functions to interact with and manage | |
| a Palo Alto Next-Generation Firewall (NGFW). It includes capabilities to | |
| retrieve firewall configurations, manage network interfaces, handle ARP tables, | |
| retrieve SNMP versions, timezones, NTP servers, DNS servers, and configured | |
| administrators. Additionally, it supports disk space management, content updates, |