diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/include/ospfv3-detail.xml.i | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-ipv6-ospfv3.xml.in | 30 |
2 files changed, 24 insertions, 8 deletions
diff --git a/op-mode-definitions/include/ospfv3-detail.xml.i b/op-mode-definitions/include/ospfv3-detail.xml.i index 76096fbc8..d5e3b373d 100644 --- a/op-mode-definitions/include/ospfv3-detail.xml.i +++ b/op-mode-definitions/include/ospfv3-detail.xml.i @@ -4,6 +4,6 @@ <help>Show detailed information</help> </properties> <!-- FRR uses ospf6 where we use ospfv3, thus alter the command --> - <command>vtysh -c "show ipv6 ospf6 ${@:4}"</command> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> </node> <!-- included end --> diff --git a/op-mode-definitions/show-ipv6-ospfv3.xml.in b/op-mode-definitions/show-ipv6-ospfv3.xml.in index 9227fdae1..7a6d12eaa 100644 --- a/op-mode-definitions/show-ipv6-ospfv3.xml.in +++ b/op-mode-definitions/show-ipv6-ospfv3.xml.in @@ -381,18 +381,34 @@ </properties> <children> #include <include/ospfv3-detail.xml.i> - <node name="network"> + <tagNode name="network"> <properties> - <help>Show linkstate Network information</help> + <help>Show linkstate Network information (Router ID)</help> + <completionHelp> + <list><x.x.x.x></list> + </completionHelp> </properties> - <command>vtysh -c "show ipv6 ospf6 linkstate network"</command> - </node> - <node name="router"> + <children> + <tagNode name="link-state-id"> + <properties> + <help>Specify Link state ID as IPv4 address notation</help> + <completionHelp> + <list><x.x.x.x></list> + </completionHelp> + </properties> + <command>vtysh -c "show ipv6 ospf6 linkstate network $6 $8"</command> + </tagNode> + </children> + </tagNode> + <tagNode name="router"> <properties> <help>Show linkstate Router information</help> + <completionHelp> + <list><x.x.x.x></list> + </completionHelp> </properties> - <command>vtysh -c "show ipv6 ospf6 linkstate router"</command> - </node> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </tagNode> </children> </node> <node name="neighbor"> |