diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-29 19:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 19:58:12 +0200 |
commit | 2a9a2cfa12e87ae1b300354aeb3bdf7b10059d26 (patch) | |
tree | 165e4efac93ec1692d0c24984544d31c0893ec04 /interface-definitions/include/port-port-range.xml.i | |
parent | 437c73888a4998f791ed0642da65a249425e7cb7 (diff) | |
parent | b3eca8c14e77eabee5afe04a49dee0208bc715ee (diff) | |
download | vyos-1x-2a9a2cfa12e87ae1b300354aeb3bdf7b10059d26.tar.gz vyos-1x-2a9a2cfa12e87ae1b300354aeb3bdf7b10059d26.zip |
Merge pull request #1403 from sever-sever/T4518
lb-wan: T4518: Add XML for conf mode load-balancing wan
Diffstat (limited to 'interface-definitions/include/port-port-range.xml.i')
-rw-r--r-- | interface-definitions/include/port-port-range.xml.i | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/include/port-port-range.xml.i b/interface-definitions/include/port-port-range.xml.i new file mode 100644 index 000000000..ce550f549 --- /dev/null +++ b/interface-definitions/include/port-port-range.xml.i @@ -0,0 +1,26 @@ +<!-- include start from port-port-range.xml.i --> +<leafNode name="port"> + <properties> + <help>Port number</help> + <valueHelp> + <format>txt</format> + <description>Named port (any name in /etc/services, e.g., http)</description> + </valueHelp> + <valueHelp> + <format>u32:1-65535</format> + <description>Numeric IP port</description> + </valueHelp> + <valueHelp> + <format>start-end</format> + <description>Numbered port range (e.g. 1001-1005)</description> + </valueHelp> + <valueHelp> + <format/> + <description>\n\nMultiple destination ports can be specified as a comma-separated list.\nThe whole list can also be negated using '!'.\nFor example: '!22,telnet,http,123,1001-1005'</description> + </valueHelp> + <constraint> + <validator name="port-multi"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> |