From 52830ddfad973ff8acac48cc1ce57af655d9ed5a Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 21 Jul 2023 21:23:18 +0200 Subject: ospf: T5377: add op-mode commands to display GR status --- op-mode-definitions/include/ospf/common.xml.i | 559 +++++++++++++++++++++ .../include/ospf/graceful-restart.xml.i | 13 + 2 files changed, 572 insertions(+) create mode 100644 op-mode-definitions/include/ospf/common.xml.i create mode 100644 op-mode-definitions/include/ospf/graceful-restart.xml.i (limited to 'op-mode-definitions/include/ospf') diff --git a/op-mode-definitions/include/ospf/common.xml.i b/op-mode-definitions/include/ospf/common.xml.i new file mode 100644 index 000000000..c8341bd3e --- /dev/null +++ b/op-mode-definitions/include/ospf/common.xml.i @@ -0,0 +1,559 @@ + + + + Show IPv4 OSPF border-routers information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF database information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database for given address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database for given address of advertised router + + + + + + + Show IPv4 OSPF ASBR summary database information of given address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF ASBR summary database of given address for given advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show summary of self-originate IPv4 OSPF ASBR database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF external database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF external database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF external database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF external database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF max-age database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database for given address of advertised router + + + + + + + Show IPv4 OSPF network database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF network database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF network database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF NSSA external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF NSSA external database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF NSSA external database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF NSSA external database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF NSSA external database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF NSSA external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-area database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-area database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-area database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-area database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-area database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-area database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-as database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-as database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-as database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-as database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-as database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-as database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-link database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-link database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-link database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-link database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-link database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-link database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF router database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF router database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF router database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF router database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF router database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF router database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF self-originate database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show summary of IPv4 OSPF database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF summary database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF summary database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF summary database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF summary database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF summary database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + +#include + + + Show IPv4 OSPF interface information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + +#include + + + Show MPLS information + + + #include + + + + + Show IPv4 OSPF neighbor information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show detailed IPv4 OSPF neighbor information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF neighbor information for specified IP address or interface + + <x.x.x.x> + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show detailed IPv4 OSPF route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + diff --git a/op-mode-definitions/include/ospf/graceful-restart.xml.i b/op-mode-definitions/include/ospf/graceful-restart.xml.i new file mode 100644 index 000000000..736d8f951 --- /dev/null +++ b/op-mode-definitions/include/ospf/graceful-restart.xml.i @@ -0,0 +1,13 @@ + + + Show IPv4 OSPF Graceful Restart + + + + + OSPF Graceful Restart helper details + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + -- cgit v1.2.3