clly / wireguard-cni

12 stars 3 forks source link

refactor ipam usage into it's own package #83

Closed clly closed 1 year ago

clly commented 1 year ago

To help make it easier to abstract the IPAM usage move it into it's own package and create a generic and Remote IPAM usage. The Remote IPAM takes an IPAM client which can be used to request a CIDR from the cluster-manager. It will also attempt to read the prefixes from the loaded IPAM. Other than that the implementations are similar.