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/ipv4-address-prefix-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/ipv4-address-prefix-range.xml.i')
-rw-r--r-- | interface-definitions/include/ipv4-address-prefix-range.xml.i | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/interface-definitions/include/ipv4-address-prefix-range.xml.i b/interface-definitions/include/ipv4-address-prefix-range.xml.i new file mode 100644 index 000000000..aadc6aaec --- /dev/null +++ b/interface-definitions/include/ipv4-address-prefix-range.xml.i @@ -0,0 +1,39 @@ +<!-- include start from ipv4-address-prefix-range.xml.i --> +<leafNode name="address"> + <properties> + <help>IP address, subnet, or range</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 address to match</description> + </valueHelp> + <valueHelp> + <format>ipv4net</format> + <description>IPv4 prefix to match</description> + </valueHelp> + <valueHelp> + <format>ipv4range</format> + <description>IPv4 address range to match</description> + </valueHelp> + <valueHelp> + <format>!ipv4</format> + <description>Match everything except the specified address</description> + </valueHelp> + <valueHelp> + <format>!ipv4net</format> + <description>Match everything except the specified prefix</description> + </valueHelp> + <valueHelp> + <format>!ipv4range</format> + <description>Match everything except the specified range</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + <validator name="ipv4-prefix"/> + <validator name="ipv4-range"/> + <validator name="ipv4-address-exclude"/> + <validator name="ipv4-prefix-exclude"/> + <validator name="ipv4-range-exclude"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> |