summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-07-27 18:34:45 +0000
committerViacheslav <v.gletenko@vyos.io>2021-08-02 08:11:20 +0000
commita378822f26268c1e8cbfcf754e5cad5c310c7c3c (patch)
treeb15caa1455e69bc5a3c40ce4edf250dfd0646979 /interface-definitions
parent67a5ca7fa372f8e3679b533d370ffa362c76f4ca (diff)
downloadvyos-1x-a378822f26268c1e8cbfcf754e5cad5c310c7c3c.tar.gz
vyos-1x-a378822f26268c1e8cbfcf754e5cad5c310c7c3c.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>