Skip to content

Commit

Permalink
linux_defaults: add local lookup priority to use for fib rules
Browse files Browse the repository at this point in the history
Add the new local lookup priority where we move rule 0 to so it can be
used by future changes to ensure proper local lookup rules are
installed.

Signed-off-by: Nikolay Aleksandrov <[email protected]>
  • Loading branch information
Nikolay Aleksandrov authored and youngnick committed Mar 25, 2023
1 parent 011bb96 commit c5403f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/datapath/linux/linux_defaults/linux_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ const (
// before the local table priority.
RulePriorityIngress = 20

// RulePriorityLocalLookup is the priority for the local lookup rule which is
// moved on init from 0
RulePriorityLocalLookup = 100

// RulePriorityEgress is the priority of the rule used for egress routing
// of endpoints. This priority is after the local table priority.
RulePriorityEgress = 110
Expand Down

0 comments on commit c5403f1

Please sign in to comment.