Forum Discussion

Patrick_Chang_7's avatar
Patrick_Chang_7
Historic F5 Account
Mar 26, 2008

OneConnect and iRules

Is it possible for OneConnect to bypass executing an iRule (or bypass iRule logic) for selecting a pool based upon the contents of the request?

9 Replies

  • I cannot find a way to do this myself and would love to know if you could.
  • What exactly are you trying to accomplish? It might be possible to detect a condition in an iRule and disable subsequent events in the rule.

     

     

    Aaron
  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    I am actually trying to debug something. I have an iRule that is choosing the pool based upon the URI being requested. It works almost all the time, but every once in a while, it falls through and picks the default pool. Captures show it falling through even though the URI being requested shoudl clearly be matched in my iRule switch -glob match.

     

     

    I was wondering if OneConnect might be able to bypass the iRule logic somehow.
  • Hi,

     

     

    it should not be possible

     

     

    Do you have any log trace where we can see the uri and the pool selected ? and can you show us your iRule?

     

     

  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    unfortunately no. It is a customer iRule and I don't have permission to share generally.
  • May it be due to the use of upper case or lower case characters in the URI?

     

     

    When you do your comparison, do you switch all character in the uri in lower case ? it may be the reason ...
  • Patrick_Chang_7's avatar
    Patrick_Chang_7
    Historic F5 Account
    I checked that. I also changed the switch statement to be

     

    switch -glob -nocase