diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-02-09 14:59:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 14:59:59 +0000 |
commit | 078faa6718c2afb918031f52430d586a006dd050 (patch) | |
tree | 5a140535a71ee259e7d07c1a0e74dded6e08c8b7 /op-mode-definitions/nhrp.xml.in | |
parent | 330466f39bd31716a524a01978d8e95514d4eb4b (diff) | |
parent | cccfa2b3df2f130955b725f6781f3c821800b238 (diff) | |
download | vyos-1x-078faa6718c2afb918031f52430d586a006dd050.tar.gz vyos-1x-078faa6718c2afb918031f52430d586a006dd050.zip |
Merge pull request #1793 from aapostoliuk/T4905-sagitta
nhrp: T4905: Rewritten nhrp op-mode in new style
Diffstat (limited to 'op-mode-definitions/nhrp.xml.in')
-rw-r--r-- | op-mode-definitions/nhrp.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <properties> <help>Show NHRP interface connection information</help> </properties> - <command>if pgrep opennhrp >/dev/null; then sudo opennhrpctl interface show; else echo OpenNHRP is not running; fi</command> + <command>${vyos_op_scripts_dir}/nhrp.py show_interface</command> </leafNode> <leafNode name="tunnel"> <properties> <help>Show NHRP tunnel connection information</help> </properties> - <command>if pgrep opennhrp >/dev/null; then sudo opennhrpctl show ; else echo OpenNHRP is not running; fi</command> + <command>${vyos_op_scripts_dir}/nhrp.py show_tunnel</command> </leafNode> </children> </node> |