Forum Discussion

Eric_Werner_283's avatar
Eric_Werner_283
Icon for Nimbostratus rankNimbostratus
Jan 08, 2010

LB decision based on diamater AVP

I've been tasked with creating a VIP that will make it's LB decision based on the Diameter Destination-Host AVP (293). I've got another iRule that I believe I can pull bits from to put this together, but some of the specifics are eluding me. I was hoping someone here had done something similar already, but my searching so far has yielded nothing.

 

 

Here's what I know right now. It looks like this is going to have to be a binary scan to look for the AVP code 293, and from there, maybe match up the value to a class of host/IP pairs? Or might there be a simpler way to go about this in v10.1?

 

 

Eric Werner

1 Reply

  • Hi Eric,

     

     

    I hope you're doing well. I hadn't heard of Diameter before so I can't give you much of an informed opinion. But after a quick review of a wiki page (Click here), I think you could possibly get some use from a RADIUS parsing Codeshare example:

     

     

    RADIUS load balancing

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/RADIUSLoadBalancing.html

     

     

    Aaron