Forum Discussion
iControlREST method to list LTM Load Balancing methods?
I would like to pull a list of Load Balancing methods from the LTM in order to populate an HTML Select list.
I don't see such a method using either iControlREST or BigIP::iControl
Is there such a method available?
Thanks
2 Replies
- Vijay_E
Cirrus
Based on my limited experience with iCR, I don't think this is feasible at this point. May be in future code versions, this may be available.
- JG
Cumulonimbus
A possible workaround until that function becomes available in a future release:
For v11.6.1, the LB methods are listed in "/config/bigip_script.conf" and you can get them by:
grep -A 18 -C 1 'define choice lb_method default "least-connections-member" display "xxlarge" {' /config/bigip_script.conf | tail -18For v12.1.0, they are in /usr/share/defaults/app_template_base.conf, and you can get them by running:
grep -A 2 -C 1 'define choice lb_method display "xxlarge" tcl {' /usr/share/defaults/app_template_base.conf | tail -1You can create a script containing the command and run it via iControlREST. See: https://devcentral.f5.com/questions/can-icontrol-rest-delete-a-connection .
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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