Brian Goff
a0a473125b
Fix libnetwork imports
...
After moving libnetwork to this repo, we need to update all the import
paths for libnetwork to point to docker/docker/libnetwork instead of
docker/libnetwork.
This change implements that.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-06-01 21:51:23 +00:00
Abhinandan Prativadi
3d44975995
Adding a unit case to verify rollover
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-10-03 12:15:34 -07:00
Alessandro Boch
595246bdfb
Merge pull request #1568 from likel/refactor
...
Remove unnecessary string formats
2016-12-29 12:18:06 -08:00
Alessandro Boch
b495131861
Fix a bug in idm.GetIDInRange()
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-11-28 14:20:47 -08:00
Ke Li
23ac56fdd0
Remove unnecessary string formats
...
Signed-off-by: Ke Li <kel@splunk.com>
2016-11-22 09:29:53 +08:00
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