Forum Discussion
Lazaro_Pereira_
Nimbostratus
Jul 23, 2014REST API Pool Member Creation
If I use the REST API and create a pool can I have a different Name than address? I looked at the example but when you run it the member in the pool shows up as the IP in both the node name field and...
kunjan
Nimbostratus
Nov 05, 2014Try this
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X POST -d '{"name":" VCS.com:80"}'
Mike_Biancaniel
Nimbostratus
Nov 23, 2016Returning a 404 after successfully adding a member is definitely a bug, however, there is a workaround: add a "partition" attribute:
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X POST https://x.x.x.x/mgmt/tm/ltm/pool/test-pool/members -d '{"name":" VCS.com:80", "partition":"Common"}'
Until they fix this, just modify your code to add the "partition" for any POSTs to members/.
edit: I just found another post that references this same behavior in v12.0.
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