From eac5dc2b1f7be06f0d7a4e35f8850a0c1f514fa0 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 28 Apr 2023 10:30:52 +0000 Subject: T5171: Rewrite load-balancing wan to XML and python3 Use XML and python3 for 'load-balancing wan' Use Jinja2 templates instead of old vyatta-wanloadbalance.pl to generate configuration '/run/load-balance/wlb.conf' wich used by /opt/vyatta/sbin/wan_lb --- interface-definitions/load-balancing-wan.xml.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/load-balancing-wan.xml.in b/interface-definitions/load-balancing-wan.xml.in index c1d7e2c67..3a2c111ac 100644 --- a/interface-definitions/load-balancing-wan.xml.in +++ b/interface-definitions/load-balancing-wan.xml.in @@ -3,6 +3,7 @@ Configure load-balancing + 900 @@ -59,6 +60,7 @@ + 1 @@ -91,6 +93,7 @@ + 1 @@ -115,6 +118,7 @@ + 5 @@ -151,6 +155,7 @@ + 1 @@ -242,6 +247,7 @@ Weight must be between 1 and 255 + 1 @@ -261,6 +267,7 @@ + 5 @@ -284,6 +291,7 @@ (hour|minute|second) + second @@ -296,6 +304,7 @@ + 5 @@ -315,6 +324,7 @@ (above|below) + below @@ -355,6 +365,7 @@ + all -- cgit v1.2.3