Forum Discussion
Vitor_Hugo_Domi
Nimbostratus
Jan 05, 2016What is "-list" argument in iRule
Hi all,
What is the action of -list argument in irule with active_member? Why I have to include -list and shouldn't leave without -list? What is environment impact?
when CLIENT_ACCEPTED { if { [active_members -list http_pool] >= 2 } { pool http_pool } }
1 Reply
Hi Vitor,
the
option returns a TCL list containing every pool member. Without-list
you will get just the total number of pool members.-listhttps://devcentral.f5.com/wiki/iRules.active_members.ashx
In your outlined iRules, the
option should be removed.-listCheers, Kai
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