diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-04 13:10:03 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-04 13:10:03 +0000 |
commit | dcf89afba457fd4e4d4f764484f329c19d8ed554 (patch) | |
tree | 607ca4b197a126da97bcffb744f5fe244bdbde02 /op-mode-definitions/vpn-ipsec.xml.in | |
parent | 2131309c162065ebfdd99d58ebb3e2d377dfed67 (diff) | |
download | vyos-1x-dcf89afba457fd4e4d4f764484f329c19d8ed554.tar.gz vyos-1x-dcf89afba457fd4e4d4f764484f329c19d8ed554.zip |
ipsec: T4594: Rewrite op-mode show vpn ipsec sa
Rewrite op-mode "show vpn ipsec sa" to new format
Use vyos.opmode format
Ability to get raw and formatted output
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r-- | op-mode-definitions/vpn-ipsec.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in index a98cf8ff2..8c9e76651 100644 --- a/op-mode-definitions/vpn-ipsec.xml.in +++ b/op-mode-definitions/vpn-ipsec.xml.in @@ -187,7 +187,7 @@ <command>if pgrep charon >/dev/null ; then sudo /usr/sbin/ipsec statusall ; else echo "IPSec process not running" ; fi</command> </node> </children> - <command>if pgrep charon >/dev/null ; then sudo ${vyos_op_scripts_dir}/show_ipsec_sa.py ; else echo "IPSec process not running" ; fi</command> + <command>if pgrep charon >/dev/null ; then sudo ${vyos_op_scripts_dir}/ipsec.py show_sa ; else echo "IPSec process not running" ; fi</command> </node> <node name="state"> <properties> |