For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

1 Reply

  • Hello, maybe something like this:

    curl -k -u admin:pass -X GET "https://10.10.10.10/mgmt/tm/ltm/virtual/?\$select=destination,pool" | jq '.items[] | select(.destination | contains("20.20.20.20")) | .pool'
    

    or this:

    virtualaddress=`curl -k -u admin:pass -X GET "https://10.10.10.10/mgmt/tm/ltm/virtual-address/?\$select=fullPath,address" |jq '.items[] | select(.address=="20.20.20.20") | .fullPath' | sed -e s/\"//g`
    curl -k -u admin:pass -X GET "https://10.10.10.10/mgmt/tm/ltm/virtual/?\$select=destination,pool" | jq '.items[] | select(.destination | startswith("'$virtualaddress'")) | .pool'
    unset virtualaddress
    

    offhand 🙂

    Regards.