Skip to content

Commit 30c821f

Browse files
committed
ipam: Support RequiresRequestReplay
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
1 parent 45e2431 commit 30c821f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ipam/api.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ type Ipam interface {
2929

3030
// CapabilitiesResponse returns whether or not this IPAM required pre-made MAC
3131
type CapabilitiesResponse struct {
32+
// Whether on address request, libnetwork must
33+
// specify the endpoint MAC address
3234
RequiresMACAddress bool
35+
// Whether of daemon start, libnetwork must replay the pool
36+
// request and the address request for current local networks
37+
RequiresRequestReplay bool
3338
}
3439

3540
// AddressSpacesResponse returns the default local and global address space names for this IPAM

0 commit comments

Comments
 (0)