summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-ipv4-options.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-07 13:45:07 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-07 13:45:07 +0100
commit4bb9d26c6d4c475b095d944c3154ff4f0f92a205 (patch)
tree17ad0be2622b2a3003b40ab98a3da551787bf558 /interface-definitions/include/interface-ipv4-options.xml.i
parentc99150f516c5555e15f454aca49c59b954a2d9f1 (diff)
downloadvyos-1x-4bb9d26c6d4c475b095d944c3154ff4f0f92a205.tar.gz
vyos-1x-4bb9d26c6d4c475b095d944c3154ff4f0f92a205.zip
T2653: migrate "ip" and "ipv6" interface options to generic includes
This reduces duplicated #include statements as each interface type already contained the individual includes.
Diffstat (limited to 'interface-definitions/include/interface-ipv4-options.xml.i')
-rw-r--r--interface-definitions/include/interface-ipv4-options.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-ipv4-options.xml.i b/interface-definitions/include/interface-ipv4-options.xml.i
new file mode 100644
index 000000000..416e1adf5
--- /dev/null
+++ b/interface-definitions/include/interface-ipv4-options.xml.i
@@ -0,0 +1,17 @@
+<!-- included start from interface-ipv4-options.xml.i -->
+<node name="ip">
+ <properties>
+ <help>IPv4 routing parameters</help>
+ </properties>
+ <children>
+ #include <include/interface-arp-cache-timeout.xml.i>
+ #include <include/interface-disable-arp-filter.xml.i>
+ #include <include/interface-disable-forwarding.xml.i>
+ #include <include/interface-enable-arp-accept.xml.i>
+ #include <include/interface-enable-arp-announce.xml.i>
+ #include <include/interface-enable-arp-ignore.xml.i>
+ #include <include/interface-enable-proxy-arp.xml.i>
+ #include <include/interface-proxy-arp-pvlan.xml.i>
+ </children>
+</node>
+<!-- included end -->