Support fwmark and iif on the RoutingEntryRule

Bug #1900866 reported by Adam Dyess
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-advanced-routing
Fix Released
Undecided
Adam Dyess

Bug Description

I would like the following advanced-routing-config
[{
    "type": "table",
    "table": "main"
},{
    "type": "table",
    "table": "Public"
},{
    "type": "rule",
    "fwmark": "1/0xF",
    "iif": "bond0",
    "table": "main",
    "priority": 110
},{
    "type": "rule",
    "fwmark": "1/0xF",
    "table": "Public"
    "priority": 111
}]

to create the rules:
ip rule add fwmark 1/0xF iif bond0 table main priority 110
ip rule add fwmark 1/0xF table Public priority 111

Related branches

Revision history for this message
Adam Dyess (addyess) wrote :

this would enable routing decisions based on fwmark-ing and input interfaces

Adam Dyess (addyess)
summary: - Support fwmark and iff on the RoutingEntryRule
+ Support fwmark and iif on the RoutingEntryRule
description: updated
Adam Dyess (addyess)
Changed in charm-advanced-routing:
assignee: nobody → Adam Dyess (addyess)
Celia Wang (ziyiwang)
Changed in charm-advanced-routing:
status: New → Fix Released
milestone: none → 21.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.