dani_martinez_2
May 13, 2018Nimbostratus
Assign an Existing Node to Pool in F5 BIG IP through F5-SDK
Is there any way to assign a node that already exists in the Common partition to a pool that also already exists? For example:
Call pool and node
pool = bigip.tm.ltm.pools.pool.load(name="mypool", partition='Common')
node = bigip.tm.ltm.nodes.node.load(name="mynode", partition='Common')
First Option pool.members_s.members.create(name=node.name, partition="Common")
pool.update()
Second Option pool.members_s.members[0] = node
I don't know if the code is exactly correct, thanks in advance