summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r--interface-definitions/include/constraint/vrf.xml.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/vrf.xml.i b/interface-definitions/include/constraint/vrf.xml.i
new file mode 100644
index 000000000..a1922bb6d
--- /dev/null
+++ b/interface-definitions/include/constraint/vrf.xml.i
@@ -0,0 +1,6 @@
+<!-- include start from constraint/vrf.xml.i -->
+<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 end -->