From b3eca8c14e77eabee5afe04a49dee0208bc715ee Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 8 Jul 2022 12:42:26 +0000 Subject: lb-wan: T4518: Add XML for conf mode load-balancing wan Add XML for configuration mode "load-balancing wan" for the future rewriting this to Python Remove node from Makefile as Python code is not yet completed --- .../include/ipv4-address-prefix-range.xml.i | 39 ++++++++++++++++++++++ .../include/port-port-range.xml.i | 26 +++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 interface-definitions/include/ipv4-address-prefix-range.xml.i create mode 100644 interface-definitions/include/port-port-range.xml.i (limited to 'interface-definitions/include') 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 @@ + + + + IP address, subnet, or range + + ipv4 + IPv4 address to match + + + ipv4net + IPv4 prefix to match + + + ipv4range + IPv4 address range to match + + + !ipv4 + Match everything except the specified address + + + !ipv4net + Match everything except the specified prefix + + + !ipv4range + Match everything except the specified range + + + + + + + + + + + + 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 @@ + + + + Port number + + txt + Named port (any name in /etc/services, e.g., http) + + + u32:1-65535 + Numeric IP port + + + start-end + Numbered port range (e.g. 1001-1005) + + + + \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' + + + + + + + -- cgit v1.2.3