Looking into automating security rule input into a pandevice but need to allow end users to change the order of which the security rules are currently laid out. Looking into this it does not appear that there is any built in function to say I want to add the new rule in as #3 and cascade each rule below it down. Has anyone successfully changed the order of which sucurity rules are ordered through the api?
In the API documentation there is a move function but was hoping more of a ordered list like 1,2,3. As I was trying to build this in an ansible-playbook that will be updated to make any changes to the firewall rules.
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!