diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-14 18:24:13 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-14 18:24:13 +0200 |
commit | f96435277e4c2b1e305f10f39206e281693f6232 (patch) | |
tree | b4fc83e50c031b0e866e3c35ea75ba619ec8fef0 /op-mode-definitions | |
parent | e36a4e684b95c4fd1e9ab042270fafd95e697586 (diff) | |
download | vyos-1x-f96435277e4c2b1e305f10f39206e281693f6232.tar.gz vyos-1x-f96435277e4c2b1e305f10f39206e281693f6232.zip |
op-mode: combine two "show vpn" definitions
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-vpn.xml.in | 20 | ||||
-rw-r--r-- | op-mode-definitions/vpn-ipsec.xml.in | 6 |
2 files changed, 6 insertions, 20 deletions
diff --git a/op-mode-definitions/show-vpn.xml.in b/op-mode-definitions/show-vpn.xml.in deleted file mode 100644 index 3fbc74ad1..000000000 --- a/op-mode-definitions/show-vpn.xml.in +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<interfaceDefinition> - <node name="show"> - <children> - <node name="vpn"> - <properties> - <help>Show active remote access Virtual Private Network (VPN) sessions</help> - </properties> - <children> - <leafNode name="remote-access"> - <properties> - <help>Show active VPN server sessions</help> - </properties> - <command>${vyos_op_scripts_dir}/show_vpn_ra.py</command> - </leafNode> - </children> - </node> - </children> - </node> -</interfaceDefinition> diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in index 20f275e9b..18b72b87c 100644 --- a/op-mode-definitions/vpn-ipsec.xml.in +++ b/op-mode-definitions/vpn-ipsec.xml.in @@ -140,6 +140,12 @@ </properties> <command>sudo ip xfrm policy list</command> </node> + <leafNode name="remote-access"> + <properties> + <help>Show active VPN server sessions</help> + </properties> + <command>${vyos_op_scripts_dir}/show_vpn_ra.py</command> + </leafNode> <node name="sa"> <properties> <help>Show all active IPSec Security Associations (SA)</help> |