Forum Discussion
Sake_Blok
Nimbostratus
Sep 30, 2005Dynamically selecting a class (based on poolname)
Hi,
Is it possible to dynamically select a class? I want to use one class per pool which lists a cookie per server and select that server based on the cookie. Using passive cookies is not an optio...
drteeth_127330
Sep 30, 2005Historic F5 Account
You also should be able to do this with the subst command which might not be as heavy weight as eval. subst performs variable substitution, so the argument is expanded twice, once by the TCL interpreter and once by subst. Something like this should work:
set tmp [findclass [HTTP::cookie "lbsid"] [subst $::$defpool] " "]
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