Forum Discussion
adding an FQDN node to an existing pool using icontrol or Rest API
I would like to be able to add an FQDN node to a pool via the iControl or REST Api.
Currently we have been using a powershell module (https://github.com/joel74/POSH-LTM-Rest) to create the nodes and pools however there seems to be no way of adding an FQDN node to a pool as all inputs require an IP Address.
Having also looked at curl commands to work directly with the API we have been unsuccessful in getting it to work.
Any help is massively appreciated!
- jfletcher_25149
Nimbostratus
We've gotten to the point we can add nodes however we cannot set these nodes to autopopulate. Any ideas?
- Satoshi_Toyosa1Ret. Employee
Create an FQDN node before adding it to the pool. For example, to create an FQDN node
(name) pointing towww.f5.com
(actual FQDN) with thewww.f5.com
endabled:autopopulate
curl -sku : https:///mgmt/tm/ltm/node \ -X POST -H "Content-type: application/json" \ -d '{"name":"www.f5.com", "fqdn":{"tmName":"www.f5.com", "autopopulate":"enabled"}}'
Then, add the node to the pool (here
) just like any other node members:pl
curl -sku : https:///mgmt/tm/ltm/pool/pl/members \ -X POST -H "Content-type: application/json" \ -d '{"name":"www.f5.com:80"}'
Recent Discussions
Related Content
* 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