Commit Graph

96 Commits

Author SHA1 Message Date
Jana Radhakrishnan
747c5d9d7e Resolve Godeps
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-03-12 04:07:46 +00:00
Jana Radhakrishnan
ddefb1dfaa 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
768f520123 Merge pull request #23 from aboch/iptables
Add implementation and test for setupIPTables()
2015-03-09 11:13:24 -07:00
Arnaud Porterie
3f17c9fed1 Merge pull request #19 from mrjana/master
Refactor the drivers interface to get rid of reflect way
2015-03-09 08:59:16 -07:00
Jana Radhakrishnan
02f8e306f5 Merge with docker/libnetwork
Signed-off-by: Jana Radhakrishnan <mrjana@socketplane.io>
2015-03-06 16:11:19 +00:00
Jana Radhakrishnan
95abae6e2f 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
7532b213ce 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
d8a69d805f Merge pull request #16 from docker/ci_godeps
Fix Godeps in CI
2015-03-05 00:59:40 -08:00
Arnaud Porterie
7adabfd988 Fix Godeps in CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-05 00:58:37 -08:00
Arnaud Porterie
b8dbb04076 Merge pull request #14 from icecrime/godeps
Use Godeps
2015-03-04 19:26:09 -08:00
Arnaud Porterie
dfd4390768 Use Godeps
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 18:59:03 -08:00
Arnaud Porterie
6a25279d14 Merge pull request #13 from docker/circle_ci
Enable Circle CI
2015-03-04 18:10:01 -08:00
Arnaud Porterie
eaf2e16800 Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 18:05:25 -08:00
Arnaud Porterie
39aeb812ac Fix govet warnings
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:56:22 -08:00
Arnaud Porterie
76be5f3294 Merge pull request #12 from docker/golint
Remove golint warnings
2015-03-04 14:50:45 -08:00
Arnaud Porterie
d6a57d65a5 Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:35:58 -08:00
Arnaud Porterie
2153421dad Circle CI
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:34:26 -08:00
Arnaud Porterie
8eedbec7d7 Add circle.yml
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-04 14:14:38 -08:00
Arnaud Porterie
abb80f2d89 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
aboch
4270c93f61 Merge pull request #11 from icecrime/ipforward_diagnostic
Add a diagnostic message to ip forwading code
2015-03-04 11:47:25 -08:00
Arnaud Porterie
978eeef03d 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
1bb681b70a Merge pull request #3 from aboch/master
Add implementation and test for SetIPForwarding()
2015-03-04 11:18:13 -08:00
Arnaud Porterie
764e25e919 Merge pull request #4 from aboch/sa
Fix minor static analysis issue in setup_ipv4.go
2015-03-04 11:16:01 -08:00
Alessandro Boch
f59adf3985 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
2607011b0a 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
b8d4f907ce Add network name
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-03-02 10:17:12 -08:00
Arnaud Porterie
e2ee6b142a Renaming and comments
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-27 09:34:30 -08:00
Arnaud Porterie
da88b27f95 Test coverage
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-27 09:11:53 -08:00
Arnaud Porterie
cef46b121f Next steps
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-26 17:17:45 -08:00
Arnaud Porterie
e102740ca0 Add FixedCIDRv6 test
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 18:55:52 -08:00
Arnaud Porterie
ceb76de499 Test coverage on bridge
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 18:41:17 -08:00
Arnaud Porterie
757cc0ba10 Move bridge to drivers/
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 11:29:06 -08:00
Arnaud Porterie
383296d562 Add tests
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 11:19:00 -08:00
Arnaud Porterie
7f8fd9f41b Merge pull request #1 from icecrime/bridge_refactoring
Bridge refactoring - Step 1
2015-02-23 10:22:21 -08:00
Arnaud Porterie
a5549ad39a WIP - Code moves
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:42:34 -08:00
Arnaud Porterie
e6e0f20448 WIP - Remove commented code
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:36:25 -08:00
Arnaud Porterie
7daeca9e64 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
7b9c564145 WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 21:11:12 -08:00
Arnaud Porterie
ab27a9a447 WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 17:58:52 -08:00
Arnaud Porterie
59435f54d3 WIP - Bridge refactoring
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-22 17:24:22 -08:00
Arnaud Porterie
7ae486c8c0 Generic argument passing to drivers
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-20 09:12:29 -08:00
Arnaud Porterie
35bf4109dc Generic options model
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 22:44:51 -08:00
Arnaud Porterie
feab850ade Unexport reexec symbols
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:44:48 -08:00
Arnaud Porterie
04f2092820 Rename strategy to driver
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:37:53 -08:00
Arnaud Porterie
888b6b3019 Initial import
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-19 17:30:18 -08:00
Arnaud Porterie
2793ace55e Initial commit 2015-02-19 17:20:15 -08:00