selansen
d28d679080
Enable IPV6 config on Sandbaox creation on live-restore
...
In sandbox creation we disable IPV6 config. But this causes problem in live-restore case
where all IPV6 configs are wiped out on running container. Hence extra check has been added
take care of this issue.
Signed-off-by: selansen <elango.siva@docker.com >
2017-12-27 23:32:29 -05:00
Sebastiaan van Stijn
276a452f17
Remove Solaris support
...
Solaris support for Docker will likely not reach completion,
so removing these files as they are not in use and not
maintained.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-10-25 15:33:06 +02:00
Madhu Venugopal
98fb784130
Merge pull request #1964 from pradipd/hotadd
...
Enable Hotadd support for windows
2017-10-08 12:28:15 -07:00
Madhan Raj Mookkandy
b0888450a9
Enable Hot Add/Remove of Network Endpoints for Windows
...
Signed-off-by: Madhan Raj Mookkandy <madhanm@microsoft.com >
2017-10-02 22:19:18 -07:00
Flavio Crisciani
181115b350
Addressing code review comments
...
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
2017-10-02 11:12:36 -07:00
Flavio Crisciani
3e7b6c9cb0
flush peerdb entries on network delete
...
peerDB was never being flushed on network delete
leaveing behind stale entries
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
2017-10-02 11:12:35 -07:00
Flavio Crisciani
711d033757
Handle IP reuse in overlay
...
In case of IP reuse locally there was a race condition
that was leaving the overlay namespace with wrong configuration
causing connectivity issues.
This commit introduces the use of setMatrix to handle the transient
state and make sure that the proper configuration is maintained
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
2017-10-02 11:12:33 -07:00
Flavio Crisciani
3c1ebfaef9
Add service virtual IP to sandbox's loopback address
...
Refreshed the PR: https://github.com/docker/libnetwork/pull/1585
Addressed comments suggesting to remove the IPAlias logic not anymore used
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
2017-08-08 16:16:45 -07:00
Derek McGowan
710e0664c4
Update logrus to v1.0.1
...
Fix case sensitivity issue
Update docker and runc vendors
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2017-08-07 11:20:47 -07:00
Santhosh Manohar
d51ed8a97b
Remove the error message on mac delete failure..
...
Deletion of the dynamic mac is expected to work only if there was active
traffic with that endpoint and a dynamic entry exists. It can also age
out. Hence the mac removal failing is not error. Removing it to make the
debugging easier when parsing the logs.
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2017-07-28 15:40:21 -07:00
Flavio Crisciani
65860255c6
Fixed code issues
...
Fixed issues highlighted by the new checks
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
2017-06-12 11:31:35 -07:00
Santhosh Manohar
e49955988a
Remove dynamic mac entry from fdb on endpoint deletion
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2017-06-01 12:20:46 -07:00
Alessandro Boch
cddead94d2
Do not manage ipv6 for host mode containers
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2017-04-07 14:14:26 -07:00
Santhosh Manohar
9dc694de18
Always program the kernel state if triggered by l2 or l3 miss
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2017-03-16 18:12:52 -07:00
Madhu Venugopal
00f1f12906
Merge pull request #1667 from wnagele/master
...
Support for com.docker.network.bridge.container_interface_prefix label
2017-03-13 07:46:56 -07:00
Santhosh Manohar
200410dd18
Lock linux namespace structure when adding neighbors
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2017-03-02 00:04:09 -08:00
Wolfgang Nagele
d07e1a02a4
Support for com.docker.network.bridge.container_interface_prefix label
...
Signed-off-by: Wolfgang Nagele <mail@wnagele.com >
2017-03-01 03:09:45 +01:00
Santhosh Manohar
e94edd6d6b
Ignore previous serf user events to avoid wrong fdb programming
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2017-02-07 12:14:23 -08:00
Alessandro Boch
f195563a4e
Control IPv6 on container's interface
...
- Disable ipv6 on all interface by default at sandbox creation.
Enable IPv6 per interface basis if the interface has an IPv6
address. In case sandbox has an IPv6 interface, also enable
IPv6 on loopback interface.
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-11-22 15:38:24 -08:00
Madhu Venugopal
b6540296b0
Revert "Enable ping for service vip address"
...
This reverts commit ddc74ffced .
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2016-11-21 03:30:27 -08:00
Madhu Venugopal
950f2e07ff
Merge pull request #1557 from aboch/to
...
Set a timeout to the netlink handle sockets
2016-11-17 16:39:29 -08:00
Alessandro Boch
763f0fa1da
Set a timeout on the netlink handle sockets
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-11-15 12:08:36 -08:00
Alessandro Boch
6afe20096d
Fix bug in DeleteNeighbor
...
- stop iterating after changing the list reference
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-11-14 21:53:03 -08:00
Jana Radhakrishnan
f681e896ae
Merge pull request #1531 from daehyeok/logrus_formating
...
Fix logrus formatting
2016-11-08 13:23:39 -08:00
Daehyeok Mun
7f473c779a
Refactoring logrus import and formatting
...
This fix tries to fix logrus formatting by removing `f` from
`logrus.[Error|Warn|Debug|Fatal|Panic|Info]f` when formatting string
is not present.
Also fix import name to use original project name 'logrus' instead of
'log'
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com >
2016-11-08 12:42:41 -07:00
Alessandro Boch
0d32a1924e
Check subnet overlap when programming of sandbox interface
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-11-08 11:22:38 -08:00
Jana Radhakrishnan
b1e753137f
Merge pull request #1501 from sanimej/vip
...
Enable ping for service vip address
2016-11-02 09:45:14 -07:00
Santhosh Manohar
ddc74ffced
Enable ping for service vip address
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com >
2016-10-27 12:36:41 -07:00
Puneet Pruthi
a48b541da3
libnetwork support for Solaris
...
Signed-off-by: Puneet Pruthi <puneetpruthi@gmail.com >
2016-10-14 16:38:23 -07:00
Jana Radhakrishnan
2ba6c399ea
Ensure purging neighbor cache for stale deletes
...
When stale delete notifications are received, we still need to make sure
to purge sandbox neighbor cache because these stale deletes are most
typically out of order delete notifications and if an add for the
peermac was received before the delete of the old peermac,vtep pair then
we process that and replace the kernel state but the old neighbor state
in the sandbox cache remains. That needs to be purged when we finally
get the out of order delete notification.
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com >
2016-09-07 10:45:40 -07:00
Jana Radhakrishnan
b0f5f02224
Merge pull request #1284 from liubin/fix-typos
...
fix typos
2016-08-01 09:49:00 -07:00
Alessandro Boch
c0864059a7
Merge pull request #1329 from mavenugo/execroot
...
Make osl sandbox basepath configurable using --exec-root configuration
2016-07-20 18:28:21 -07:00
Alexander Polakov
daf4c97f7a
Actually retry LinkSetUp
...
Signed-off-by: Alexander Polakov <plhk@sdf.org >
2016-07-19 14:20:45 +03:00
Madhu Venugopal
25f0573785
Make osl sandbox basepath configurable via execroot.
...
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2016-07-18 05:14:39 -07:00
Madhu Venugopal
f0292e04b8
Add Virtual-IP of an endpoint as a secondary IP
...
Signed-off-by: Madhu Venugopal <madhu@docker.com >
2016-07-12 15:50:42 -07:00
Clint Armstrong
fa68f9d017
Make sure route selected is direct
...
Signed-off-by: Clint Armstrong <clint@clintarmstrong.net >
2016-06-23 16:23:47 -04:00
Alessandro Boch
382aefbeb5
Merge pull request #1279 from BSWANG/master
...
make sure interface up successful
2016-06-22 08:17:28 -07:00
bin liu
5f7577bbb4
fix typos
...
Signed-off-by: bin liu <liubin0329@gmail.com >
2016-06-22 14:20:30 +08:00
bingshen.wbs
93cada0d94
make sure interface up successful
...
Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com >
2016-06-21 14:28:13 +08:00
Alessandro Boch
117131c41b
Gracefully handle missing xfrm modules
...
If xfrm modules cannot be loaded:
- Create netlink.Handle only for ROUTE socket
- Reject local join on overlay secure network
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-06-20 17:25:32 -07:00
Alessandro Boch
8ee94f8349
Make sure sandbox GC is started after live-restore
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-06-13 23:48:00 -07:00
Alessandro Boch
41ca84c950
Populate nlHandle and use it on netns restore
...
- also in overlay/encryprion.go
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-06-13 23:48:00 -07:00
Lei Jitang
055c5dd496
Add network restore to support docker live restore container
...
Signed-off-by: Lei Jitang <leijitang@huawei.com >
2016-06-13 23:48:00 -07:00
Alessandro Boch
6d3fa9e0f2
Migrate libnetwork to use netlink.Handle
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-06-08 21:05:36 -07:00
Madhu Venugopal
4c1ed2010b
Merge pull request #1228 from aboch/ll
...
Allow to program Endpoint link-local addresses
2016-06-08 18:17:42 -07:00
Alessandro Boch
da61c5d37f
Allow to program Endpoint link-local addresses
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-06-08 15:02:34 -07:00
allencloud
de588f950d
fix typos
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2016-05-30 18:20:52 +08:00
Alessandro Boch
84682eb59a
Fix bug in osl.SetGatewayIPv6() function
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
2016-04-28 12:49:40 -07:00
Alessandro Boch
c891a47cb3
Merge pull request #1095 from mrjana/ipam
...
Remove all netlink/osl deps from ipam/ipamutils
2016-04-15 11:46:47 -07:00
Amit Krishnan
c7684b5ff7
Get libnetwork to build on Solaris
...
Signed-off-by: Amit Krishnan <krish.amit@gmail.com >
2016-04-14 14:03:50 -07:00