summaryrefslogtreecommitdiff
path: root/interface-definitions/vrf.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-29 17:48:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-03-29 17:48:09 +0200
commit7f81b189accac053b592a442d3fe3e2ea04b9ed8 (patch)
treef649aa7403bbcfdad075f8453f380ab9564fd21f /interface-definitions/vrf.xml.in
parent35e0254622f8f099db3c7829cd61b85f6976c416 (diff)
downloadvyos-1x-7f81b189accac053b592a442d3fe3e2ea04b9ed8.tar.gz
vyos-1x-7f81b189accac053b592a442d3fe3e2ea04b9ed8.zip
vrf: T2178: table id must start at 100
... to not cause any issues with buildin tables or PBR. PBR uses table 1 - 200 so there is a small overlap (by intention)
Diffstat (limited to 'interface-definitions/vrf.xml.in')
-rw-r--r--interface-definitions/vrf.xml.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in
index f1895598e..76748e5ae 100644
--- a/interface-definitions/vrf.xml.in
+++ b/interface-definitions/vrf.xml.in
@@ -29,14 +29,14 @@
<leafNode name="table">
<properties>
<help>Routing table associated with this instance</help>
- <constraint>
- <validator name="numeric" argument="--range 1-2147483647"/>
- </constraint>
- <constraintErrorMessage>Invalid kernel table number</constraintErrorMessage>
<valueHelp>
- <format>1-2147483647</format>
+ <format>100-2147483647</format>
<description>Routing table ID</description>
</valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 100-2147483647"/>
+ </constraint>
+ <constraintErrorMessage>VRF routing table must be in range from 100 to 2147483647</constraintErrorMessage>
</properties>
</leafNode>
#include <include/interface-description.xml.i>