Forum Discussion
AS3 PATCH method to add new pool?
Pete, thanks for the response.
Yes, while I can specify the class for the Tenant and Application to get this working (see below), I can only create a new pool with the PATCH method and attach it to an existing virtual server.
My use case is simply this: I want to add a new pool to an existing tenant and NOT attach it to anything (a standalone pool). Again, I'm using dynamic pool selections through iRules and context-based routing. The syntax or schema does not seem to support that under the PATCH method. Since my support ticket is 2 weeks stale, thinking it's probably not supported. Again, any help is appreciated!
[
{
"op": "add",
"path": "/ConsulPoolTest/A1",
"value": {
"class": "Application",
"template": "http",
"serviceMain": {
"class": "Service_HTTP",
"virtualAddresses": [
"10.117.56.178"
],
"pool": "web_poolnew"
},
"web_poolnew": {
"class": "Pool",
"monitors": [
"http"
],
"members": [{
"servicePort": 80,
"serverAddresses": [
"192.0.1.20",
"192.0.1.21"
]
}]
}
}
}
]
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