Forum Discussion

Ramesh_Murugesa's avatar
Ramesh_Murugesa
Icon for Nimbostratus rankNimbostratus
Aug 11, 2015

iControl API for JAVA to retrieve the pool names

Hi,

 

Is there any icontrol API for Java to retrieve all the poolnames configured under particular iRule?

 

2 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Not that I've known of... You'd have to grab the Rule and interpret it yourself...

     

  • Pools aren't configured under an iRule. The Virtual Server is the top level object that has a default pool as a property as well as a list of applied iRules as resources. If you want to find all pools that an iRule is associated with, you'll have to query all Virtual Servers looking for the iRule in question and for those Virtual Servers, get the default pool.

     

    Let me know if that's not what you were going for...

     

    -Joe