Forum Discussion
4 Replies
Sort By
- hooleylistCirrostratusHi Mike,
- Mike_NepomnyNimbostratus
Thank you Aaron.
What about RULE_INIT ? Is it possible to get partition name from RULE_INIT ?
- hooleylistCirrostratusThe iRule isn't associated with a virtual server in RULE_INIT so you can't use [virtual name]. And I can't think of a way to get the full name of the iRule.
- THiNimbostratus
You could try:
[lindex [split [virtual name] /] 1]
Split the full virtual server name into a list and then take the first element after initial null string:
[virtual name] /THi/THi_test