IPAM driver

- Add IPAM cotract and remote IPAM hooks
 - Add ipam registration in controller
 - Have default IPAM follow ipamapi contract

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch
2015-10-03 16:18:19 -07:00
parent c3a9e0d8d0
commit ec95763dee
17 changed files with 1635 additions and 829 deletions
+2 -2
View File
@@ -306,8 +306,8 @@ func (h *Handle) validateOrdinal(ordinal uint32) error {
}
// Destroy removes from the datastore the data belonging to this handle
func (h *Handle) Destroy() {
h.deleteFromStore()
func (h *Handle) Destroy() error {
return h.deleteFromStore()
}
// ToByteArray converts this handle's data into a byte array