summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-vrf.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/interface-vrf.xml.i')
-rw-r--r--interface-definitions/include/interface-vrf.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-vrf.xml.i b/interface-definitions/include/interface-vrf.xml.i
new file mode 100644
index 000000000..7e880e6ee
--- /dev/null
+++ b/interface-definitions/include/interface-vrf.xml.i
@@ -0,0 +1,12 @@
+<leafNode name="vrf">
+ <properties>
+ <help>VRF instance name</help>
+ <completionHelp>
+ <path>vrf name</path>
+ </completionHelp>
+ <constraint>
+ <validator name="interface-name"/>
+ </constraint>
+ <constraintErrorMessage>VRF name not allowed or to long</constraintErrorMessage>
+ </properties>
+</leafNode>