Commit graph

3342 commits

Author SHA1 Message Date
Dave Tucker
f76372ed74 Add MAINTAINERS
Fixes #22

Signed-off-by: Dave Tucker <dt@docker.com>
2015-04-01 14:43:06 +01:00
Alessandro Boch
68d223a0e0 Issue #18: IP Allocator rework
- Move ipallocator package into libnetwork
- Also ported network utility functions and their tests in libnetwork:
  docker/daemon/networkdriver/utilg.go => libnetwork/utils.go
  docker/daemon/networkdriver/network_test.go => libnetwork/utils_test.go
- Changed drivers/setup_device.go and setup_ipv4.go to reuse functions in
  utils.go, instead of redefining internally.
- Modified utils to use vishvananda/netlink instead of libcontainer/netlink

Signed-off-by: Alessandro Boch <aboch@socketplane.io>
2015-03-24 13:57:59 -07:00
Jana Radhakrishnan
f2d7564f2c Resolve Godeps
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-03-12 04:07:46 +00:00
Jana Radhakrishnan
694c5ee788 Reimplement create namespace and move interafec to ns without reexec
This removes the dependency on reexec so that libnetwork can be used
as a library.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-03-12 04:07:34 +00:00
Arnaud Porterie
38173fa22c Merge pull request #23 from aboch/iptables
Add implementation and test for setupIPTables()
2015-03-09 11:13:24 -07:00
Jana Radhakrishnan
91589f4948 Merge with docker/libnetwork
Signed-off-by: Jana Radhakrishnan <mrjana@socketplane.io>
2015-03-06 16:11:19 +00:00
Jana Radhakrishnan
2d16187d8c Refactor the drivers interface to get rid of reflect way
Signed-off-by: Jana Radhakrishnan <mrjana@socketplane.io>
2015-03-06 16:00:21 +00:00
Alessandro Boch
6311a96710 Add implementation and test for SetupIPTables()
- Port and refactor docker/damon/driver ip tables setup function
  into libnetwork.
- Taken care of golint guideline for CI to pass
- Ran one more time goimports for CI to pass...

Signed-off-by: Alessandro Boch <aboch@socketplane.io>
2015-03-05 23:37:11 -08:00
Arnaud Porterie
fc6b36e2bb Fix Godeps in CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-05 00:58:37 -08:00
Arnaud Porterie
5012cdf548 Merge pull request #14 from icecrime/godeps
Use Godeps
2015-03-04 19:26:09 -08:00
Arnaud Porterie
db5d4c3de3 Use Godeps
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 18:59:03 -08:00
Arnaud Porterie
0ac3833edb Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 18:05:25 -08:00
Arnaud Porterie
2457d2549f Fix govet warnings
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:56:22 -08:00
Arnaud Porterie
263dd22fe3 Merge pull request #12 from docker/golint
Remove golint warnings
2015-03-04 14:50:45 -08:00
Arnaud Porterie
edebcebfee Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:35:58 -08:00
Arnaud Porterie
e718ea9d2a Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:34:26 -08:00
Arnaud Porterie
4e22b7b1f7 Add circle.yml
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:14:38 -08:00
Arnaud Porterie
6424c7a875 Remove golint warnings
Fix all golint warnings, mostly by making exported types internal.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 13:29:28 -08:00
Arnaud Porterie
58a3934282 Add a diagnostic message to ip forwading code
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 11:37:16 -08:00
Arnaud Porterie
8305579ffc Merge pull request #3 from aboch/master
Add implementation and test for SetIPForwarding()
2015-03-04 11:18:13 -08:00
Alessandro Boch
e40794cdc4 Fix minor static analysis issue in setup_ipv4.go
Signed-off-by: Alessandro Boch <aboch@socketplane.io>
2015-03-04 11:14:03 -08:00
Alessandro Boch
80809c42c6 Add implementation and test for SetIPForwarding()
- Addressed Arnaud's comments

Signed-off-by: Alessandro Boch <aboch@socketplane.io>
2015-03-04 10:24:18 -08:00
Arnaud Porterie
b9bd3a7dd0 Add network name
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-02 10:17:12 -08:00
Arnaud Porterie
ba111871ea Renaming and comments
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-27 09:34:30 -08:00
Arnaud Porterie
cb96e4149d Test coverage
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-27 09:11:53 -08:00
Arnaud Porterie
94e8db8774 Next steps
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-26 17:17:45 -08:00
Arnaud Porterie
882f4d7e74 Add FixedCIDRv6 test
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 18:55:52 -08:00
Arnaud Porterie
3845ec20c4 Test coverage on bridge
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 18:41:17 -08:00
Arnaud Porterie
8ca185e2ee Move bridge to drivers/
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 11:29:06 -08:00
Arnaud Porterie
38f01266e3 Add tests
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 11:19:00 -08:00
Arnaud Porterie
3125c1f7c7 WIP - Code moves
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:42:34 -08:00
Arnaud Porterie
4a8b8498a7 WIP - Remove commented code
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:36:25 -08:00
Arnaud Porterie
46864de1d7 WIP - Fixed CIDR v4 and v6
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:32:48 -08:00
Arnaud Porterie
796d58af9e WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:11:12 -08:00
Arnaud Porterie
1f3b1febc7 WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 17:58:52 -08:00
Arnaud Porterie
76a8cbba11 WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 17:24:22 -08:00
Arnaud Porterie
8ad4ec910b Generic argument passing to drivers
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-20 09:12:29 -08:00
Arnaud Porterie
79ae90940c Generic options model
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 22:44:51 -08:00
Arnaud Porterie
7d4450e647 Unexport reexec symbols
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:44:48 -08:00
Arnaud Porterie
8ebeb1da5c Rename strategy to driver
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:37:53 -08:00
Arnaud Porterie
0d29ca540f Initial import
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:30:18 -08:00
Arnaud Porterie
d7c688f0f6 Initial commit 2015-02-19 17:20:15 -08:00