Currently, updating subnet CIDR is blocked by validation from API side. By the way, PD code is already updating CIDRs so far.
Unlocking CIDR updating requires:
1. Accept CIRD and optionally allocation pools and gateway_ip.
2. If new allocation pool is not provided, and old pool is not fit into CIRD, then fail. Same for GW.
3. Re-allocate IP if they're out of new allocation pool.
Currently, updating subnet CIDR is blocked by validation from API side. By the way, PD code is already updating CIDRs so far.
Unlocking CIDR updating requires:
1. Accept CIRD and optionally allocation pools and gateway_ip.
2. If new allocation pool is not provided, and old pool is not fit into CIRD, then fail. Same for GW.
3. Re-allocate IP if they're out of new allocation pool.