- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-25-2017 11:57 PM - edited 05-26-2017 01:26 AM
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)
05-30-2017 03:30 PM
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.
05-30-2017 03:30 PM
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!