Forum Discussion
Jason_Nance
May 24, 2018Nimbostratus
To add an existing node to an existing pool:
pool = mgmt.tm.ltm.pools.pool.load(partition='Common', name='mypool')
pool.members_s.members.create(partition='Common', name='mynodename:80')
The secret sauce is in the overloaded name argument - it is really "node_name:service_port".
The above adds an existing node called "mynodename" to the pool and sets its service port to 80.
- JQUINONES82NBJul 18, 2018Nimbostratus
Thank you!