summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route-interface.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 15:28:42 +0000
committerChristian Poessinger <christian@poessinger.com>2021-03-14 16:56:11 +0100
commit9d0e8634c79f5347545ec28fffd3612c760e07df (patch)
tree3057350ccf958876e4f4934edb392a5ffedb894b /interface-definitions/include/static/static-route-interface.xml.i
parentc2ae70181b8ad136f5139c9fdd53e0bb402c9914 (diff)
downloadvyos-1x-9d0e8634c79f5347545ec28fffd3612c760e07df.tar.gz
vyos-1x-9d0e8634c79f5347545ec28fffd3612c760e07df.zip
static: T3280: move building blocks to subfolder
As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense.
Diffstat (limited to 'interface-definitions/include/static/static-route-interface.xml.i')
-rw-r--r--interface-definitions/include/static/static-route-interface.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/static/static-route-interface.xml.i b/interface-definitions/include/static/static-route-interface.xml.i
new file mode 100644
index 000000000..ed4f455e5
--- /dev/null
+++ b/interface-definitions/include/static/static-route-interface.xml.i
@@ -0,0 +1,17 @@
+<!-- include start from static/static-route-interface.xml.i -->
+<leafNode name="interface">
+ <properties>
+ <help>Gateway interface name</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Gateway interface name</description>
+ </valueHelp>
+ <constraint>
+ <validator name="interface-name"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->