summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-03 19:03:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-03 19:03:31 +0200
commitf2b84c3d6fe292944d0b0f3b0ab4a73629b0318a (patch)
treef89d9528ff60687b9fd314f4278d5c0037275d11
parentca2ab503f42a8446175954e9e7280ecc8e75e927 (diff)
parent9ef82aa5d4db161fd70af4d015f1cf35cc984524 (diff)
downloadvyos-1x-f2b84c3d6fe292944d0b0f3b0ab4a73629b0318a.tar.gz
vyos-1x-f2b84c3d6fe292944d0b0f3b0ab4a73629b0318a.zip
Merge branch 'T2724' of https://github.com/jack9603301/vyos-1x into current
* 'T2724' of https://github.com/jack9603301/vyos-1x: ipv6-tool: T2724: Support for IPv6 Toolset
-rw-r--r--op-mode-definitions/force-ipv6-nd.xml33
-rw-r--r--op-mode-definitions/force-ipv6-rd.xml34
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>&lt;h:h:h:h:h:h:h:h&gt;</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>&lt;h:h:h:h:h:h:h:h&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>rdisc6 $6 $4 -m</command>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>