Forum Discussion
_GM__76130
Apr 18, 2011Nimbostratus
remove_clone_pool
I am trying to use a SOAP call to remove a clone-pool from a virtual server. The SOAP call is going through without errors, but the clone-pool is not getting removed. Using the "remove_all_clone_pools...
George_Watkins_
Apr 25, 2011Historic F5 Account
Hi [GM],
Here is the syntax (Ruby iControl library) I used to remove a clone pool from my virtual server:
bigip["LocalLB.VirtualServer"].remove_clone_pool(["vs.test_ubuntu_http"], [[{"pool_name" => "ubuntu_http_pool", "type" => "CLONE_POOL_TYPE_SERVERSIDE"}]])
and this is the output of my SOAP call:
= Request
! CONNECT TO 10.0.0.2:443
! CONNECTION ESTABLISHED
at depth 0 - 18: self signed certificate
POST /iControl/iControlPortal.cgi HTTP/1.1
SOAPAction: "urn:iControl:LocalLB/VirtualServer"
Content-Type: text/xml; charset=utf-8
Authorization: Basic xxxxxxxxxxxxxxxxxxx=
User-Agent: SOAP4R/1.5.5 (httpclient.rb/280, ruby 1.8.7 (2010-01-10) [x86_64-linux])
Date: Mon, 25 Apr 2011 21:19:13 GMT
Content-Length: 1192
Host: 10.0.0.2
vs.test_ubuntu_http
ubuntu_http_pool
CLONE_POOL_TYPE_SERVERSIDE
The operation completed successfully and the clone pull was removed from the respective VS. Hope this helps,
-George
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