Forum Discussion
Is there any way to get the poolMemberName/nodeName from the m_interfaces.getLocalLBPool() or m_interfaces.getLocalLBPoolMember() object
Hi All,
I wanted to get the pool member name(eventually a node name) from the m_interfaces.getLocalLBPool() or m_interfaces.getLocalLBPoolMember() objects. As i could able to get the other details () of the pool member using m_interfaces.getLocalLBPool(Address, ratio, port, priority and connection limit) object. But i couldn't able to get the nodename/poolmemberName. Is there any option to get the pool member name?
Note: I am using Java iControl APIs
You help is really appreciated.
Thanks in Advance.
Regards, Prakash.K
1 Reply
I believe the display name is an attribute of the NodeAddress (IP) and not the pool member (IP:Port). You can use the LocalLB.NodeAddress.get_screen_name() method to return the display name for a given node IP. You would then use the Pool APIs to query the members of a pool, and then use those member IPs to query the screen names. In v11.2, we did introduce meta-data in the pool member object so there could be some data in there you could look at as well. I've been away from the GUI for a while so I'm not exactly sure if that will get you what you want though...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com