summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-08-23 13:50:12 -0700
committerhagbard <vyosdev@derith.de>2018-08-23 13:50:12 -0700
commit96778964422910e5d07cfa02b1edb01f6bd870e1 (patch)
tree9ebe7a8221b88d228af8c9447c2087b361737cd4 /interface-definitions
parent8e685a16a1a478a7aead5b655dac99c3987af35c (diff)
downloadvyos-1x-96778964422910e5d07cfa02b1edb01f6bd870e1.tar.gz
vyos-1x-96778964422910e5d07cfa02b1edb01f6bd870e1.zip
T793: fwmark implementation
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 3b301fc3b..f025eb0da 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -16,12 +16,6 @@
</valueHelp>
</properties>
<children>
- <!--
- <leafNode name="mtu">
- <properties>
- <help>set interface mtu (default: 1420)</help>
- </leafNode>
- -->
<leafNode name="address">
<properties>
<help>IP address</help>
@@ -56,6 +50,18 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="fwmark">
+ <properties>
+ <help>A 32-bit fwmark value set on all outgoing packets</help>
+ <valueHelp>
+ <format>number</format>
+ <description>value which marks the packet for QoS/shaper</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ </leafNode>
<tagNode name="peer">
<properties>
<help>peer alias</help>