summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ipv6-ospfv3.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-25 12:19:33 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-25 12:19:33 +0100
commit4abca54698edb09b76e7d059dd35cdcef3512ec4 (patch)
treeb7ed643cf492423078a69b065dcfc583e1390f4c /op-mode-definitions/show-ipv6-ospfv3.xml.in
parent8449ee5f95ffbf1901202e04ee6e1216f54d8ff8 (diff)
downloadvyos-1x-4abca54698edb09b76e7d059dd35cdcef3512ec4.tar.gz
vyos-1x-4abca54698edb09b76e7d059dd35cdcef3512ec4.zip
ospfv3: T4102: add support for NSSA area-type
Diffstat (limited to 'op-mode-definitions/show-ipv6-ospfv3.xml.in')
-rw-r--r--op-mode-definitions/show-ipv6-ospfv3.xml.in24
1 files changed, 22 insertions, 2 deletions
diff --git a/op-mode-definitions/show-ipv6-ospfv3.xml.in b/op-mode-definitions/show-ipv6-ospfv3.xml.in
index 82d6b5f4c..a63465472 100644
--- a/op-mode-definitions/show-ipv6-ospfv3.xml.in
+++ b/op-mode-definitions/show-ipv6-ospfv3.xml.in
@@ -26,7 +26,7 @@
<path>protocols ospfv3 area</path>
</completionHelp>
</properties>
- <command>vtysh -c "show ipv6 ospf6 spf tree"</command>
+ <command>vtysh -c "show ipv6 ospf6 area $5 spf tree"</command>
<children>
<tagNode name="router">
<properties>
@@ -35,7 +35,7 @@
<list>&lt;x.x.x.x&gt;</list>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ spf tree</command>
+ <command>vtysh -c "show ipv6 ospf6 simulate spf-tree $7 $4 $5"</command>
</tagNode>
</children>
</tagNode>
@@ -72,6 +72,26 @@
</properties>
<command>vtysh -c "show ipv6 ospf6 vrf $5 spf tree"</command>
</node>
+ <tagNode name="area">
+ <properties>
+ <help>Area ID (as an IPv4 notation)</help>
+ <completionHelp>
+ <path>protocols ospfv3 area</path>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 ospf6 vrf $5 area $7 spf tree"</command>
+ <children>
+ <tagNode name="router">
+ <properties>
+ <help> Simulate view point (Router ID)</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 ospf6 vrf $5 simulate spf-tree $9 $6 $7"</command>
+ </tagNode>
+ </children>
+ </tagNode>
#include <include/ospfv3/border-routers.xml.i>
#include <include/ospfv3/database.xml.i>
#include <include/ospfv3/interface.xml.i>