Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#654 do_routing: 'W' flag ignored

1.4.x
closed-invalid
modules (454)
5
2013-05-17
2013-05-06
Ovidiu Sas
No

The 'W' weight flag is ignored while calling do_routing.
If in the dr_rules, under gwlist we provision actual gateways with weight, the weight flag is taken into consideration while routing.
If in the dr_rules, under gwlist we use a carrier (marked with '#') and if the carrier has multiple gateways configured with weigh (gwlist field on dr_cariers table), the weight flag is ignored for those gateways.

Regards,
Ovidiu Sas

Discussion

    • status: open --> open-invalid
    • assigned_to: Bogdan-Andrei Iancu
     
  • Hi Ovidiu,

    The W flag affects only the ordering inside a rule ( entities in gwlist ).

    The ordering inside a carrier is not affected by that flag (by design) - for inside the carrier, each carrier has a flag (see the dr_carrier table) to enable the weight based selection.

    So, the weight based orering is controled:
    - from script , via W flag for the rules
    - from the carrier definition, for the carriers.

    Regards,
    Bogdan

     
    • status: open-invalid --> closed-invalid
    • Group: 1.10.x --> 1.4.x