Open qinqon opened 1 week ago
@tssurya adding events here is worth it ?
I think first 4 commits are missing UTs + we should add docs for these https://ovn-kubernetes.io/getting-started/configuration/#gateway-config once we finalize them reviewed half way till commit6 thanks for the split makes it easy.
I will add the unit test and the docs.
What this PR does and why is it needed
Allocate the different kind of IDs needed by user defined networks:
It also introduce the configuration fields to calculate the IDs.
Special notes for reviewers
The "iputils.NextIP" functionas has being copied and modified to be able to directly increment by a number instead of iterating.
This PR add just the config fields but they are not wired up with validation or command line.
How to verify it
There are some unit test tesing the base function of the allocator
Details to documentation updates
NONE
Description for the changelog
Add user defined network allocators
Does this PR introduce a user-facing change?
NONE