summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-vpn.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-vpn.xml.in')
-rw-r--r--op-mode-definitions/show-vpn.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/show-vpn.xml.in b/op-mode-definitions/show-vpn.xml.in
new file mode 100644
index 000000000..3fbc74ad1
--- /dev/null
+++ b/op-mode-definitions/show-vpn.xml.in
@@ -0,0 +1,20 @@
+<?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>