diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-03 20:18:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-09-03 20:18:57 +0200 |
commit | 4d5095fdddb2ca14cb143fa8430307e40a2a5e4e (patch) | |
tree | cbd6b76dd7e35df689cf70c77b36ce10fea32715 /interface-definitions/include | |
parent | e09ea64a636e40f30cca72bce5d92f42ee837d3c (diff) | |
download | vyos-1x-4d5095fdddb2ca14cb143fa8430307e40a2a5e4e.tar.gz vyos-1x-4d5095fdddb2ca14cb143fa8430307e40a2a5e4e.zip |
firewall: T3568: add XML include block for eq,gt,lt options
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/firewall/eq.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/include/firewall/gt.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/include/firewall/lt.xml.i | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/eq.xml.i b/interface-definitions/include/firewall/eq.xml.i new file mode 100644 index 000000000..e1b4f37a2 --- /dev/null +++ b/interface-definitions/include/firewall/eq.xml.i @@ -0,0 +1,14 @@ +<!-- include start from firewall/eq.xml.i --> +<leafNode name="eq"> + <properties> + <help>Match on equal value</help> + <valueHelp> + <format>u32:0-255</format> + <description>Equal to value</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-255"/> + </constraint> + </properties> +</leafNode> +<!-- include end -->
\ No newline at end of file diff --git a/interface-definitions/include/firewall/gt.xml.i b/interface-definitions/include/firewall/gt.xml.i new file mode 100644 index 000000000..c879171ee --- /dev/null +++ b/interface-definitions/include/firewall/gt.xml.i @@ -0,0 +1,14 @@ +<!-- include start from firewall/gt.xml.i --> +<leafNode name="gt"> + <properties> + <help>Match on greater then value</help> + <valueHelp> + <format>u32:0-255</format> + <description>Greater then value</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-255"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/firewall/lt.xml.i b/interface-definitions/include/firewall/lt.xml.i new file mode 100644 index 000000000..77894d3ce --- /dev/null +++ b/interface-definitions/include/firewall/lt.xml.i @@ -0,0 +1,14 @@ +<!-- include start from firewall/lt.xml.i --> +<leafNode name="lt"> + <properties> + <help>Match on less then value</help> + <valueHelp> + <format>u32:0-255</format> + <description>Less then value</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-255"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> |