podman/libpod/network/util
Paul Holzinger 4febe55769
netavark IPAM assignment
Add a new boltdb to handle IPAM assignment.

The db structure is the following:
Each network has their own bucket with the network name as bucket key.
Inside the network bucket there is an ID bucket which maps the container ID (key)
to a json array of ip addresses (value).
The network bucket also has a bucket for each subnet, the subnet is used as key.
Inside the subnet bucket an ip is used as key and the container ID as value.

The db should be stored on a tmpfs to ensure we always have a clean
state after a reboot.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-11-11 16:25:19 +01:00
..
filters.go Wire network interface into libpod 2021-09-15 20:00:20 +02:00
ip.go netavark IPAM assignment 2021-11-11 16:25:19 +01:00
ip_calc.go netavark IPAM assignment 2021-11-11 16:25:19 +01:00
ip_test.go Make networking code reusable 2021-11-11 15:54:02 +01:00