Forum Discussion
Cmora2488
Jul 02, 2020Nimbostratus
Add FQDN Node to a Pool with autopopulate enable
Hey Team, I encountered some issues on the cluster of the LB if I add FQDN Nodes to the pool. As per F5 support we have to add the nodes to the pool with the Auto Populate Enable since th...
Cmora2488
Jul 02, 2020Nimbostratus
I was able to figure it out
This is the code to add nodes with autopopulate for FQDN
self.mgmt.tm.ltm.nodes.node.create(partition='Common',name=deviceinfo[0], fqdn={"name":deviceinfo[0],"autopopulate":"enabled"}, description='Added With Script')
my_pool_add = self.mgmt.tm.ltm.pools.pool.load(name=pool_name)
my_pool_add.members_s.members.create(partition='Common', name=node_name + ':' + port_number,fqdn={"autopopulate":"enabled"})
my_pool_add.update()
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects