Forum Discussion
dlg_23340
Nov 18, 2011Cirrus
[class exists $redir_class]
Hello, all. I have an irule that needs to check if a class exists, then if it does, pull a record from it. If not, it should do nothing. in this case, the value contained in redir_class does not ex...
George_Watkins_
Nov 21, 2011Historic F5 Account
I'm getting the expected behavior when $redir_class is undefined or the referenced class doesn't exist on v11.0.0 (build 8037):
Nov 21 06:01:50 tmm err tmm[20592]: 01220001:3: TCL error: /Common/test_vars_class_exists_2156869 - can't read "redir_class": no such variable while executing "class exists $redir_class"
Nov 21 06:02:14 tmm info tmm[20592]: Rule /Common/test_vars_class_exists_2156869 : class ttt does not exist
This sounds like it could be a problem with the version of LTM you are running. What version are you testing on?
-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