Forum Discussion
Apr 22, 2009
Actually, I don't think that code will work either as you are only passing in a 1-d array for the members. The prototype for the methods is:
LocalLB.PoolMember.add_member(
in String [] pool_names,
in Common__IPPortDefinition [] [] members
);
pool_names is a 1-d array of pools you want to add members to. members is a 2-d array of members to add (one for each pool in the pool_names array).
I just whipped up a script that will add a addr:port to a pools member list.
http://devcentral.f5.com/Wiki/default.aspx/iControl/PerlAddPoolMember.html
Click here
Hope this helps...
-Joe