Forum Discussion
Oct 10, 2007
Try passing in the member structure with a size of one with the first element null.
String [] pool_names = { "TestPool1" };
iControl.LocalLBLBMethod [] lb_methods = new iControl.LocalLBLBMethod[1];
lb_methods[0] = iControl.LocalLBLBMethod.LB_METHOD_ROUND_ROBIN;
iControl.CommonIPPortDefinition [][] members = new iControl.CommonIPPortDefinition[1][0];
m_pool.create(pool_names, lb_methods, members);
I've tested this in C and it works fine. I don't have a setup right now to test the java version.
-Joe