Refactor interface encapsulation, using golang type assertion gives leaner code
Extract danm IPAM release into ReleaseIP API implementation
Add skipping empty IP for calico ReleaseIP
Cleaner cannot use danmep.DeleteDanmEp function when releasing Danm IPAM managed IPs, because it handles DanmEp IPv4 and IPv6 addresses together. Instead using ipam.Free directly enables handling DanmEp IPs separately.
Left out from nokia/danm-utils#26
Refactor interface encapsulation, using golang type assertion gives leaner code Extract danm IPAM release into ReleaseIP API implementation Add skipping empty IP for calico ReleaseIP
Cleaner cannot use
danmep.DeleteDanmEp
function when releasing Danm IPAM managed IPs, because it handles DanmEp IPv4 and IPv6 addresses together. Instead usingipam.Free
directly enables handling DanmEp IPs separately.