Forum Discussion

pirusti's avatar
pirusti
Icon for Nimbostratus rankNimbostratus
May 08, 2024

iControl for Gtm wideip

i am using iControl Rest 2.4 downloaded from https://pypi.org/project/iCR/

while using  wideips = bigip.getlarge("gtm/wideip/a", xxx) , where xxx is the size of chunk, i would like to understand the limit of chunk size.

if i use wideips = bigip.get("gtm/wideip/a") , it works if i have 200-300 hundred wideips, but in case you have +10k wideips it gives you Error 500, AsyncContext timeout.

 

what is the best way to download via api the /mgmt/tm/gtm/wideip/a ? 

1 Reply

  • I've ran into same problem. well I found workaround that api request with these parameters.

     

    /mgmt/tm/gtm/wideip/a?$top=500&$skip=0

    $skip is specifies the number of rows to skip in the result set. The result set is chosen from the remaining rows.

    $top is specifies the first N rows of the result set.

     

    And you can got a respond with a properties. Well know this properties "totalItems" how many items in wideip list.

     I hope it your help