summaryrefslogtreecommitdiff
path: root/interface-definitions/vrf.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-01 20:27:24 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-01 20:27:24 +0200
commit32d6a693de99021d2cd44fb4235e929caf7b4a6d (patch)
treeac0148ff6dfbc067f8cd6287188d4ba81afa4bdd /interface-definitions/vrf.xml.in
parentecdf22fee3272dedc8c1c7c6d5e95057042b48ce (diff)
downloadvyos-1x-32d6a693de99021d2cd44fb4235e929caf7b4a6d.tar.gz
vyos-1x-32d6a693de99021d2cd44fb4235e929caf7b4a6d.zip
xml: T5738: extend VRF building blocks with common constraint definition
Diffstat (limited to 'interface-definitions/vrf.xml.in')
-rw-r--r--interface-definitions/vrf.xml.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in
index 25f26d0cc..94ed96e4b 100644
--- a/interface-definitions/vrf.xml.in
+++ b/interface-definitions/vrf.xml.in
@@ -16,10 +16,7 @@
<tagNode name="name">
<properties>
<help>Virtual Routing and Forwarding instance</help>
- <constraint>
- <validator name="vrf-name"/>
- </constraint>
- <constraintErrorMessage>VRF instance name must be 15 characters or less and can not\nbe named as regular network interfaces.\nA name must starts from a letter.\n</constraintErrorMessage>
+ #include <include/constraint/vrf.xml.i>
<valueHelp>
<format>txt</format>
<description>VRF instance name</description>