diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-04-26 12:42:21 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-04-26 12:42:21 +0000 |
commit | ebff7acdf68a47fb8812bd7fc2d369b8c719f752 (patch) | |
tree | 3ca2986a19efac868af0cfae6686aae396446d57 | |
parent | 1d6006dccca4bcb341789be990e2b01b8eae94e4 (diff) | |
download | vyatta-op-vpn-ebff7acdf68a47fb8812bd7fc2d369b8c719f752.tar.gz vyatta-op-vpn-ebff7acdf68a47fb8812bd7fc2d369b8c719f752.zip |
op-mode: T4395: Extend show vpn debug for IPSec
Op-mode 'show vpn debug'
Old Perl code 'vyatta-vpn-op.pl --op=show-vpn-debug' doesn't give
us enough debug information
In fact it show only 'ipsec statusall'
Add python script to get all required and useful debug info
-rw-r--r-- | templates/show/vpn/debug/node.def.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/vpn/debug/node.def.in b/templates/show/vpn/debug/node.def.in index 6fb98de..6e08421 100644 --- a/templates/show/vpn/debug/node.def.in +++ b/templates/show/vpn/debug/node.def.in @@ -3,7 +3,7 @@ run: if [ -n "$(cli-shell-api returnActiveValues \ vpn ipsec ipsec-interfaces interface)" ]; then if pgrep charon > /dev/null then - @SUDOUSRDIR@/vyatta-vpn-op.pl --op=show-vpn-debug + sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="vpn-debug" else echo IPsec process not running fi |