summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-06 18:23:22 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-06 20:58:56 +0100
commit0b3e8ee977604f2412dfcfa3da5ad24d56c1c7a5 (patch)
tree31c07563fbd1535a7dca5f7956e7c4688352a2f4
parent81c3919271b20c0818ea7b2ed5c468685c6d7d4a (diff)
downloadvyos-1x-0b3e8ee977604f2412dfcfa3da5ad24d56c1c7a5.tar.gz
vyos-1x-0b3e8ee977604f2412dfcfa3da5ad24d56c1c7a5.zip
T1843: use include files for interface proxy-arp-pvlan option
-rw-r--r--interface-definitions/include/interface-proxy-arp-pvlan.xml.i6
-rw-r--r--interface-definitions/interfaces-bonding.xml.in7
-rw-r--r--interface-definitions/interfaces-ethernet.xml.in7
3 files changed, 8 insertions, 12 deletions
diff --git a/interface-definitions/include/interface-proxy-arp-pvlan.xml.i b/interface-definitions/include/interface-proxy-arp-pvlan.xml.i
new file mode 100644
index 000000000..7e72b3800
--- /dev/null
+++ b/interface-definitions/include/interface-proxy-arp-pvlan.xml.i
@@ -0,0 +1,6 @@
+<leafNode name="proxy-arp-pvlan">
+ <properties>
+ <help>Enable private VLAN proxy ARP on this interface</help>
+ <valueless/>
+ </properties>
+</leafNode>
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in
index e2e20b4a3..e6557a967 100644
--- a/interface-definitions/interfaces-bonding.xml.in
+++ b/interface-definitions/interfaces-bonding.xml.in
@@ -81,12 +81,7 @@
<children>
#include <include/interface-arp-cache-timeout.xml.i>
#include <include/interface-enable-proxy-arp.xml.i>
- <leafNode name="proxy-arp-pvlan">
- <properties>
- <help>Enable private VLAN proxy ARP on this interface</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/interface-proxy-arp-pvlan.xml.i>
</children>
</node>
#include <include/interface-mac.xml.i>
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in
index 2f7d62f46..7fa20ac18 100644
--- a/interface-definitions/interfaces-ethernet.xml.in
+++ b/interface-definitions/interfaces-ethernet.xml.in
@@ -71,12 +71,7 @@
<children>
#include <include/interface-arp-cache-timeout.xml.i>
#include <include/interface-enable-proxy-arp.xml.i>
- <leafNode name="proxy-arp-pvlan">
- <properties>
- <help>Enable private VLAN proxy ARP on this interface</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/interface-proxy-arp-pvlan.xml.i>
</children>
</node>
#include <include/interface-mac.xml.i>