summaryrefslogtreecommitdiff
path: root/libnetwork/drivers/remote/api/api.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix libnetwork importsBrian Goff2021-06-011-2/+2
| | | | | | | | | 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>
* Spelling fixesJosh Soref2018-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * addresses * assigned * at least * attachments * auxiliary * available * cleanup * communicate * communications * configuration * connection * connectivity * destination * encountered * endpoint * example * existing * expansion * expected * external * forwarded * gateway * implementations * implemented * initialize * internally * loses * message * network * occurred * operational * origin * overlapping * reaper * redirector * release * representation * resolver * retrieve * returns * sanbdox * sequence * succesful * synchronizing * update * validates Signed-off-by: Josh Soref <jsoref@gmail.com>
* Add ConnectivityScope capability for network drivers along with scope ↵Alessandro Boch2017-05-121-1/+2
| | | | | | | | | | | | | | | | | | | | | network option - It specifies whether the network driver can provide containers connectivity across hosts. - As of now, the data scope of the driver was being overloaded with this notion. - The driver scope information is still valid and it defines whether the data allocation of the network resources can be done globally or only locally. - With the scope network option, user can now force a network as swarm scoped regardless of the driver data scope. - In case the network is configured as swarm scoped, and the network driver is multihost capable, a network DB instance will be launched for it. Signed-off-by: Alessandro Boch <aboch@docker.com>
* Add support for NetworkAllocate and NetworkFree in remote driverMadhu Venugopal2016-10-051-0/+32
| | | | | | Also added an API to return list of builtin network drivers Signed-off-by: Madhu Venugopal <madhu@docker.com>
* Move exposed ports from Endpoint to SandboxAlessandro Boch2016-03-061-0/+23
| | | | Signed-off-by: Alessandro Boch <aboch@docker.com>
* Introduce discoverapi.Discover interfaceAlessandro Boch2016-01-281-1/+2
| | | | | | | | - Move DiscoverNew() and DiscoverDelete() methods into the new interface - Add DatastoreUpdate notification - Now this interface can be implemented by any drivers, not only network drivers Signed-off-by: Alessandro Boch <aboch@docker.com>
* Add DisableGatewayService in JoinInfo to offering drivers the ability to ↵Chun Chen2015-12-031-4/+5
| | | | | | disable default gateway Signed-off-by: Chun Chen <ramichen@tencent.com>
* libnetwork <-> ipam driver interactionAlessandro Boch2015-10-031-0/+3
| | | | Signed-off-by: Alessandro Boch <aboch@docker.com>
* Integration with Docker DiscoveryMadhu Venugopal2015-10-011-1/+16
| | | | | | | | | | | | * integrated hostdiscovery package with the new Docker Discovery * Integrated hostdiscovery package with libnetwork core * removed libnetwork_discovery tag * Introduced driver apis for discovery events * moved overlay driver to make use of the discovery events * Using Docker Discovery service. * Changed integration-tests to make use of the new discovery Signed-off-by: Madhu Venugopal <madhu@docker.com>
* Add negotiation process for driver scopeZhang Wei2015-09-151-0/+6
| | | | | | | Add one capability negotiation interaction after plugin handshake, use this to determine plugin's capability instead of default "global" scope. Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
* Remove multiple interface in an endpointJana Radhakrishnan2015-09-111-9/+6
| | | | | | | | | Currently the endpoint data model consists of multiple interfaces per-endpoint. This seems to be an overkill since there is no real use case for it. Removing it to remove unnecessary complexity from the code. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
* Introduce Sandbox entityAlessandro Boch2015-08-271-2/+0
| | | | | | | | | | | | | | | | - Maps 1 to 1 with container's networking stack - It holds container's specific nw options which before were incorrectly owned by Endpoint. - Sandbox creation no longer coupled with Endpoint Join, sandbox and endpoint have now separate lifecycle. - LeaveAll naturally replaced by Sandbox.Delete - some pkg and file renaming in order to have clear mapping between structure name and entity ("sandbox") - Revisited hosts and resolv.conf handling - Removed from JoinInfo interface capability of setting hosts and resolv.conf paths - Changed etchosts.Build() to first write the search domains and then the nameservers Signed-off-by: Alessandro Boch <aboch@docker.com>
* Expose the remote driver API structs publicly.Erik Hollensbe2015-07-161-0/+144