Forum Discussion
beenymatic_8924
Nimbostratus
Aug 16, 2016iControlREST - adding members to a pool
Hi folks, I've come across an odd issue when trying to update an existing pool with new members.
First create a pool in your favourite way. I've used curl here but happens other ways too.
Do a GE...
JRahm
Admin
Aug 22, 2016Just supply the name attribute with the post, not the fullpath. Here's my advanced rest client URL and payload:
https://ltm3.test.local/mgmt/tm/gtm/pool/a/gslb_pool_1/members
POST {"name":"/Common/ltm3.test.local:/Common/testvip"}
With results:
{
"kind": "tm:gtm:pool:a:members:membersstate"
"name": "testvip"
"partition": "Common"
"subPath": "ltm3.test.local:/Common"
"fullPath": "/Common/ltm3.test.local:/Common/testvip"
"generation": 1314
"selfLink": "https://localhost/mgmt/tm/gtm/pool/a/gslb_pool_1/members/~Common~ltm3.test.local:~Common~testvip?ver=12.1.0"
"enabled": true
"limitMaxBps": 0
"limitMaxBpsStatus": "disabled"
"limitMaxConnections": 0
"limitMaxConnectionsStatus": "disabled"
"limitMaxPps": 0
"limitMaxPpsStatus": "disabled"
"memberOrder": 0
"monitor": "default"
"ratio": 1
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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