summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy/route-rule-action.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-01 08:19:21 +0100
committerGitHub <noreply@github.com>2023-03-01 08:19:21 +0100
commit157ac088a57fcccd9f7e8298ba87b3f29658af31 (patch)
treee149425598a93b39847434bdfdcc1bb18bfd8dd1 /interface-definitions/include/policy/route-rule-action.xml.i
parent15577ba5a14ca8a0ae01c272a7b28a0048937750 (diff)
parent112fabb4bbb0aebe91e67d34d9f0678b39c1d1bb (diff)
downloadvyos-1x-157ac088a57fcccd9f7e8298ba87b3f29658af31.tar.gz
vyos-1x-157ac088a57fcccd9f7e8298ba87b3f29658af31.zip
Merge pull request #1854 from Yuanandcircle/current
policy: T5035: Add more actions to policy route rule
Diffstat (limited to 'interface-definitions/include/policy/route-rule-action.xml.i')
-rw-r--r--interface-definitions/include/policy/route-rule-action.xml.i16
1 files changed, 14 insertions, 2 deletions
diff --git a/interface-definitions/include/policy/route-rule-action.xml.i b/interface-definitions/include/policy/route-rule-action.xml.i
index 456a21400..c2698db5a 100644
--- a/interface-definitions/include/policy/route-rule-action.xml.i
+++ b/interface-definitions/include/policy/route-rule-action.xml.i
@@ -3,14 +3,26 @@
<properties>
<help>Rule action</help>
<completionHelp>
- <list>drop</list>
+ <list>accept reject return drop</list>
</completionHelp>
<valueHelp>
+ <format>accept</format>
+ <description>Accept matching entries</description>
+ </valueHelp>
+ <valueHelp>
+ <format>reject</format>
+ <description>Reject matching entries</description>
+ </valueHelp>
+ <valueHelp>
+ <format>return</format>
+ <description>Return from the current chain and continue at the next rule of the last chain</description>
+ </valueHelp>
+ <valueHelp>
<format>drop</format>
<description>Drop matching entries</description>
</valueHelp>
<constraint>
- <regex>(drop)</regex>
+ <regex>(accept|reject|return|drop)</regex>
</constraint>
</properties>
</leafNode>