Jana Radhakrishnan
e722f97f6a
- Added support to bridgeNetwork.Link
...
- Removed MAC and MTU configuration via AddInterface
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com >
2015-04-10 16:45:59 +00:00
Alessandro Boch
c0474b6438
Issue #33 : Move portmapper and portallocator into libnetwork
...
- As they provide network translation functionalities,
they should be part of libnetwork
- In driver/bridge/setup_ip_tables.go remove depenency
on docker/daemon/networkdriver
Signed-off-by: Alessandro Boch <aboch@docker.com >
2015-04-09 11:05:02 -07:00
Madhu Venugopal
672ced7c76
Merge pull request #26 from aboch/ipam
...
Issue #18 : IP Allocator rework
2015-04-08 17:47:19 -07:00
Jana Radhakrishnan
9e2d2bc9f6
- Added initial test cases for libnetwork api
...
- Introduce delete api
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com >
2015-04-08 16:00:28 +00:00
Alessandro Boch
56832d6d89
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
Arnaud Porterie
768f520123
Merge pull request #23 from aboch/iptables
...
Add implementation and test for setupIPTables()
2015-03-09 11:13:24 -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
39aeb812ac
Fix govet warnings
...
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com >
2015-03-04 14:56:22 -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
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
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
da88b27f95
Test coverage
...
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com >
2015-02-27 09:11:53 -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