- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-04-2024 01:40 AM
Hi
We are encountering issues with the "commit-all" API. The changes and configurations are in "commit list" then we tried to hit API commit-all, There is nothing happen in "commit list". The logs indicate a successful operation but in the error tags.
We expect "commit-all" API can push all configurations in commit list to firewall because in Ver. 9.2 it was capable of pushing configurations to firewall. Is there an error in the configuration of the API we are using? Or could you provide us with recommendations for a suitable "commit-all" API configuration? Or we might have misunderstanding regarding the "commit-all" API?
We have already tried using the commit-all API documentation, but we are still facing difficulties. below the API configuration details:
API:
curl -k -X GET 'https://xxxxxxx/api/?type=commit&action=all&cmd=<commit-all><shared-policy><device-group><entry name="xxxxxxxxx"><devices> <entry name="xxxxxxxxx"><vsys><member>vsys15</member></vsys></entry> <entry name="xxxxxxxxx"><vsys><member>vsys15</member></vsys></entry> </devices></entry></device-group><include-template>no</include-template></shared-policy></commit-all>&key=LUFRPT1JajZjeFc3a1Q2RnJØNØJRZzdØKzVEV2EzcnM9ZkViUORrYUNyUFBIdzNCdj1ETXdCaXFLNFJwdkI151pyUVAzakF2cQ=="
CMD:
<commit-all>
<shared-policy>
<device-group>
<entry name="xxxxxxxxx">
<devices>
<entry name="xxxxxxx">
<vsys>
<member>vsys15</member>
</vsys>
</entry>
<entry name="xxxxxxxx">
<vsys>
<member>vsys15</member>
</vsys>
</entry>
</devices>
</entry>
</device-group>
<include-template>
no
</include-template>
</shared-policy>
</commit-all>
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!