This is a tool written in python to help you with those annoying massive lists of FQDNs or IP addresses.
usage: PanoramaTools.py [-h] {fqdn,addrgrp} ...
Tool to make putting in those stupid, long lists of FQDNs into Panorama way easier because Palo Alto still refuses to let you import a text file from the GUI...
positional arguments:
{fqdn,addrgrp}
fqdn Generate FQDN address objects
addrgrp Add objects to an address group
options:
-h, --help show this help message and exit`
Add a list of FQDNs to a device group in Panorama:
usage: PanoramaTools.py fqdn [-h] [-o OUTPUT] [-v] file device_group
positional arguments:
file Input text file name, e.g: fqdn_list.txt
device_group The device group to add objects to
options:
-h, --help show this help message and exit
-o, --output OUTPUT Writes objects to a text file
-v, --verbose Print each command as it's generated
Add a list of objects into an address group:
usage: PanoramaTools.py addrgrp [-h] [-o OUTPUT] [-v] file device_group address_group
positional arguments:
file Input text file name, e.g: fqdn_list.txt
device_group The device group to add objects to
address_group Address group name to add objects to
options:
-h, --help show this help message and exit
-o, --output OUTPUT Writes objects to a text file
-v, --verbose Print each command as it's generated