summaryrefslogtreecommitdiff
path: root/interface-definitions/include/vif-s.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-03 16:26:42 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-03 16:26:44 +0100
commit410ac0dac8400aae1523a51184726ff7606dc5fd (patch)
tree97d8c2c8cf612033e8d10dd256d72d58e4843e4f /interface-definitions/include/vif-s.xml.i
parent7bb193ce644ea73e4acaa345c84326cb5e0ef78e (diff)
downloadvyos-1x-410ac0dac8400aae1523a51184726ff7606dc5fd.tar.gz
vyos-1x-410ac0dac8400aae1523a51184726ff7606dc5fd.zip
ifconfig: T1939: provide abstraction for interface "ip" option
Provide an XML/Python abstraction to * ip disable-arp-filter * ip enable-arp-accept * ip enable-arp-announce * ip enable-arp-ignore The old implementation can co-exist until the last interfaces have been migrated.
Diffstat (limited to 'interface-definitions/include/vif-s.xml.i')
-rw-r--r--interface-definitions/include/vif-s.xml.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i
index cb0943162..2120aa32d 100644
--- a/interface-definitions/include/vif-s.xml.i
+++ b/interface-definitions/include/vif-s.xml.i
@@ -32,6 +32,14 @@
<constraintErrorMessage>Ethertype must be 0x88A8 or 0x8100</constraintErrorMessage>
</properties>
</leafNode>
+ <node name="ip">
+ <children>
+ #include <include/interface-disable-arp-filter.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>
+ </children>
+ </node>
#include <include/interface-mac.xml.i>
#include <include/interface-mtu-68-9000.xml.i>
<tagNode name="vif-c">