Is there a way to register IP address to dynamic address group thru API ? So far I use pandevice script dyn_address_group.py
I am trying to tag existing IP 10.34.20.94 on firewall 10.43.34.34 (PANOS 7.1.7) with tag General , getting error below:
$ python dyn_address_group.py 10.43.34.34 admin 'password' 10.34.20.94 General usage: dyn_address_group.py [-h] [-v] [-q] [-r REGISTER] [-u UNREGISTER] [-l] [-c] hostname username password ip dyn_address_group.py: error: unrecognized arguments: General
I am using pandevice (0.3.5)
Solved! Go to Solution.
Answered in the corresponding GitHub issue: https://github.com/PaloAltoNetworks/pandevice/issues/47
The answer was a combination of missing the `-r` in the command above, and an issue in the script which is now fixed.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!