diff options
author | jack9603301 <jack9603301@163.com> | 2020-08-03 17:43:00 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2020-08-03 17:43:00 +0800 |
commit | 9ef82aa5d4db161fd70af4d015f1cf35cc984524 (patch) | |
tree | 8cad816eb309b310763ed5d287c7e1f4154cd414 /op-mode-definitions | |
parent | 091efc96bc0fbeea7c7bf1e8e234c72bc8df801b (diff) | |
download | vyos-1x-9ef82aa5d4db161fd70af4d015f1cf35cc984524.tar.gz vyos-1x-9ef82aa5d4db161fd70af4d015f1cf35cc984524.zip |
ipv6-tool: T2724: Support for IPv6 Toolset
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/force-ipv6-nd.xml | 33 | ||||
-rw-r--r-- | op-mode-definitions/force-ipv6-rd.xml | 34 |
2 files changed, 67 insertions, 0 deletions
diff --git a/op-mode-definitions/force-ipv6-nd.xml b/op-mode-definitions/force-ipv6-nd.xml new file mode 100644 index 000000000..64c8347ea --- /dev/null +++ b/op-mode-definitions/force-ipv6-nd.xml @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="force"> + <children> + <node name="ipv6-nd"> + <properties> + <help>ICMPv6 Neighbor Discovery tool</help> + </properties> + <children> + <tagNode name="interface"> + <properties> + <help>IPv6 Neighbor Discovery on a specific interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + </properties> + <children> + <tagNode name="address"> + <properties> + <help>The IP address of the target</help> + <completionHelp> + <list><h:h:h:h:h:h:h:h></list> + </completionHelp> + </properties> + <command>ndisc6 $6 $4 -m</command> + </tagNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> diff --git a/op-mode-definitions/force-ipv6-rd.xml b/op-mode-definitions/force-ipv6-rd.xml new file mode 100644 index 000000000..722cb67bf --- /dev/null +++ b/op-mode-definitions/force-ipv6-rd.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="force"> + <children> + <node name="ipv6-rd"> + <properties> + <help>IPv6 Router Discovery tool</help> + </properties> + <children> + <tagNode name="interface"> + <properties> + <help>IPv6 Router Discovery tool on a specific interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + </properties> + <command>rdisc6 $4</command> + <children> + <tagNode name="address"> + <properties> + <help>The IP address of the target</help> + <completionHelp> + <list><h:h:h:h:h:h:h:h></list> + </completionHelp> + </properties> + <command>rdisc6 $6 $4 -m</command> + </tagNode> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |