<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NSX 4.x- DFW - security policies sorting (via REST API) in VMware NSX Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-NSX-Discussions/NSX-4-x-DFW-security-policies-sorting-via-REST-API/m-p/2992471#M17013</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Does anybody know how security policies sorting works (via REST API)?&lt;/P&gt;&lt;P&gt;Through UI we can easily change the order of the policies, however through API we have the sequence number mechanism to handle that.&lt;/P&gt;&lt;P&gt;After some tests using REST API, I'm facing an odd behavior:&lt;/P&gt;&lt;P&gt;1. We have created a policy several times, using the same sequence number&lt;/P&gt;&lt;P&gt;2. On both UI and REST API, the policy appears in a different order from run to run&lt;/P&gt;&lt;P&gt;Expected behavior:&lt;/P&gt;&lt;P&gt;From run to run, we are expecting to have the policy on the same position (assuming that no other polices were added/updated/removed)&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 16:02:22 GMT</pubDate>
    <dc:creator>Petersaints</dc:creator>
    <dc:date>2023-10-24T16:02:22Z</dc:date>
    <item>
      <title>NSX 4.x- DFW - security policies sorting (via REST API)</title>
      <link>https://communities.vmware.com/t5/VMware-NSX-Discussions/NSX-4-x-DFW-security-policies-sorting-via-REST-API/m-p/2992471#M17013</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Does anybody know how security policies sorting works (via REST API)?&lt;/P&gt;&lt;P&gt;Through UI we can easily change the order of the policies, however through API we have the sequence number mechanism to handle that.&lt;/P&gt;&lt;P&gt;After some tests using REST API, I'm facing an odd behavior:&lt;/P&gt;&lt;P&gt;1. We have created a policy several times, using the same sequence number&lt;/P&gt;&lt;P&gt;2. On both UI and REST API, the policy appears in a different order from run to run&lt;/P&gt;&lt;P&gt;Expected behavior:&lt;/P&gt;&lt;P&gt;From run to run, we are expecting to have the policy on the same position (assuming that no other polices were added/updated/removed)&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:02:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-NSX-Discussions/NSX-4-x-DFW-security-policies-sorting-via-REST-API/m-p/2992471#M17013</guid>
      <dc:creator>Petersaints</dc:creator>
      <dc:date>2023-10-24T16:02:22Z</dc:date>
    </item>
  </channel>
</rss>

