46
Tutorials and FAQs / Re: Set gateway group as default gateway
« on: November 03, 2018, 03:43:25 pm »
How about this approach:
Thoughts?
- Gateway & Group management remains as-is
- Add a new page called "Gateway Priority" where one can add single gateways as well as gateway groups, and choose the order in which they're selected for use (i.e. the priority) in the same manner as one chooses the order of firewall rules (for UI consistency)
- The gateway selection algorithm walks over this new list (Gateway Priority) to select which gateway to use next upon a gateway failure/recovery. Groups already have priority internally, so when a group is found we either apply a "mini" version of the algorithm within the group's members (might me more elaborate), or simply "expand" the groups on the list in the proper order so it's just one big list of gateways (i.e. pre-process the list prior to running the selection algorithm, which might make it simpler)
Thoughts?