From bd7cc746a9f6e7e18f2c73e4b66f4db24618c223 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 31 Jul 2023 21:02:16 +0200 Subject: op-mode: T3700: provide generic frr-detail XML building block --- op-mode-definitions/include/frr-detail.xml.i | 8 ++++++ op-mode-definitions/include/ospf/common.xml.i | 7 +---- .../include/ospfv3/adv-router-id-node-tag.xml.i | 2 +- .../include/ospfv3/adv-router.xml.i | 2 +- .../include/ospfv3/border-routers.xml.i | 2 +- op-mode-definitions/include/ospfv3/database.xml.i | 30 +++++++++++----------- op-mode-definitions/include/ospfv3/detail.xml.i | 8 ------ op-mode-definitions/include/ospfv3/interface.xml.i | 8 +++--- .../include/ospfv3/linkstate-id-node-tag.xml.i | 2 +- .../include/ospfv3/linkstate-id.xml.i | 2 +- op-mode-definitions/include/ospfv3/linkstate.xml.i | 2 +- op-mode-definitions/include/ospfv3/neighbor.xml.i | 2 +- op-mode-definitions/include/ospfv3/route.xml.i | 12 ++++----- .../include/ospfv3/self-originated.xml.i | 2 +- 14 files changed, 42 insertions(+), 47 deletions(-) create mode 100644 op-mode-definitions/include/frr-detail.xml.i delete mode 100644 op-mode-definitions/include/ospfv3/detail.xml.i (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/include/frr-detail.xml.i b/op-mode-definitions/include/frr-detail.xml.i new file mode 100644 index 000000000..4edf82eab --- /dev/null +++ b/op-mode-definitions/include/frr-detail.xml.i @@ -0,0 +1,8 @@ + + + + Show detailed information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/include/ospf/common.xml.i b/op-mode-definitions/include/ospf/common.xml.i index c8341bd3e..684073cc5 100644 --- a/op-mode-definitions/include/ospf/common.xml.i +++ b/op-mode-definitions/include/ospf/common.xml.i @@ -524,12 +524,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - - - Show detailed IPv4 OSPF neighbor information - - ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - + #include 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 a1bd67a90..806366444 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 @@ -8,7 +8,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include #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 a14fc39db..238242d11 100644 --- a/op-mode-definitions/include/ospfv3/adv-router.xml.i +++ b/op-mode-definitions/include/ospfv3/adv-router.xml.i @@ -7,7 +7,7 @@ - #include + #include #include #include #include diff --git a/op-mode-definitions/include/ospfv3/border-routers.xml.i b/op-mode-definitions/include/ospfv3/border-routers.xml.i index b6fac6785..e8827a2c4 100644 --- a/op-mode-definitions/include/ospfv3/border-routers.xml.i +++ b/op-mode-definitions/include/ospfv3/border-routers.xml.i @@ -5,7 +5,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include diff --git a/op-mode-definitions/include/ospfv3/database.xml.i b/op-mode-definitions/include/ospfv3/database.xml.i index e98f9e35b..fdc45f184 100644 --- a/op-mode-definitions/include/ospfv3/database.xml.i +++ b/op-mode-definitions/include/ospfv3/database.xml.i @@ -29,7 +29,7 @@ - #include + #include #include #include @@ -45,7 +45,7 @@ vtysh -c "show ipv6 ospf6 database * $6" - #include + #include #include #include #include @@ -67,12 +67,12 @@ vtysh -c "show ipv6 ospf6 database as-external * $7" - #include + #include #include #include - #include + #include #include #include #include @@ -87,14 +87,14 @@ - #include + #include #include #include #include #include - #include + #include #include #include #include @@ -105,7 +105,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -120,7 +120,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -135,7 +135,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -150,7 +150,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -165,7 +165,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -180,7 +180,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -195,7 +195,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -210,7 +210,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include @@ -225,7 +225,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ #include - #include + #include #include #include #include diff --git a/op-mode-definitions/include/ospfv3/detail.xml.i b/op-mode-definitions/include/ospfv3/detail.xml.i deleted file mode 100644 index 4e3c91268..000000000 --- a/op-mode-definitions/include/ospfv3/detail.xml.i +++ /dev/null @@ -1,8 +0,0 @@ - - - - Show detailed information - - ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - - diff --git a/op-mode-definitions/include/ospfv3/interface.xml.i b/op-mode-definitions/include/ospfv3/interface.xml.i index 7a0b8ea48..45d5dbd45 100644 --- a/op-mode-definitions/include/ospfv3/interface.xml.i +++ b/op-mode-definitions/include/ospfv3/interface.xml.i @@ -11,7 +11,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include @@ -23,7 +23,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include Matched interface prefix information @@ -49,7 +49,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include @@ -61,7 +61,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include Matched interface prefix information 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 index ee3863b35..66674e754 100644 --- a/op-mode-definitions/include/ospfv3/linkstate-id-node-tag.xml.i +++ b/op-mode-definitions/include/ospfv3/linkstate-id-node-tag.xml.i @@ -8,7 +8,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include #include #include #include diff --git a/op-mode-definitions/include/ospfv3/linkstate-id.xml.i b/op-mode-definitions/include/ospfv3/linkstate-id.xml.i index 9ead17c20..aa226c988 100644 --- a/op-mode-definitions/include/ospfv3/linkstate-id.xml.i +++ b/op-mode-definitions/include/ospfv3/linkstate-id.xml.i @@ -7,7 +7,7 @@ - #include + #include #include #include diff --git a/op-mode-definitions/include/ospfv3/linkstate.xml.i b/op-mode-definitions/include/ospfv3/linkstate.xml.i index 78ef3efa1..030dc7923 100644 --- a/op-mode-definitions/include/ospfv3/linkstate.xml.i +++ b/op-mode-definitions/include/ospfv3/linkstate.xml.i @@ -4,7 +4,7 @@ Show OSPFv3 linkstate routing information - #include + #include Show linkstate Network information diff --git a/op-mode-definitions/include/ospfv3/neighbor.xml.i b/op-mode-definitions/include/ospfv3/neighbor.xml.i index 37859f815..b736270be 100644 --- a/op-mode-definitions/include/ospfv3/neighbor.xml.i +++ b/op-mode-definitions/include/ospfv3/neighbor.xml.i @@ -5,7 +5,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include Show neighbor DR choice information diff --git a/op-mode-definitions/include/ospfv3/route.xml.i b/op-mode-definitions/include/ospfv3/route.xml.i index 9271c9c3a..a5b97cd05 100644 --- a/op-mode-definitions/include/ospfv3/route.xml.i +++ b/op-mode-definitions/include/ospfv3/route.xml.i @@ -11,7 +11,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include @@ -20,7 +20,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include @@ -29,7 +29,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include @@ -38,10 +38,10 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include - #include + #include Show route table summary @@ -71,7 +71,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #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 734f3f8ad..7549ccb2c 100644 --- a/op-mode-definitions/include/ospfv3/self-originated.xml.i +++ b/op-mode-definitions/include/ospfv3/self-originated.xml.i @@ -5,7 +5,7 @@ ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - #include + #include #include #include -- cgit v1.2.3