summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-12 15:06:08 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-14 08:59:34 -0600
commitf0bc6c62016d285f0645c4b3ba8b1451c40c637f (patch)
treefc00f4a3ad5fdd1b30f62c3af58f5445d8c0184d /interface-definitions/include/static
parent0c5416e9e629a6f9028c85fe5313f43d3484860a (diff)
downloadvyos-1x-f0bc6c62016d285f0645c4b3ba8b1451c40c637f.tar.gz
vyos-1x-f0bc6c62016d285f0645c4b3ba8b1451c40c637f.zip
validators: T4875: use file-path to replace validator 'interface-name'
Diffstat (limited to 'interface-definitions/include/static')
-rw-r--r--interface-definitions/include/static/static-route-interface.xml.i2
-rw-r--r--interface-definitions/include/static/static-route.xml.i2
-rw-r--r--interface-definitions/include/static/static-route6.xml.i2
3 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/static/static-route-interface.xml.i b/interface-definitions/include/static/static-route-interface.xml.i
index ed4f455e5..cc7a92612 100644
--- a/interface-definitions/include/static/static-route-interface.xml.i
+++ b/interface-definitions/include/static/static-route-interface.xml.i
@@ -10,7 +10,7 @@
<description>Gateway interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.in>
</constraint>
</properties>
</leafNode>
diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i
index 04ee999c7..aeb2044c9 100644
--- a/interface-definitions/include/static/static-route.xml.i
+++ b/interface-definitions/include/static/static-route.xml.i
@@ -26,7 +26,7 @@
<description>Gateway interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.in>
</constraint>
</properties>
<children>
diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i
index 6131ac7fe..d5e7a25bc 100644
--- a/interface-definitions/include/static/static-route6.xml.i
+++ b/interface-definitions/include/static/static-route6.xml.i
@@ -25,7 +25,7 @@
<description>Gateway interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.in>
</constraint>
</properties>
<children>