Hi all,
I’ve started investigating the requirements of upgrading from v10.2.4 HF4 to v11.4.0 HF1 and come across a problem.
We disable ASM for certain requests to one of our virtuals and currently achieve this by setting a variable for the desired traffic, then checking for that variable at the HTTP_CLASS_SELECTED event:
when HTTP_REQUEST {
set disable_asm 0
if {some logic here ==0} {
set disable_asm 1
}
}
when HTTP_CLASS_SELECTED {
if {$disable_asm==1}{
ASM::disable
}
}
This works great on v10.2.4 but HTTP_CLASS_SELECTED is being removed from v11.4.0 so I’m unsure what to do. SOL14381 makes some suggestions around using POLICY::names, however POLICY:: doesn’t appear to exist on my current version.
Is it a case of removing this logic for the upgrade then once on v11’ adding the recommendations from SOL14381? What I’d really like is something that will work now *and* transfer nicely when I perform the upgrade.
Can anyone suggest a way to disable ASM based on a variable value, that will work on v10.2.4 and v11.4.0?
Cheers, Steve.