APM variable assign examples
Problem this snippet solves: APM variable assign is a powerful tool to manipulate APM variable during policy evaluation supporting tcl code.
On Devcentral answers, there are lots of variable assig...
Updated Jun 05, 2023
Version 2.0stan_piron
Cumulonimbus
stan_piron
Cumulonimbus
Mar 06, 2019@steph,
Try this expression
expr { [IP::addr [mcget {session.user.clientip}] equals "172.20.0.0/16"] }
The expr command returns 1 if expression is true, 0 if expression is false.