summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-07-27 18:34:45 +0000
committerHenning Surmeier <me@hensur.de>2022-02-23 22:07:46 +0100
commit8f9c222de6ed33f76198d4bbecfb8012021f5582 (patch)
treea3ae4d95c3e283e82276c5bedc208c39ab99a750 /interface-definitions
parent3ecdcc69401bddaa4b07fe024da149d6edb5da2d (diff)
downloadvyos-1x-8f9c222de6ed33f76198d4bbecfb8012021f5582.tar.gz
vyos-1x-8f9c222de6ed33f76198d4bbecfb8012021f5582.zip
pbr: T3702: Add rules match fwmark
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy-local-route.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/policy-local-route.xml.in b/interface-definitions/policy-local-route.xml.in
index 3769c3748..86445b65d 100644
--- a/interface-definitions/policy-local-route.xml.in
+++ b/interface-definitions/policy-local-route.xml.in
@@ -40,6 +40,18 @@
</leafNode>
</children>
</node>
+ <leafNode name="fwmark">
+ <properties>
+ <help>Match fwmark value</help>
+ <valueHelp>
+ <format>u32:1-2147483647</format>
+ <description>Address to match against</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2147483647"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="source">
<properties>
<help>Source address or prefix</help>