Feature request: allow allocation of network/broadcast address if IPPool/ExternalIPPool is defined by CIDR #6186
Labels
area/api
Issues or PRs related to an API.
kind/feature
Categorizes issue or PR as related to a new feature.
In some cases (eg in some server hosting providers), you're given "subnets", eg /29, which are in reality just a range of IPs in a bigger subnet, so the first and last address are actually not a network/broadcast address.
The same applied if you're assigning single addresses to the pool with /32. - they get ignored (thanks for improving documentation in #6183)
it is actually currently possible to replace eg.
with
but it would be much nicer to just flip a flag on the (External)IPPool that would make it allocate the first/last cidr addresses (default would need to be false, to keep backwards compatibility).
It would make it much more readeable and allow me to use same lists of addresses in ansible for both antrea and metallb (which doesn't ignore them in CIDR like this) without having to transform the cidr by some heavy magic into the start+end format
The text was updated successfully, but these errors were encountered: