diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-11 19:38:28 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-12-11 20:27:40 +0100 |
commit | ff56aeefddaad2d37d3ea32626e1adf3960eaf26 (patch) | |
tree | f43b289db8073adc10a67607d6e043c18acd764d /op-mode-definitions/monitor-log.xml.in | |
parent | 3296a10dc27d2fb1c79db07b26d62c8abb6a51bc (diff) | |
download | vyos-1x-ff56aeefddaad2d37d3ea32626e1adf3960eaf26.tar.gz vyos-1x-ff56aeefddaad2d37d3ea32626e1adf3960eaf26.zip |
sstp: T4384: initial implementation of SSTP client CLI
vyos@vyos# show interfaces sstpc
sstpc sstpc10 {
authentication {
password vyos
user vyos
}
server sstp.vyos.net
ssl {
ca-certificate VyOS-CA
}
}
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index dccdfaf9a..1b1f53dc2 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -224,6 +224,23 @@ </properties> <command>journalctl --no-hostname --boot --follow --unit ssh.service</command> </leafNode> + <node name="sstpc"> + <properties> + <help>Monitor last lines of SSTP client log</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit "ppp@sstpc*.service"</command> + <children> + <tagNode name="interface"> + <properties> + <help>Monitor last lines of SSTP client log for specific interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py -t sstpc</script> + </completionHelp> + </properties> + <command>journalctl --no-hostname --boot --follow --unit "ppp@$5.service"</command> + </tagNode> + </children> + </node> <node name="vpn"> <properties> <help>Show log for Virtual Private Network (VPN)</help> |