diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-12 08:10:22 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-12 08:10:55 +0200 |
commit | 2f3043ffce8a2556d12b3193df7fd3cdc9fdad09 (patch) | |
tree | ded26c2c10a2f8d02124683b1274e1db211aa289 | |
parent | 562f4c276215cb8175aea1af8b279bd8e2a21171 (diff) | |
download | vyos-1x-2f3043ffce8a2556d12b3193df7fd3cdc9fdad09.tar.gz vyos-1x-2f3043ffce8a2556d12b3193df7fd3cdc9fdad09.zip |
op-mode: T427: add "summary" command for WireGuard interface information
-rw-r--r-- | op-mode-definitions/wireguard.xml.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/op-mode-definitions/wireguard.xml.in b/op-mode-definitions/wireguard.xml.in index 0df838b50..a84980b44 100644 --- a/op-mode-definitions/wireguard.xml.in +++ b/op-mode-definitions/wireguard.xml.in @@ -145,7 +145,12 @@ </properties> <command>sudo wg show "$4" peers</command> </leafNode> - <!-- more commands upon request --> + <leafNode name="summary"> + <properties> + <help>Shows current configuration and device information</help> + </properties> + <command>sudo wg show "$4"</command> + </leafNode> </children> </tagNode> <node name="wireguard"> |