iControl REST Cookbook - LTM policy (ltm policy)
This cookbook lists selected ready-to-use iControl REST curl commands for LTM policy related resources (the tmsh command xxx ltm policy ). Each recipe consists of the curl command and it's tmsh eq...
Updated Jun 06, 2023
Version 2.0Satoshi_Toyosa1
Ret. Employee
Joined May 15, 2019
cjw94022
Aug 02, 2022Nimbostratus
Is there a way to updaate policies associated to a VS and guarantee the order in which they are going to be executed. I have tried the following
curl -sku admin:admin https://<host>/mgmt/tm/ltm/virtual/~part1~VS1 \ -H "Content-type: application/json" -X PATCH \ -d '{"policiesReference":{ "items":[{"name":"policy1","partition":"part1"}, {"name":"policy2","partition":"Common"}] }}'
but when I look in the UI at the resources and policies assigned to the VS, the /Common/policy2 comes before "/part1/policy1" , where I want the/part1/policy1 to be executed first