Forum Discussion

aaron906's avatar
aaron906
Icon for Nimbostratus rankNimbostratus
Nov 19, 2024

Retrieve GTM pool member addresses (Bigrest)

A wide-IP has a pool of servers that are virtual-servers on an LTM. I would like to retrieve the pool member addresses of the virtual servers used in the wide-IP pool using the Bigrest Python library.

 

wide-ip = site.com

Pool Name = site_pool

Pool Member A = site_a_vs (server = ltm_a)

Pool Member B = site_b_vs (server = ltm_b)

 

I can load the wide-IP which provides a poolReference.

I can then load the pool, which provides a membersReference.

The membersReference provides a serverReference (the LTM) and the vs name. From here, I can load all virtual servers on the server provided by the serverRefence, but unsure how to retrieve only the virtual servers that are relevant to the wide-IP. There is no virtualserver ID provided by the membersReference or ServerReference.

No RepliesBe the first to reply