Forum Discussion

Misty_Spillers's avatar
Misty_Spillers
Icon for Nimbostratus rankNimbostratus
Feb 10, 2017

Data group priority question

How are string records prioritized in datagroups?

 

I'm using this for URIs so if I have

 

/app1/cat2 value pool app1cat2

 

/app1 value pool app1

 

Is there anyway to avoid the conflict here? I have been just writing these rules out with the least specific URI last. I guess I could test this out, but kind of wondered if anyone knew.

 

Thanks!

 

1 Reply

  • it depends on your iRule code, if that is a match then it uses the longest match with the highest priority.

     

    https://devcentral.f5.com/wiki/iRules.class.ashx

     

    Note: When using the equals operator on IP classes, or when using the starts_with or ends_with operators, if multiple possible matches are found in the class, then the longest match is always chosen. This is not true when using the contains operator. See the example below for more details.