bmoreira2000
Feb 18, 2021Nimbostratus
"Ordinal" Refers to Policy Rule ID?
In the iControl Rest API, what sets the policy rule ID, is it the ordinal?
I'm trying to sort the list of policies, for each new policy created that is in the last list.
curl -k -X POST \
-u "${USER}:${PASS}" \
"https://bipteste/mgmt/tm/ltm/policy/~Common~Drafts~Teste_Bruno/rules" \
-H 'Accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"name":"svc_teste4", "description":"teste","ordinal":0
}'
I defined that svc_teste4 would be the first one on the list, but he was in the penultimate