Alessandro Boch
1c7c0f371b
Add methods to walk Endpoints and Networks
...
- From Network and Controller interfaces, respectively
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-24 08:44:00 -07:00
Alessandro Boch
1fae5573d2
Refactor NetworkController interface
...
- To reflect work flow. NewDriver() => ConfigureDriver()
and no NetworkDriver returned.
libnetwork clients would refer to a driver/network type, then
internally controller will retrieve the correspondent driver
instance, but this is not a concern of the clients.
- Remove NetworkDriver interface
- Removed stale blank dependency on bridge in libnetwork_test.go
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-23 18:46:01 -07:00
Madhu Venugopal
914ad10ea4
Merge pull request #84 from aboch/mao
...
Libnetwork bridge to handle --mac-address option
2015-04-23 16:40:07 -07:00
Alessandro Boch
69437b1009
Libnetwork bridge to handle --mac-address option
...
- This addresses one requirement from Issue #79
- Defined EndpointConfiguration struct for bridge driver
which contains the user's preferred mac address for the
sanbox interface
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-23 13:03:34 -07:00
Dave Tucker
f4fd5dacbf
Rename simplebridge to bridge
...
Fixes #81
Signed-off-by: Dave Tucker <dt@docker.com>
2015-04-23 10:49:57 -07:00
Alessandro Boch
7d24e974cf
Refactor driverapi, sandbox pkgs
...
- Move SanboxInfo and Interface structures in sandbox package
(changed it to Info as per golint)
- Move UUID to new internal pkg types
- Updated .gitignore to ignore IDE project files
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-21 09:44:39 -07:00
Madhu Venugopal
2e10d9197e
Merge pull request #66 from aboch/net
...
Add Network method to return list of endpoints
2015-04-20 12:13:26 -07:00
Alessandro Boch
95958d7610
Enhance Endpoint interface
...
- Added new getter methods
- Modified signature of Network.CreateEndpoint()
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-20 03:21:01 -07:00
Alessandro Boch
f151cc23ab
Add Network method to return list of endpoints
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-17 23:14:51 -07:00
Alessandro Boch
88eb07fb8d
Update Godeps docker/pkg/common => /stringid
...
- pkg/common was renamed to pkg/stringid
- removed stale dep on libcontainer/utils
Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-04-17 21:46:21 -07:00
Tom Wilkie
d449658d91
Expose Endpoint IDs in their public interface.
2015-04-17 14:55:32 +00:00
Jana Radhakrishnan
56c3adda07
- Added more testcases for libnetwork API testing
...
- Added new error types for all of libnetwork errors
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-04-16 05:15:57 +00:00
Dave Tucker
8fe2d88db1
Fix typos and formatting in docs. Add Godoc badge.
...
Signed-off-by: Dave Tucker <dt@docker.com>
2015-04-16 00:06:02 +01:00
Jana Radhakrishnan
e797f80ad4
Added driver specific config support
...
- Added api enhancement to pass driver specific config
- Refactored simple bridge driver code for driver specific config
- Added an undocumented option to add non-default bridges without
manual pre-provisioning to help libnetwork testing
- Reenabled libnetwork test to do api testing
- Updated README.md
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-04-15 18:32:07 +00:00
Jana Radhakrishnan
68ae284db5
Libnetwork refactor for container network model
...
- Added controller, network, endpoint and sandbox interfaces
- Created netutils package for miscallaneous network utilities
- Created driverapi package to break cyclic dependency b/w driver and libnetwork
- Made libnetwork multithread safe
- Made bridge driver multithread safe
- Fixed README.md
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2015-04-13 21:40:50 +00:00
Jana Radhakrishnan
2d364e2c34
- 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
Jana Radhakrishnan
4ac519f7b6
- 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
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
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
3845ec20c4
Test coverage on bridge
...
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-02-24 18:41:17 -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
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