scottjk2
Apr 25, 2018Nimbostratus
Add existing member to pool using icontrol, pycontrol, bigip.
I'm trying to add an existing member to a pool. Using icontrol.LocalLP.Pool.add_member_v2() fails because the member I'm trying to add has the same ip address as an existing node. I either need to be able to add an existing member to a pool, OR I need to be able to update the name field when adding a member.
code used that fails because address is already used:
member.address = address
member.port = port
members_seq.items.append(member)
bigIP.LocalLB.Pool.add_member_v2(pool_names=[pool_name], members=[members_seq])
How can I add an existing node to be a member in a pool? OR how can I update the name field of a member?