Forum Discussion
Derek_Murphy_38
Aug 21, 2012Nimbostratus
API doc for iControl?
Hi,
I was wondering if there was an API doc that explained top level down what was available to call etc. I just installed the icontrol gem for ruby and looked at some of the examples, but was w...
Derek_Murphy_38
Aug 21, 2012Nimbostratus
I found what I'm looking for: https://devcentral.f5.com/wiki/iControl.LocalLB__Pool__get_member_session_status.ashx
However struggling with the above - using version 11.0 for an ltm os.
https://devcentral.f5.com/wiki/iControl.LocalLB__Pool__get_member_session_status.ashx for example - what kind of input is it expecting, and in what format (for ruby).
I tried
pools = "/Common/my_pool_name"
pool_member_addresses = bigip['LocalLB.Pool'].get_member_session_status(pools, { 'address' => "10.0.20.151", 'port' => "8080"})
but that didn't seem to do the trick.
Can anyone provide a ruby example of how to disable a node from a pool given a pool name and an ip address?
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