From 5e8307bf3a7f816193ca9da8cb290d57bbb375f2 Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Fri, 9 Aug 2024 18:08:56 +0300 Subject: nhrp: T2326: NHRP migration to FRR NHRP migration to FRR --- op-mode-definitions/nhrp.xml.in | 73 +++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 36 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/nhrp.xml.in b/op-mode-definitions/nhrp.xml.in index 11a4b8814..515c0af39 100644 --- a/op-mode-definitions/nhrp.xml.in +++ b/op-mode-definitions/nhrp.xml.in @@ -2,38 +2,26 @@ - - - Clear/Purge NHRP entries - + - + - Clear all non-permanent entries + Clear/Purge NHRP entries - + - Clear all non-permanent entries + Clear Dynamic cache entries - sudo opennhrpctl flush dev $5 || echo OpenNHRP is not running. - - - sudo opennhrpctl flush || echo OpenNHRP is not running. - - - - Purge entries from NHRP cache - - - + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + - Purge all entries from NHRP cache + Clear Shortcut entries - sudo opennhrpctl purge dev $5 || echo OpenNHRP is not running. - + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + - sudo opennhrpctl purge || echo OpenNHRP is not running. @@ -41,25 +29,38 @@ - + - Show NHRP (Next Hop Resolution Protocol) information + Show IPv4 routing information - + - Show NHRP interface connection information + Show NHRP (Next Hop Resolution Protocol) information - ${vyos_op_scripts_dir}/nhrp.py show_interface - - - - Show NHRP tunnel connection information - - ${vyos_op_scripts_dir}/nhrp.py show_tunnel - + + + + Show NHRP interface connection information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show NHRP tunnel connection information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show NHRP tunnel connection information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + - + -- cgit v1.2.3