- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-09-2024 07:29 AM
Using restapi to create IPSec tunnels for a new firewall attached to Panorama.
I create the tunnel interface using restapi. I can see the new interface successfully created in Panorama.
When I try to assign that interface to a Security Zone it fails with:
10-16-2024 10:54 AM
Hi @I.Miller ,
When you open and close an object by clicking "OK" in the GUI, FW/Panorama seems to perform an internal validation or synchronization process that registers the object in the system. I've encountered similar behavior when using scripting mode and pasting a large series of set commands. I once had to "OK" a whole new config of over 500 objects so I understand the frustration.
If you want to handle this primarily via the API, I suggest trying a commit after creating the object, before attempting to attach it to another configuration (like a zone). This might help ensure that the object is fully registered and available for further assignments.
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!