summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy
diff options
context:
space:
mode:
authorYouyuan <youyuanluo@126.com>2023-02-26 21:02:52 +0800
committerYouyuan <youyuanluo@126.com>2023-02-26 21:02:52 +0800
commitefd51fb7876d21b59f24a785d4b9e63bf8e4eded (patch)
tree03d77ecdb08e068d212e04d0738fe500be7a2702 /interface-definitions/include/policy
parenta721e8b5067d78886f4dcc396c831ed50eb5472c (diff)
downloadvyos-1x-efd51fb7876d21b59f24a785d4b9e63bf8e4eded.tar.gz
vyos-1x-efd51fb7876d21b59f24a785d4b9e63bf8e4eded.zip
policy: T5035: Add more actions to policy route rule
Diffstat (limited to 'interface-definitions/include/policy')
-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>