Forum Discussion
SMetcalfe_87199
Sep 07, 2010Nimbostratus
Thank you for the response Joe.
I was able to get the following to return the node address and port:
String[] pool_list = {"beaterbox-pool"};
iControl.CommonIPPortDefinition node[][] = pool.get_member(pool_list);
System.out.println("Addr : " + node[0][0].getAddress());
System.out.println("Port : " + node[0][0].getPort());
However, I can't seem to manipulate the method you indicated.
I've tried something like this:
iControl.LocalLBPoolMemberBindingStub member = interfaces.getLocalLBPoolMember();
But I can't seem to pass the CommonIPPortDefinition object to the interfaces to set any of the status properties.
Any demonstration code would be greatly appreciated, it seems like most of the code here is for other languages and has different syntax, objects and properties.
Regards,
Shaun.