diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-21 21:23:18 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-21 21:23:18 +0200 |
commit | 52830ddfad973ff8acac48cc1ce57af655d9ed5a (patch) | |
tree | 6b722346d816c52f6aff15fa4e1b77b78b683e40 /op-mode-definitions/include | |
parent | 9cdfbd77f7414ea8a13ae66df41035d2f6edef32 (diff) | |
download | vyos-1x-52830ddfad973ff8acac48cc1ce57af655d9ed5a.tar.gz vyos-1x-52830ddfad973ff8acac48cc1ce57af655d9ed5a.zip |
ospf: T5377: add op-mode commands to display GR status
Diffstat (limited to 'op-mode-definitions/include')
-rw-r--r-- | op-mode-definitions/include/ospf/common.xml.i (renamed from op-mode-definitions/include/ospf-common.xml.i) | 2 | ||||
-rw-r--r-- | op-mode-definitions/include/ospf/graceful-restart.xml.i | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/op-mode-definitions/include/ospf-common.xml.i b/op-mode-definitions/include/ospf/common.xml.i index 979ffb07e..c8341bd3e 100644 --- a/op-mode-definitions/include/ospf-common.xml.i +++ b/op-mode-definitions/include/ospf/common.xml.i @@ -502,6 +502,7 @@ </tagNode> </children> </node> +#include <include/ospf/graceful-restart.xml.i> <node name="interface"> <properties> <help>Show IPv4 OSPF interface information</help> @@ -556,4 +557,3 @@ </children> </node> <!-- included end --> - 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 @@ +<node name="graceful-restart"> + <properties> + <help>Show IPv4 OSPF Graceful Restart</help> + </properties> + <children> + <leafNode name="helper"> + <properties> + <help>OSPF Graceful Restart helper details</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + </children> + </node> |