Forum Discussion

BenJ's avatar
BenJ
Icon for Nimbostratus rankNimbostratus
Nov 19, 2014

Local Traffic Policy Conditions v11.5.1

Hi all,

 

When defining conditions in a Local Traffic Policy rule (example: http-uri starts-with) are the values that I supply subject to an AND or an OR operation? Consider the following example: - When a request comes in like http://www.abc.com/passwordreset OR http://www.abc.com/resetpassword - Send the traffic to a specific pool (same pool for both URIs represented above)

 

Could I use "values { /passwordreset /resetpassword }" as the argument or do I have to specify two separate rules within the policy that both have the same action?

 

I hope this wasn't too convoluted. I don't have a unit to test on, unfortunately. My assumption is that multiple entries in a single condition would ALL be required to match - therefore the above "values" code would not work - but I haven't been able to validate this assumption through a doco search. I'd be very happy to be pointed at documentation if there is any, otherwise advice is welcome.

 

Thanks for any help, Ben.

 

3 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Ben,

     

    You can have more than one value in a condition so you could include both. Else you could use Contains "password" too as an option.

     

    Hope this helps,

     

    N

     

  • BenJ's avatar
    BenJ
    Icon for Nimbostratus rankNimbostratus

    Thanks Nathan. Appreciate the assistance.