diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-07 20:59:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 20:59:26 +0100 |
commit | 3238cb64c53337cb5238495aba96621ee8bf9692 (patch) | |
tree | 6aa66f39917f24f1deb746397251e279d9444de7 /interface-definitions | |
parent | 41bad6ac01ef2ce25ec5a7a6d337d6e5d983c632 (diff) | |
parent | 6fd250ea8e5488faadf66cdeadc55d8ee49cc9f7 (diff) | |
download | vyos-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')
-rw-r--r-- | interface-definitions/protocols_static_neighbor-proxy.xml.in | 48 |
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> |