Open gruffled opened 6 years ago
So, I've just read this in the API doc...
Output-only Parameters
• executionOrder - Defines the sequence in which actions belonging to an executionOrderCategory are executed.
Note that this is not an input parameter and its value is implied by the index in the list.
This implies to me that changing the execution order alone isn't enough (which is rubbish by the way). It also implies that reordering the rule node in the policy XML might work.
So, reordering the XML does reorder the rules.
I'm trying to shuffle the order of FW rules in a SecurityPolicy object, however the changes are not reflected in the GUI when pushed back using
Set-NsxSecurityPolicy
. The code is..The object of the above is to put
myRule
to the top and shuffle everything else down by one. Examining the$policy
object afterwards theexecutionOrder
is set correctly but ignored it seems. Note though that the XML rule node is still last in the ordering. I would hope that this wouldn't make a difference though.