From 8449ee5f95ffbf1901202e04ee6e1216f54d8ff8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 25 Dec 2021 11:05:42 +0100 Subject: op-mode: ospfv3: T4095: add missing VRF commands --- .../include/ospfv3/border-routers.xml.i | 20 ++ op-mode-definitions/include/ospfv3/database.xml.i | 238 +++++++++++++++++++++ op-mode-definitions/include/ospfv3/interface.xml.i | 75 +++++++ op-mode-definitions/include/ospfv3/linkstate.xml.i | 38 ++++ op-mode-definitions/include/ospfv3/neighbor.xml.i | 17 ++ .../include/ospfv3/redistribute.xml.i | 8 + op-mode-definitions/include/ospfv3/route.xml.i | 79 +++++++ 7 files changed, 475 insertions(+) create mode 100644 op-mode-definitions/include/ospfv3/border-routers.xml.i create mode 100644 op-mode-definitions/include/ospfv3/database.xml.i create mode 100644 op-mode-definitions/include/ospfv3/interface.xml.i create mode 100644 op-mode-definitions/include/ospfv3/linkstate.xml.i create mode 100644 op-mode-definitions/include/ospfv3/neighbor.xml.i create mode 100644 op-mode-definitions/include/ospfv3/redistribute.xml.i create mode 100644 op-mode-definitions/include/ospfv3/route.xml.i (limited to 'op-mode-definitions/include/ospfv3') diff --git a/op-mode-definitions/include/ospfv3/border-routers.xml.i b/op-mode-definitions/include/ospfv3/border-routers.xml.i new file mode 100644 index 000000000..b6fac6785 --- /dev/null +++ b/op-mode-definitions/include/ospfv3/border-routers.xml.i @@ -0,0 +1,20 @@ + + + + Show OSPFv3 border-router (ABR and ASBR) information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Border router ID + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/include/ospfv3/database.xml.i b/op-mode-definitions/include/ospfv3/database.xml.i new file mode 100644 index 000000000..e98f9e35b --- /dev/null +++ b/op-mode-definitions/include/ospfv3/database.xml.i @@ -0,0 +1,238 @@ + + + + Show OSPFv3 Link state database information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Search by Advertising Router ID + + <x.x.x.x> + + + + #include + + + + + Search by Any Link state Type + + + + + Search by Link state ID + + <x.x.x.x> + + + + #include + #include + #include + + + + + + + Search by Link state ID + + <x.x.x.x> + + + vtysh -c "show ipv6 ospf6 database * $6" + + #include + #include + #include + #include + + + + + Show AS-External LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + Search by Advertising Router ID + + <x.x.x.x> + + + vtysh -c "show ipv6 ospf6 database as-external * $7" + + #include + #include + #include + + + #include + #include + #include + #include + #include + + + + + Search by Advertising Router IDs + + <x.x.x.x> + + + + #include + #include + #include + #include + #include + + + #include + #include + #include + #include + + + Show Group-Membership LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Inter-Area-Prefix LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Inter-Area-Router LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Intra-Area-Prefix LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Link LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Network LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show router LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + Show Type-7 LSAs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + #include + #include + #include + #include + #include + #include + + + + + diff --git a/op-mode-definitions/include/ospfv3/interface.xml.i b/op-mode-definitions/include/ospfv3/interface.xml.i new file mode 100644 index 000000000..0fb66257d --- /dev/null +++ b/op-mode-definitions/include/ospfv3/interface.xml.i @@ -0,0 +1,75 @@ + + + + Show OSPFv3 interface information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show connected prefixes to advertise + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Show interface prefix route specific information + + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + Matched interface prefix information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + + + Specific insterface to examine + + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show connected prefixes to advertise + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Show interface prefix route specific information + + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + Matched interface prefix information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + diff --git a/op-mode-definitions/include/ospfv3/linkstate.xml.i b/op-mode-definitions/include/ospfv3/linkstate.xml.i new file mode 100644 index 000000000..78ef3efa1 --- /dev/null +++ b/op-mode-definitions/include/ospfv3/linkstate.xml.i @@ -0,0 +1,38 @@ + + + + Show OSPFv3 linkstate routing information + + + #include + + + Show linkstate Network information + + <x.x.x.x> + + + + + + Specify Link state ID as IPv4 address notation + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show linkstate Router information + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + diff --git a/op-mode-definitions/include/ospfv3/neighbor.xml.i b/op-mode-definitions/include/ospfv3/neighbor.xml.i new file mode 100644 index 000000000..37859f815 --- /dev/null +++ b/op-mode-definitions/include/ospfv3/neighbor.xml.i @@ -0,0 +1,17 @@ + + + + Show OSPFv3 neighbor information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + Show neighbor DR choice information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + diff --git a/op-mode-definitions/include/ospfv3/redistribute.xml.i b/op-mode-definitions/include/ospfv3/redistribute.xml.i new file mode 100644 index 000000000..1c2d6494f --- /dev/null +++ b/op-mode-definitions/include/ospfv3/redistribute.xml.i @@ -0,0 +1,8 @@ + + + + Show OSPFv3 redistribute external information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/include/ospfv3/route.xml.i b/op-mode-definitions/include/ospfv3/route.xml.i new file mode 100644 index 000000000..9271c9c3a --- /dev/null +++ b/op-mode-definitions/include/ospfv3/route.xml.i @@ -0,0 +1,79 @@ + + + + Show OSPFv3 routing table information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show Type-1 External route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Show Type-2 External route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Show Inter-Area route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + Show Intra-Area route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + #include + + + Show route table summary + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show specified route/prefix information + + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show routes longer than specified prefix + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show routes matching specified prefix + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + #include + + + + + -- cgit v1.2.3