summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols_static_neighbor-proxy.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-07 20:59:26 +0100
committerGitHub <noreply@github.com>2023-11-07 20:59:26 +0100
commit3238cb64c53337cb5238495aba96621ee8bf9692 (patch)
tree6aa66f39917f24f1deb746397251e279d9444de7 /interface-definitions/protocols_static_neighbor-proxy.xml.in
parent41bad6ac01ef2ce25ec5a7a6d337d6e5d983c632 (diff)
parent6fd250ea8e5488faadf66cdeadc55d8ee49cc9f7 (diff)
downloadvyos-1x-3238cb64c53337cb5238495aba96621ee8bf9692.tar.gz
vyos-1x-3238cb64c53337cb5238495aba96621ee8bf9692.zip
Merge pull request #2458 from vyos/mergify/bp/sagitta/pr-2240
T5559: Add static neighbor-proxy feature (backport #2240)
Diffstat (limited to 'interface-definitions/protocols_static_neighbor-proxy.xml.in')
-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>