Closed velp closed 1 year ago
Hi @velp! I will prioritise the feature request and update you once we start with it.
Hi @velp! as far as I know this feature ist not yet roll out in production. If we implement the feature in Elektra will crush as soon as it reaches production. Please let me know when it is in production deployed. Thx!
@ArtieReus I will start rolling on this week. And, yes, will let you know when it will be everywhere.
@ArtieReus this PR can be merged. The backend side rolled out everywhere.
Looking at the existing listeners without CIDRs the value allowed_cidrs
is set to null
. Can we keep this when removing the cidrs of an existing listener?? This is easier then to have to add an extra value when the enduser removes the cidrs.
Do you mean pass body:
{"listener": {"allowed_cidrs": [}}
instead of:
{"listener": {"allowed_cidrs": ["0.0.0.0/0"]}}
when we remove all CIDRs?
I mean all listeners have default null
if no CIDR set. Why should then I add a string when removing the CIDRs??
We just added support for
allowed_cidrs
to our Octavia's driver implementation (https://github.com/sapcc/octavia-f5-provider-driver/pull/229). And we would like to have it in the dashboard.API description:
listener
and fieldallowed_cidrs
you can find herelistener
and fieldallowed_cidrs
you can find hereHow to set
allowed_cidrs
for existinglistener
:How to remove
allowed_cidrs
from alistener
(set allow any subnets):To update the list of CIDRs and add one more, you have to send a full list of CIDRs. For example if
listener
has10.46.22.1/24
CIDR configured and you want to add another CIDR10.8.0.1/24
you have to send a body with both CIDRs: