Panorama REST XML API Verify command, add rule and add object

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Panorama REST XML API Verify command, add rule and add object

L0 Member
1. We have tried to use the "verify" REST API call and according to the documentation it suppose to verify the candidate configuration on the Panorama.
Every time we have tried to use this call, it performed a commit on the Panorama (enqueued a commit job), but we expected it will enqueque a validate job.
 
The relevant REST API is:
 
https://hostname /api/?type=commit&cmd=<commit><validate></validate></commit>
 
Is there another flag we need to use? do we use the REST API call in a wrong way? Is this a Panorama bug?
 
2. Using the REST API we have discovered some bugs that we would like to report:
2.1. When adding via REST API a rule that already exists with the same name, the new rule's data is being appended to the existing rule (the source, destination etc. of the new rule is added to the existing one in the existing rule). We believe that the expected behavior should be to return an error that this rule already exists. 
2.2. It's possible to create 2 different address objects or service objects with the same name but with different types (netmask, range etc...) via the REST API. 
Again, we believe that the expected behavior is to return an error that an object with this name already exists.
0 REPLIES 0
  • 1726 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!