Forum Discussion
vallesm77_95699
Nimbostratus
Feb 14, 2012Irule v9 --> v11
Hello,
On BigIP V9 I have an Irule
An extract :
when CLIENT_ACCEPTED {
set DefaultValue "::DefaultValue[virtual name]"
if { [class exists $DefaultValue]}...
hoolio
Cirrostratus
Feb 14, 2012Hi vallesm77,
Check this related thread for some options to parse the virtual name from the path:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2158968/showtab/groupforums/Default.aspx2234683
You might also consider updating your iRule to use the full virtual name as the data group should have a folder as well.
Also, if you're running on a CMP capable platform you should try to avoid using global variables like "$::defaultValue". You can set $static::defaultValue in RULE_INIT instead:
http://devcentral.f5.com/wiki/iRules.static.ashx
Aaron
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