Skip to content

Commit 99a835c

Browse files
Move route rule priority to key (#62)
As per sonic-net/SONiC#2091 Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
1 parent 459cad6 commit 99a835c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

proto/route_rule.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message RouteRule {
88
// reference to action type, action can be decap or drop
99
route_type.ActionType action_type = 1;
1010
// priority of the rule, lower the value, higher the priority
11-
uint32 priority = 2;
11+
uint32 priority = 2; // this is deprecated and moved to the key (https://github.com/sonic-net/SONiC/pull/2091). don't delete field yet until orchagent implementation can be updated otherwise the swss build will break.
1212
// Optional
1313
// protocol value of incoming packet to match; 0 (any)
1414
optional uint32 protocol = 3;
@@ -40,4 +40,5 @@ message RouteRuleKey {
4040
string prefix = 3;
4141
string tag = 4;
4242
}
43+
uint32 priority = 5;
4344
};

0 commit comments

Comments
 (0)