diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2021-05-26 21:44:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 20:44:26 +0200 |
commit | 87ccd1b8242b7b58897c33b30a43a2f42fc43e39 (patch) | |
tree | a35ae1c32e9e1fd65693ea9c7cfc2f332f34bae7 /op-mode-definitions/show-ipv6-ospfv3.xml.in | |
parent | 32bc1e5babd1bd31909a93ca1818998bf46db003 (diff) | |
download | vyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.tar.gz vyos-1x-87ccd1b8242b7b58897c33b30a43a2f42fc43e39.zip |
ospfv3: T3581: Fix op-mode for linkstate
Diffstat (limited to 'op-mode-definitions/show-ipv6-ospfv3.xml.in')
-rw-r--r-- | op-mode-definitions/show-ipv6-ospfv3.xml.in | 30 |
1 files changed, 23 insertions, 7 deletions
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"> |