Madhu Venugopal
cbe520b62c
Add GetIDInRange API in idm package
...
Thanks @aboch
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-11-09 14:42:48 -08:00
allencloud
67596cc84c
Fix some typos.
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-02-29 19:20:50 +08:00
Alessandro Boch
6026fe772c
Remove 2^32 bits restriction on bitsequence
...
- Allow bitsequence of length 2^64-1
- Updated ID Manager and IPAM
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-10-10 05:42:26 -07:00
David Calavera
cc02894a50
Move test specific functions to a testutils package.
...
This way we won't vendor test related functions in docker anymore.
It also moves netns related functions to a new ns package to be able to
call the ns init function in tests. I think this also helps with the
overall package isolation.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-09-07 13:33:28 -04:00
Alessandro Boch
5c926bb344
idm and ipam to use bitseq atomic APIs
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-08-16 09:38:17 -07:00
Alessandro Boch
ee31009744
bitseq to only handle and return unsigned types
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-08-16 09:38:17 -07:00
Alessandro Boch
e5842be694
network byte order to bitseq serializer
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-08-16 09:38:17 -07:00
Zhang Wei
d715041cd0
Fix typo
...
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-08-15 15:48:14 +08:00
Alessandro Boch
cc6fb95c0c
Fix datastore value handling in bitseq
...
- and do not discard errors
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-06-18 12:07:04 -07:00
Alessandro Boch
b818ea981d
Add datastore to IPAM for configuration
...
- IPAM to use datastore for the subnets configurations
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-06-17 17:17:19 -07:00
Madhu Venugopal
c395cf2eb6
Datastore additions to bitmask management
...
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2015-06-17 16:49:19 -07:00
Alessandro Boch
d1a16bbb84
Add numerical ids manager
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-06-17 16:46:05 -07:00