Route Search Order
The route search orders for entries in the Diameter peer are as follows:
-
Dynamic routes have the highest precedence followed by Path-Cache routes.
-
The peer arranges multiple routes of the same flags among themselves based on their weight, where higher value takes precedence.
-
Weight always outweighs routes with the exact match of host and realm entries.
-
Exact match entries have the priority only if there are two routes with equal weights.
The following is a sample output for route search order:
Populated route table: [
[ S | Pending | 20 | DRA1@dummyDestRealm.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 20 | *@dummyDestRealm.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 10 | DS2@dummyDestRealm.com | DRA2 | 127.0.0.1:3869 ]
[ S | Pending | 10 | DRA2@dummyDestRealm.com | DRA2 | 127.0.0.1:3869 ]
[ S | Pending | 10 | *@dummyDestRealm.com | DRA2 | 127.0.0.1:3869 ]
[ S | Pending | 10 | DS1@dummyDestRealm.com | DS1 | 127.0.0.1:3870 ]
[ S | Pending | 10 | *@dummyDestRealm.com | DS1 | 127.0.0.1:3870 ]
[ S | Pending | 10 | @dummyDestRealm.com | * | 127.0.0.1:3871 ]
[ S | Pending | 10 | *@dummyDestRealm.com | * | 127.0.0.1:3871 ]
[ S | Pending | 8 | *@* | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 45 | DRA2@starentnetworks.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 45 | DRA1@starentnetworks.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 45 | *@starentnetworks.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 20 | *@cisco.com | DRA1 | 127.0.0.1:3868 ]
[ S | Pending | 20 | DRA1@cisco.com | DRA1 | 127.0.0.1:3868 ]
]