summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-07 20:31:36 +0100
committerGitHub <noreply@github.com>2023-11-07 20:31:36 +0100
commit4e8b16e4039ac0b8126c6c4322340a51d3c314cf (patch)
tree04fa3dd59b02fc7d4b566f8326185b12eed64584 /interface-definitions
parentc3ddea58e2ae96f5b5d8a2942ec93729439cd24a (diff)
parentc56af995b6e3d867c2a67deeb4be79e498f0a7cf (diff)
downloadvyos-1x-4e8b16e4039ac0b8126c6c4322340a51d3c314cf.tar.gz
vyos-1x-4e8b16e4039ac0b8126c6c4322340a51d3c314cf.zip
Merge pull request #2240 from sever-sever/T5559
T5559: Add static neighbor-proxy feature
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols_static_neighbor-proxy.xml.in48
1 files changed, 48 insertions, 0 deletions
diff --git a/interface-definitions/protocols_static_neighbor-proxy.xml.in b/interface-definitions/protocols_static_neighbor-proxy.xml.in
new file mode 100644
index 000000000..1c8433a39
--- /dev/null
+++ b/interface-definitions/protocols_static_neighbor-proxy.xml.in
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="protocols">
+ <children>
+ <node name="static">
+ <children>
+ <node name="neighbor-proxy" owner="${vyos_conf_scripts_dir}/protocols_static_neighbor-proxy.py">
+ <properties>
+ <help>Neighbor proxy parameters</help>
+ </properties>
+ <children>
+ <tagNode name="arp">
+ <properties>
+ <help>IP address for selective ARP proxy</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 destination address allowed for proxy-arp</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/generic-interface-multi.xml.i>
+ </children>
+ </tagNode>
+ <tagNode name="nd">
+ <properties>
+ <help>IPv6 address for selective NDP proxy</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 destination address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/generic-interface-multi.xml.i>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>