Skip to content

This is a tool written in python to help you with those annoying massive lists of FQDNs or IP addresses.

License

Notifications You must be signed in to change notification settings

hardkees/panorama-cli-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

panorama-cli-generator

This is a tool written in python to help you with those annoying massive lists of FQDNs or IP addresses.

How to use

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

About

This is a tool written in python to help you with those annoying massive lists of FQDNs or IP addresses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages