summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route.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-route.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-route.xml.i')
-rw-r--r--interface-definitions/include/static-route.xml.i90
1 files changed, 0 insertions, 90 deletions
diff --git a/interface-definitions/include/static-route.xml.i b/interface-definitions/include/static-route.xml.i
deleted file mode 100644
index 94fbdd3d6..000000000
--- a/interface-definitions/include/static-route.xml.i
+++ /dev/null
@@ -1,90 +0,0 @@
-<!-- include start from static-route.xml.i -->
-<tagNode name="route">
- <properties>
- <help>VRF static IPv4 route</help>
- <valueHelp>
- <format>ipv4net</format>
- <description>IPv4 static route</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-prefix"/>
- </constraint>
- </properties>
- <children>
- <node name="blackhole">
- <properties>
- <help>Silently discard pkts when matched</help>
- </properties>
- <children>
- #include <include/static-route-distance.xml.i>
- <leafNode name="tag">
- <properties>
- <help>Tag value for this route</help>
- <valueHelp>
- <format>u32:1-4294967295</format>
- <description>Tag value for this route</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-4294967295"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
- <leafNode name="dhcp-interface">
- <properties>
- <help>DHCP interface supplying next-hop IP address</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
- </completionHelp>
- <valueHelp>
- <format>txt</format>
- <description>DHCP interface name</description>
- </valueHelp>
- <constraint>
- <validator name="interface-name"/>
- </constraint>
- </properties>
- </leafNode>
- <tagNode name="interface">
- <properties>
- <help>Next-hop IPv4 router interface</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>
- <children>
- #include <include/generic-disable-node.xml.i>
- #include <include/static-route-distance.xml.i>
- #include <include/static-route-vrf.xml.i>
- </children>
- </tagNode>
- <tagNode name="next-hop">
- <properties>
- <help>Next-hop IPv4 router address</help>
- <valueHelp>
- <format>ipv4</format>
- <description>Next-hop router address</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-address"/>
- </constraint>
- </properties>
- <children>
- #include <include/generic-disable-node.xml.i>
- #include <include/static-route-distance.xml.i>
- #include <include/static-route-interface.xml.i>
- #include <include/static-route-vrf.xml.i>
- </children>
- </tagNode>
- </children>
-</tagNode>
-<!-- include end -->
-