VMware Networking Community
Petersaints
Enthusiast
Enthusiast

NSX 4.x- DFW - security policies sorting (via REST API)

Hi guys,

Does anybody know how security policies sorting works (via REST API)?

Through UI we can easily change the order of the policies, however through API we have the sequence number mechanism to handle that.

After some tests using REST API, I'm facing an odd behavior:

1. We have created a policy several times, using the same sequence number

2. On both UI and REST API, the policy appears in a different order from run to run

Expected behavior:

From run to run, we are expecting to have the policy on the same position (assuming that no other polices were added/updated/removed)

We would like to know which is the criteria to order security policies with the same sequence number. Is there any possibility to change that behavior?

Thanks.

Regards.

0 Kudos
0 Replies