Rob Murray
634951457d
Implement GwAllocChecker for the remote network driver
...
Commit 38e76eb (Ask network drivers if they'll use a gateway
address) added an optional driver interface "GwAllocChecker"
to give the driver a chance to say whether, given network
config options, it would use a gateway address if one was
reserved for it in IPAM.
So, implement support for that in the remote network driver.
The driver itself implements the interface, but only tries
to make an HTTP request to the driver plugin if the plugin
has reported support for it in response to an initial
capabilities request.
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-02-04 19:35:20 +00:00
pinglanlu
c9570da15b
chore(libnetwork): fix some comments
...
Signed-off-by: pinglanlu <pinglanlu@outlook.com >
2024-11-11 18:19:04 +08:00
Rob Murray
80e4631998
Use netip.Addr instead of string when building /etc/hosts
...
Also, libnetwork: Sandbox.buildHostsFile: rename var that shadowed type
Co-authored-by: Sebastiaan van Stijn <github@gone.nl >
Signed-off-by: Rob Murray <rob.murray@docker.com >
2024-11-07 11:05:34 +00:00
Nathan Baulch
59eba0ae13
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com >
2024-09-06 21:53:09 +10:00
Cory Snider
6f44138269
libnetwork: fix tiny grammar mistake on design.md
...
Co-authored-by: Farhim Ferdous <37705070+AluBhorta@users.noreply.github.com >
Signed-off-by: Cory Snider <csnider@mirantis.com >
2024-01-23 18:26:45 -05:00
Sebastiaan van Stijn
9e817251a8
libnetwork/docs: fix broken link
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-10 12:05:05 +02:00
Sebastiaan van Stijn
147173b099
libnetwork: remove consul-related code and tests
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-01-06 18:45:41 +01:00
Sebastiaan van Stijn
a7d0f3060a
libnetwork: remove zookeeper-related code and tests
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-01-06 18:28:30 +01:00
Arko Dasgupta
14fbe41991
Update design.md
...
The roadmap document was outdated, and removed in #2316 , so remove the link from here
Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com >
2020-02-18 17:21:39 -08:00
Su Wang
c27bb1189d
Added document describing libnetwork traffic flow.
...
Signed-off-by: Su Wang <su.wang@docker.com >
2019-12-05 16:20:57 +00:00
Euan Harris
d297a25283
Merge pull request #1723 from sebradloff/patch-1
...
Change wording for Endpoint description
2019-06-25 15:09:04 +01:00
Euan Harris
c0c586aacb
Merge pull request #2279 from mrbeskin/clarify-design-doc
...
clarifications and typo fixes for the design documentation
2019-06-25 15:07:57 +01:00
mrbeskin
1caeac8b64
clarifications and typo fixes for the design documentation
...
Signed-off-by: mrbeskin <mrbeskin@gmail.com >
2018-10-21 15:43:25 -05:00
Thomas Leonard
05c05ea5e9
Add NetworkDB docs
...
This is based on reading the code in the `networkdb` directory.
Signed-off-by: Thomas Leonard <thomas.leonard@docker.com >
2018-08-08 13:35:11 +01:00
Josh Soref
a06f1b2c4e
Spelling fixes
...
* 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 >
2018-07-12 12:54:44 -07:00
u2takey
5eb96dfbba
fix markdown style in doc
...
Signed-off-by: u2takey <u2takey@gmail.com >
2018-05-02 17:46:24 +08:00
Onur Filiz
1c67f2592b
Fix the Gateway type in remote network plugin spec
...
Fixes #1745 .
Signed-off-by: Onur Filiz <onur.filiz@microsoft.com >
2017-07-25 15:26:42 -07:00
Alessandro Boch
254d082cc3
Add ConnectivityScope capability for network drivers along with scope 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 >
2017-05-12 17:16:34 -07:00
Sebastian Radloff
95f6336157
Clarify endpoint definition in documentation.
...
Signed-off-by: Sebastian Radloff <sradloff23@gmail.com >
2017-04-22 09:51:02 -04:00
Sebastian Radloff
e24adf94a1
Change wording for Endpoint description
...
I was reading over the description of the Endpoint and it struck me as a bit odd:
`An Endpoint can belong to *only one* network but may only belong to *one* Sandbox.`
I just wanted to rephrase it so that it's clear that an Endpoint has a one to one relationship with the Sandbox and a Network. If that is not the case, then I'm sorry for proposing the change. I'm only just starting to take a deeper dive into Docker networking.
Signed-off-by: Sebastian Radloff <sradloff23@gmail.com >
2017-04-17 10:14:49 -04:00
Quan Tian
2243480e99
Fix typo in remote.md
...
Signed-off-by: Quan Tian <tianquan@cloudin.cn >
2017-02-14 15:18:22 +08:00
Quan Tian
8059597722
Fix typo in IPAM doc
...
Signed-off-by: Quan Tian <tianquan@cloudin.cn >
2017-02-13 18:35:32 +08:00
Alessandro Boch
b72225a005
Merge pull request #1471 from datastream/patch-1
...
doc update
2017-01-05 11:23:19 -08:00
Xianjie
32e713eca6
fix json
...
Signed-off-by: user.name <datastream@datastream-laptop.local >
Signed-off-by: datastream <guxianjie@gmail.com >
2017-01-05 01:52:37 +08:00
Alessandro Boch
64002895a5
Merge pull request #1604 from allencloud/fix-nits-in-comments
...
fix nits in error and log
2016-12-29 12:20:04 -08:00
Alessandro Boch
83ba440de9
Merge pull request #1603 from YuPengZTE/devFirst
...
fix typos
2016-12-29 12:18:47 -08:00
Alessandro Boch
311dfbb49e
Merge pull request #1383 from npcode/patch-2
...
docs/remote.md: Remove unnecessary backquote
2016-12-29 12:07:04 -08:00
Yi EungJun
11be70cf5e
docs/remote.md: Remove unnecessary backquote
...
Signed-off-by: Yi EungJun <eungjun.yi@navercorp.com >
2016-12-30 04:26:17 +09:00
yupeng
c702e19e44
fix typos
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
2016-12-29 11:09:57 +08:00
allencloud
bc85efdb4f
fix nits in comments
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2016-12-28 18:49:18 +08:00
Jana Radhakrishnan
ea579a4d0e
Merge pull request #1477 from allencloud/fix-nits-in-comments
...
fix nits in comments and log
2016-11-02 09:58:18 -07:00
yuexiao-wang
807f14746d
Modify the serial number from 1 to 9
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
2016-10-31 18:28:37 +08:00
allencloud
a1ed5b7be2
fix nits in comments and log
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2016-10-29 19:35:18 +08:00
Jana Radhakrishnan
8a225de00d
Merge pull request #1205 from allencloud/fix-typos
...
use grep to find a/an misuse
2016-08-01 09:49:31 -07:00
Jana Radhakrishnan
4a853b3c8c
Merge pull request #1308 from leecalcote/patch-2
...
docs/ipam.md: spelling error
2016-08-01 09:48:23 -07:00
Erich Cordoba
829a4ee4be
Fix several typos on macvlan docs
...
Signed-off-by: Erich Cordoba <erich.cm@yandex.com >
2016-07-19 21:14:57 -05:00
Lee Calcote
dc4487dbb0
docs/ipam.md: spelling error
...
Changed "lifecyle" to "lifecycle".
Signed-off-by: Lee Calcote <leecalcote@gmail.com >
2016-07-01 11:03:54 -05:00
Brent Salisbury
500a255181
Fixed missing v6 enable flag in macvlan doc
...
Signed-off-by: Brent Salisbury <brent@docker.com >
2016-06-22 19:59:55 -04:00
Brent Salisbury
165a1f6021
Added docs for macvlan driver
...
Signed-off-by: Brent Salisbury <brent@docker.com >
2016-06-20 05:55:45 -04:00
Lee Calcote
5c5a43124a
design.md: fixed anchor reference
...
The #Drivers reference needed to be #drivers in order for the anchor to work correctly.
Signed-off-by: Lee Calcote <leecalcote@gmail.com >
2016-06-14 06:30:03 -05:00
Madhu Venugopal
1242f27cb5
Merge pull request #1130 from aboch/noips
...
Avoid persisting ipam data if it can be reconstructed
2016-06-03 19:08:02 -07:00
allencloud
9f415d0cdb
use grep to find a/an misuse
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2016-06-03 16:35:33 +08:00
allencloud
de588f950d
fix typos
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2016-05-30 18:20:52 +08:00
Alessandro Boch
651f6ea0fa
Avoid persisting ipam data if it can be reconstructed
...
- Also restore older behavior where overlap check is not run
when preferred pool is specified. Got broken by recent changes
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-05-12 10:27:10 -07:00
Bearice Ren
e82b92182f
typo fix
...
Signed-off-by: Bearice Ren <bearice@gmail.com >
2016-04-14 11:12:35 +08:00
Alessandro Boch
b8134d571b
Merge pull request #1045 from darrenstahlmsft/grammarFix
...
Change 'an user' to 'a user'
2016-04-13 10:54:40 -07:00
Alessandro Boch
8e6d52fa80
Use newly introduce plugins method to validate plugin response
...
- for endpoints which are not expected to be implemented
by all remote drivers.
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-04-08 23:10:25 -07:00
Darren Stahl
70be85fa40
Change 'an user' to 'a user'
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2016-03-22 17:01:26 -07:00
Alessandro Boch
6b209991aa
Fix IPAM driver documentation
...
- ipam.md should only describe the contract
which is relevant to remote ipam plugins.
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-03-02 15:56:46 -08:00
Bryan Boreham
81c586e0e5
Stop referring to requested IP address as "preferred",
...
since it is an error if that address is unavailable.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com >
2016-01-26 15:09:29 +00:00