Feature #11164
closed
Input validation to prevent setting a load balancing gateway group as default
Added by Steve Wheeler almost 4 years ago.
Updated over 3 years ago.
Plus Target Version:
21.05
Description
Currently it's possible to set a load-balance gateway group as the system default gateway in System > Routing > Gateways.
That is an invalid setting though, only individual gateways or failover groups are valid there.
It would be nice for the input validation to prevent that but that would mean code to categorise gateway groups. That could get complex quickly.
Failing that a note on that page such as changing the text to:
Select a gateway or failover gatewaygroup to use as the default gateway.
Files
Reviewing it appears the intended behaviour here is that a load-balance group can be selected but behaves as a failover group with whichever gateway is first acrting as the higher tier. Importantly it cannot actually load-balance.
So a note to that effect on the page would probably suffice here.
- Target version changed from Future to CE-Next
Seems simple enough to fix (with the message) and the GUI is misleading.
- Status changed from New to Pull Request Review
- Status changed from Pull Request Review to Feedback
- Assignee set to Danilo Zrenjanin
PR has been merged. Thanks!
- Target version changed from CE-Next to 2.6.0
note is added (attached)
2.6.0-DEVELOPMENT (amd64)
built on Wed Apr 21 01:03:55 EDT 2021
FreeBSD 12.2-STABLE
- Status changed from Feedback to Resolved
- Plus Target Version set to 21.05
Already present on 21.05 builds.
- Subject changed from Prevent setting a load-balance gateway group as default. to Input validation to prevent setting a load balancing gateway group as default
Updating subject for release notes.
- Target version changed from 2.6.0 to 2.5.2
Also available in: Atom
PDF