summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-08-02 15:20:20 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2023-08-07 11:32:22 +0300
commit0d54be778ba2bf1c918c43a525d7ef878a1cb9ea (patch)
tree6cc3c0cb7f70ff29c6df5fd77a2c3154e52e1242 /interface-definitions
parentf8cc7f8ee7c87bd95198dfe6c28c966e840ab571 (diff)
downloadvyos-1x-0d54be778ba2bf1c918c43a525d7ef878a1cb9ea.tar.gz
vyos-1x-0d54be778ba2bf1c918c43a525d7ef878a1cb9ea.zip
wireguard: T5409: Added 'set interfaces wireguard wgX threaded'
Added 'set interfaces wireguard wgX threaded' command. Process traffic from each peer in a dedicated thread.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index dd1e8e511..75db9f617 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -119,6 +119,12 @@
</children>
</tagNode>
#include <include/interface/redirect.xml.i>
+ <leafNode name="threaded">
+ <properties>
+ <help>Process traffic from each peer in a dedicated thread</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/interface/vrf.xml.i>
</children>
</tagNode>