From cccfa2b3df2f130955b725f6781f3c821800b238 Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Tue, 31 Jan 2023 11:39:29 +0200 Subject: nhrp: T4905: Rewritten nhrp op-mode in new style 1. Formatted output of 'show nhrp' commands to table view 2. Rewritten nhrp op-mode in new style --- op-mode-definitions/nhrp.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions/nhrp.xml.in') diff --git a/op-mode-definitions/nhrp.xml.in b/op-mode-definitions/nhrp.xml.in index c10b111a7..11a4b8814 100644 --- a/op-mode-definitions/nhrp.xml.in +++ b/op-mode-definitions/nhrp.xml.in @@ -50,13 +50,13 @@ Show NHRP interface connection information - if pgrep opennhrp >/dev/null; then sudo opennhrpctl interface show; else echo OpenNHRP is not running; fi + ${vyos_op_scripts_dir}/nhrp.py show_interface Show NHRP tunnel connection information - if pgrep opennhrp >/dev/null; then sudo opennhrpctl show ; else echo OpenNHRP is not running; fi + ${vyos_op_scripts_dir}/nhrp.py show_tunnel -- cgit v1.2.3