pbrd: Reduce range so we cannot go over the vrf rule

The linux kernel puts the vrf rule at 1000, since pbr
rules need to be before this rule, don't allow us to go
beyond.

Ticket: CM-19946
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-03-25 21:00:19 -04:00
parent 1c33fb1dbb
commit 8ee9738bbc

View File

@ -316,7 +316,7 @@ DEFPY (pbr_table_range,
DEFPY (pbr_rule_range,
pbr_rule_range_cmd,
"[no] pbr rule range (300-1300)$start (400-1400)$end",
"[no] pbr rule range (300-900)$start (400-1000)$end",
NO_STR
"Policy based routing\n"
"Policy based routing rule\n"