diff options
| author | Christian Breunig <christian@breunig.cc> | 2023-03-01 08:19:21 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-01 08:19:21 +0100 | 
| commit | 157ac088a57fcccd9f7e8298ba87b3f29658af31 (patch) | |
| tree | e149425598a93b39847434bdfdcc1bb18bfd8dd1 | |
| parent | 15577ba5a14ca8a0ae01c272a7b28a0048937750 (diff) | |
| parent | 112fabb4bbb0aebe91e67d34d9f0678b39c1d1bb (diff) | |
| download | vyos-1x-157ac088a57fcccd9f7e8298ba87b3f29658af31.tar.gz vyos-1x-157ac088a57fcccd9f7e8298ba87b3f29658af31.zip | |
Merge pull request #1854 from Yuanandcircle/current
policy: T5035: Add more actions to policy route rule
| -rw-r--r-- | interface-definitions/include/policy/route-rule-action.xml.i | 16 | 
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> | 
