diff options
| author | Giga Murphy <giga1699@gmail.com> | 2026-05-21 23:15:49 +0000 |
|---|---|---|
| committer | Giga Murphy <giga1699@gmail.com> | 2026-05-21 23:15:49 +0000 |
| commit | 81ad0d10ad1df093cb19f715d39696e50f75411a (patch) | |
| tree | cd2e57ed74a523ab2355e181b2cd15eaefe241fc /interface-definitions | |
| parent | 6fa4967f49e988e4979c611ee9199bb14bef8536 (diff) | |
| download | vyos-1x-81ad0d10ad1df093cb19f715d39696e50f75411a.tar.gz vyos-1x-81ad0d10ad1df093cb19f715d39696e50f75411a.zip | |
openconnect: T7654: OpenConnect Script Execution
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/vpn_openconnect.xml.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/vpn_openconnect.xml.in b/interface-definitions/vpn_openconnect.xml.in index fc90e5865..e9280cd12 100644 --- a/interface-definitions/vpn_openconnect.xml.in +++ b/interface-definitions/vpn_openconnect.xml.in @@ -420,6 +420,37 @@ </leafNode> </children> </node> + <node name="script"> + <properties> + <help>Execute script on client connect/disconnect</help> + </properties> + <children> + <leafNode name="connect"> + <properties> + <help>Script to execute upon client connecting</help> + <valueHelp> + <format>filename</format> + <description>Client connect script, must be under /config/scripts</description> + </valueHelp> + <constraint> + <validator name="file-path" argument="--file --parent-dir /config/scripts --strict"/> + </constraint> + </properties> + </leafNode> + <leafNode name="disconnect"> + <properties> + <help>Script to execute upon client disconnecting</help> + <valueHelp> + <format>filename</format> + <description>Client disconnect script, must be under /config/scripts</description> + </valueHelp> + <constraint> + <validator name="file-path" argument="--file --parent-dir /config/scripts --strict"/> + </constraint> + </properties> + </leafNode> + </children> + </node> </children> </node> </children> |
