summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-04 12:14:26 -0800
committerhagbard <vyosdev@derith.de>2019-02-04 12:14:26 -0800
commit1a5b8f62569be1a9475ba2848da36fe2f74021b9 (patch)
tree11b4d00d147a7db4758dd2d182c3d02ce6c5d578 /interface-definitions
parent94860b853a41ce241598cb55966f4c2841cd2c1b (diff)
downloadvyos-1x-1a5b8f62569be1a9475ba2848da36fe2f74021b9.tar.gz
vyos-1x-1a5b8f62569be1a9475ba2848da36fe2f74021b9.zip
enhancement: T1225 - wireguard implement 'set int wireguard wg0 peer name disable' to disable single peers
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 8bfffac9d..a79152146 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -41,7 +41,7 @@
</leafNode>
<leafNode name="disable">
<properties>
- <help>disables the wireguard interface</help>
+ <help>disables peer</help>
<valueless />
</properties>
</leafNode>
@@ -82,6 +82,12 @@
<constraintErrorMessage>peer alias too long (limit 100 characters)</constraintErrorMessage>
</properties>
<children>
+ <leafNode name="disable">
+ <properties>
+ <help>disables peer</help>
+ <valueless />
+ </properties>
+ </leafNode>
<leafNode name="pubkey">
<properties>
<help>base64 encoded public key</help>