diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-30 06:55:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 06:55:35 +0300 |
commit | 989ff045aa735bc91ae936aca549e101f6f4d9ed (patch) | |
tree | 7ec6a28dde81e8b050c0b914d67718dea4216d2c /interface-definitions/include/firewall/firewall-mark.xml.i | |
parent | b37b0fceb4915fa1e563e34b1e3af1040f461d58 (diff) | |
parent | 2ae3de0848dee0f3da28727fc30e2beeecd412e1 (diff) | |
download | vyos-1x-989ff045aa735bc91ae936aca549e101f6f4d9ed.tar.gz vyos-1x-989ff045aa735bc91ae936aca549e101f6f4d9ed.zip |
Merge pull request #2314 from nicolas-fort/T5616
T5616: firewall and policy: add option to be able to match firewall marks
Diffstat (limited to 'interface-definitions/include/firewall/firewall-mark.xml.i')
-rw-r--r-- | interface-definitions/include/firewall/firewall-mark.xml.i | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/firewall-mark.xml.i b/interface-definitions/include/firewall/firewall-mark.xml.i new file mode 100644 index 000000000..36a939ba3 --- /dev/null +++ b/interface-definitions/include/firewall/firewall-mark.xml.i @@ -0,0 +1,26 @@ +<!-- include start from firewall/firewall-mark.xml.i --> +<leafNode name="mark"> + <properties> + <help>Firewall mark</help> + <valueHelp> + <format>u32:0-2147483647</format> + <description>Firewall mark to match</description> + </valueHelp> + <valueHelp> + <format>!u32:0-2147483647</format> + <description>Inverted Firewall mark to match</description> + </valueHelp> + <valueHelp> + <format><start-end></format> + <description>Firewall mark range to match</description> + </valueHelp> + <valueHelp> + <format>!<start-end></format> + <description>Firewall mark inverted range to match</description> + </valueHelp> + <constraint> + <validator name="numeric-exclude" argument="--allow-range --range 0-2147483647"/> + </constraint> + </properties> +</leafNode> +<!-- include end -->
\ No newline at end of file |