From 1c91987c494f80f8fe80de1534638362c7bd978e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 10 Jan 2021 16:44:07 +0100 Subject: op-mode: T3178: add remaining "show ipv6 ospfv3 database" commands from vyatta-op-quagga --- .../include/ospfv3-adv-router-id-node-tag.xml.i | 3 +- .../include/ospfv3-adv-router.xml.i | 3 + .../include/ospfv3-linkstate-id-node-tag.xml.i | 18 +++ .../include/ospfv3-self-originated.xml.i | 3 +- op-mode-definitions/show-ipv6-ospfv3.xml.in | 156 ++++++++++++++++++++- 5 files changed, 180 insertions(+), 3 deletions(-) create mode 100644 op-mode-definitions/include/ospfv3-linkstate-id-node-tag.xml.i (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/include/ospfv3-adv-router-id-node-tag.xml.i b/op-mode-definitions/include/ospfv3-adv-router-id-node-tag.xml.i index b6a64c52a..312ce2a4f 100644 --- a/op-mode-definitions/include/ospfv3-adv-router-id-node-tag.xml.i +++ b/op-mode-definitions/include/ospfv3-adv-router-id-node-tag.xml.i @@ -6,7 +6,8 @@ <x.x.x.x> - vtysh -c "show ipv6 ospf6 database * $6 $7" + + vtysh -c "show ipv6 ospf6 ${@:4}" #include #include diff --git a/op-mode-definitions/include/ospfv3-adv-router.xml.i b/op-mode-definitions/include/ospfv3-adv-router.xml.i index 6330c0a72..d17538d4d 100644 --- a/op-mode-definitions/include/ospfv3-adv-router.xml.i +++ b/op-mode-definitions/include/ospfv3-adv-router.xml.i @@ -7,6 +7,9 @@ + #include + #include + #include #include diff --git a/op-mode-definitions/include/ospfv3-linkstate-id-node-tag.xml.i b/op-mode-definitions/include/ospfv3-linkstate-id-node-tag.xml.i new file mode 100644 index 000000000..24b549d28 --- /dev/null +++ b/op-mode-definitions/include/ospfv3-linkstate-id-node-tag.xml.i @@ -0,0 +1,18 @@ + + + + Search by Link state ID + + <x.x.x.x> + + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + + + diff --git a/op-mode-definitions/include/ospfv3-self-originated.xml.i b/op-mode-definitions/include/ospfv3-self-originated.xml.i index 76054757b..180bca6f6 100644 --- a/op-mode-definitions/include/ospfv3-self-originated.xml.i +++ b/op-mode-definitions/include/ospfv3-self-originated.xml.i @@ -3,7 +3,8 @@ Show Self-originated LSAs - vtysh -c "show ipv6 ospf6 database as-external $6 self-originated" + + vtysh -c "show ipv6 ospf6 ${@:4}" #include #include diff --git a/op-mode-definitions/show-ipv6-ospfv3.xml.in b/op-mode-definitions/show-ipv6-ospfv3.xml.in index bbae74c75..9227fdae1 100644 --- a/op-mode-definitions/show-ipv6-ospfv3.xml.in +++ b/op-mode-definitions/show-ipv6-ospfv3.xml.in @@ -63,7 +63,17 @@ vtysh -c "show ipv6 ospf6 database" - #include + + + Search by Advertising Router ID + + <x.x.x.x> + + + + #include + + Search by Any Link state Type @@ -146,6 +156,150 @@ #include #include #include + + + Show Group-Membership LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Inter-Area-Prefix LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Inter-Area-Router LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Intra-Area-Prefix LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Link LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Network LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show router LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Type-7 LSAs + + + vtysh -c "show ipv6 ospf6 ${@:4}" + + #include + #include + #include + #include + #include + #include + #include + + -- cgit v1.2.3