diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-10 22:24:27 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-01 15:47:47 +0000 |
commit | c56af995b6e3d867c2a67deeb4be79e498f0a7cf (patch) | |
tree | 91ac8bbdef29fc68c69f932941eb8446c06a06c9 /interface-definitions/protocols_static_neighbor-proxy.xml.in | |
parent | d46124c5073edf5b92f0814ef8dfaba648ce8ea6 (diff) | |
download | vyos-1x-c56af995b6e3d867c2a67deeb4be79e498f0a7cf.tar.gz vyos-1x-c56af995b6e3d867c2a67deeb4be79e498f0a7cf.zip |
T5559: Add static neighbor-proxy feature
Ability to set ip neigbhor proxy
set protocols static neighbor-proxy arp 192.0.2.1 interface 'eth0'
set protocols static neighbor-proxy arp 192.0.2.2 interface 'eth0'
set protocols static neighbor-proxy nd 2001:db8::1 interface 'eth1'
Diffstat (limited to 'interface-definitions/protocols_static_neighbor-proxy.xml.in')
-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> |