alpha
Login
or
Join now
gazagnaire.org
/
ocaml-ipam
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
IP address management: CIDR pools and per-pool allocation
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ocaml-ipam
/
test
/
at
main
1 folder
4 files
Thomas Gazagnaire
ocaml-ipam: add a pp for the IPAM handle
2mo ago
672a4124
interop
ocaml-ipam: add a pp for the IPAM handle
2 months ago
dune
ocaml-ipam: add a pp for the IPAM handle
2 months ago
test.ml
ipam: new two-level IP address manager modelled on libnetwork Pool allocates addresses within one CIDR; the allocator carves pools from predefined networks and rejects overlaps. Occupancy lives in ewah bitmaps keyed by host ordinal, so a sparse /8 or /64 costs only the addresses in use. Reserves network/broadcast (IPv4, RFC 3021 aside) and the Subnet-Router anycast (IPv6, RFC 4291). Pure: mutators return a new value so state can be snapshotted. Verified against moby's defaultipam via a Go oracle in test/interop/moby: a replayed operation trace matches byte-for-byte. Spec tests cite the libnetwork test vectors and the RFCs; alcobar fuzz and an MDX'd README round it out.
2 months ago
test_ipam.ml
tree: reformat for the upgraded ocamlformat Comment reflow and header reindent produced by the new ocamlformat; no code changes.
2 months ago
test_ipam.mli
ipam: new two-level IP address manager modelled on libnetwork Pool allocates addresses within one CIDR; the allocator carves pools from predefined networks and rejects overlaps. Occupancy lives in ewah bitmaps keyed by host ordinal, so a sparse /8 or /64 costs only the addresses in use. Reserves network/broadcast (IPv4, RFC 3021 aside) and the Subnet-Router anycast (IPv6, RFC 4291). Pure: mutators return a new value so state can be snapshotted. Verified against moby's defaultipam via a Go oracle in test/interop/moby: a replayed operation trace matches byte-for-byte. Spec tests cite the libnetwork test vectors and the RFCs; alcobar fuzz and an MDX'd README round it out.
2 months ago