summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-04 12:14:26 -0800
committerDaniil Baturin <daniil@baturin.org>2019-02-28 14:59:54 +0100
commitbd654e86b6567045d337606b63f276d14b59b224 (patch)
tree39c07613b13069bbf0b02d6955bbe32a1cf34117 /interface-definitions
parentcfbfeb7ce87802db0028e3a5f857ea75e6035ca3 (diff)
downloadvyos-1x-bd654e86b6567045d337606b63f276d14b59b224.tar.gz
vyos-1x-bd654e86b6567045d337606b63f276d14b59b224.zip
enhancement: T1225 - wireguard implement 'set int wireguard wg0 peer name disable' to disable single peers
Conflicts: debian/changelog
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 05070de09..8c2cc9d96 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -44,7 +44,7 @@
</leafNode>
<leafNode name="disable">
<properties>
- <help>disables the wireguard interface</help>
+ <help>disables peer</help>
<valueless />
</properties>
</leafNode>
@@ -85,6 +85,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>