Forum Discussion
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()