summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/ospfv3-dump.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-10 10:25:41 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-10 11:00:39 +0100
commit1e3de0926517fe7b7b1bd14aa1bd9d74fc021505 (patch)
tree10ca4dc647f5853ab9e887e8e6ab88b680877426 /op-mode-definitions/include/ospfv3-dump.xml.i
parente982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 (diff)
downloadvyos-1x-1e3de0926517fe7b7b1bd14aa1bd9d74fc021505.tar.gz
vyos-1x-1e3de0926517fe7b7b1bd14aa1bd9d74fc021505.zip
op-mode: T3178: migrate most of the OSPFv3 parts to re-includable snippets
This eases CLI maintenance and also migration from legacy code.
Diffstat (limited to 'op-mode-definitions/include/ospfv3-dump.xml.i')
-rw-r--r--op-mode-definitions/include/ospfv3-dump.xml.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/include/ospfv3-dump.xml.i b/op-mode-definitions/include/ospfv3-dump.xml.i
new file mode 100644
index 000000000..4271aec53
--- /dev/null
+++ b/op-mode-definitions/include/ospfv3-dump.xml.i
@@ -0,0 +1,9 @@
+<!-- included start from ospfv3-dump.xml.i -->
+<node name="dump">
+ <properties>
+ <help>Show dump of LSAs</help>
+ </properties>
+ <!-- FRR uses ospf6 where we use ospfv3, thus alter the command -->
+ <command>vtysh -c "show ipv6 ospf6 ${@:4}"</command>
+</node>
+<!-- included end -->