is there anything i missed?
root@ve1110(Active)(/Common)(tmos) list ltm data-group internal ActionBasedOnUrl
ltm data-group internal ActionBasedOnUrl {
records {
/hungry {
data go-7-11
}
/sleepy {
data go-home
}
}
type string
}
root@ve1110(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when RULE_INIT {
log local0. "\[class get ActionBasedOnUrl\]: [class get ActionBasedOnUrl]"
foreach entry [class get ActionBasedOnUrl] {
log local0. "\[getfield $entry \" \" 1\]: [getfield $entry " " 1]"
}
}
}
[root@ve1110:Active] config cat /var/log/ltm
Feb 14 06:07:37 tmm info tmm[7321]: Rule /Common/myrule : [class get ActionBasedOnUrl]: {/hungry go-7-11} {/sleepy go-home}
Feb 14 06:07:37 tmm info tmm[7321]: Rule /Common/myrule : [getfield /hungry go-7-11 " " 1]: /hungry
Feb 14 06:07:37 tmm info tmm[7321]: Rule /Common/myrule : [getfield /sleepy go-home " " 1]: /sleepy