f5TechieAA_7448
Nov 20, 2008Nimbostratus
Which Icontrol java API can be used to specify(set) partition name to get pool info
How and where can I specify my partition name to get partition specific pool name and other attributes instead of getting all common partition information
m_endpoint = "https://user name:password@hostname:port/iControl/iControlPortal.cgi";
m_pool = (iControl.LocalLBPoolBindingStub)
new iControl.LocalLBPoolLocator().getLocalLBPoolPort(new java.net.URL(m_endpoint));
m_poolMember = (iControl.LocalLBPoolMemberBindingStub)
new iControl.LocalLBPoolMemberLocator().getLocalLBPoolMemberPort(new java.net.URL(m_endpoint));
System.out.println("Pool user name "+m_pool.getUsername());