Problem
DRANET currently does not provide a built-in mechanism for managing IP address ranges for network devices.
As a result, IP address allocation must be implemented separately or reimplemented.
Proposal
Add support for the Whereabouts IPAM project in DRANET.
Whereabouts is primarily designed as a CNI-based IPAM plugin. However, its core IP range management logic can also be reused as a library. By importing it as a library, DRANET could leverage its existing functionality for IP allocation without depending on the CNI plugin interface.
Whereabouts is already widely used in Kubernetes environments and provides a well-tested implementation for managing IP address ranges. Reusing it would avoid reimplementing similar functionality in DRANET and provide a familiar IPAM mechanism for users.
Example
I have prepared a sample implementation demonstrating this approach.
Some demonstration manifests are also included to show how the feature could be used.
https://github.com/kanlkan/dranet/blob/feature/whereabouts-ipam/temp/README.md
Feedback on this approach would be appreciated.
If the direction looks reasonable, I can open a PR with the proposed implementation.
Problem
DRANET currently does not provide a built-in mechanism for managing IP address ranges for network devices.
As a result, IP address allocation must be implemented separately or reimplemented.
Proposal
Add support for the Whereabouts IPAM project in DRANET.
Whereabouts is primarily designed as a CNI-based IPAM plugin. However, its core IP range management logic can also be reused as a library. By importing it as a library, DRANET could leverage its existing functionality for IP allocation without depending on the CNI plugin interface.
Whereabouts is already widely used in Kubernetes environments and provides a well-tested implementation for managing IP address ranges. Reusing it would avoid reimplementing similar functionality in DRANET and provide a familiar IPAM mechanism for users.
Example
I have prepared a sample implementation demonstrating this approach.
Some demonstration manifests are also included to show how the feature could be used.
https://github.com/kanlkan/dranet/blob/feature/whereabouts-ipam/temp/README.md
Feedback on this approach would be appreciated.
If the direction looks reasonable, I can open a PR with the proposed implementation.