Forum Discussion

Sam_Wightkin_89's avatar
Sam_Wightkin_89
Icon for Nimbostratus rankNimbostratus
Sep 27, 2018

PythonSDK - Node pool membership

Good morning, everyone!

 

When looking at a node within the GUI, you can see a section for identifying what pools the node is a member of. I cannot find an easy way within the SDK to obtain that information other than getting collections of both pools and nodes and then iterating through all pools & their members. Anyone have a simpler method?

 

Thanks!

 

2 Replies

  • One way is to use tmsh list command to get pool membership. For example if I want to see the pool membership details for the node "xlzxpwb0012x" I would run the following command and grep out.

    tmsh list /ltm pool members { xlzxpwb0012x:* }
  • HI @sam wighkins , where you able to find a covinient way for your question? If yes, please do share the reference link.