Commit Graph

1022 Commits

Author SHA1 Message Date
Santhosh Manohar
9a91bbeb4f Clear cached udp connections on resolver Stop()
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-03-14 17:21:41 -07:00
Jana Radhakrishnan
82b88f274a Merge pull request #990 from aboch/ecl
Avoid network/endpoint_count inconsistences
2016-03-15 15:24:37 -07:00
Madhu Venugopal
5e0beecbdb Merge pull request #670 from aboch/it
Change in bridge/setup_ip_tables.go
2016-03-15 12:39:15 -07:00
Alessandro Boch
c92a4e9fd6 Avoid network/endpoint count inconsistences
- ... on ungraceful shutdown during network create
- Allow forceful deletion of network
- On network delete, first mark the network for deletion
- On controller creation, first forcely remove any network
  that is marked for deletion.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-15 09:09:13 -07:00
Brent Salisbury
2b2d011899 Reject a null v4 IPAM slice in exp vlan drivers
Issue #1018

Signed-off-by: Brent Salisbury <brent@docker.com>
2016-03-13 00:42:00 -05:00
Madhu Venugopal
62c6bb12db changelog for 0.7.0-dev.7
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-11 14:04:09 -08:00
Brent Salisbury
dda75448c3 Removed experimental drivers modprobe check
- Kernel requirements are checked w/o modprobe now

Signed-off-by: Brent Salisbury <brent@docker.com>
2016-03-11 17:00:36 -05:00
Madhu Venugopal
1fa49a3551 Merge pull request #1015 from nerdalert/kernel_bump
Bumped ipvlan kernel version to >= 4.2
2016-03-11 11:44:26 -08:00
Brent Salisbury
fcf79b55ff Bumped ipvlan kernel version to >= 4.2
- ipvlan l2 mode is buggy in < 4.2

Signed-off-by: Brent Salisbury <brent@docker.com>
2016-03-11 14:28:32 -05:00
Madhu Venugopal
3c3e8834fb Merge pull request #1001 from LK4D4/dbus_conn
Close dbus connection if firewalld is not started
2016-03-11 11:23:32 -08:00
Madhu Venugopal
e052aeaaa0 changelog for 0.7.0-dev.6
* Experimental support of macvlan and ipvlan drivers

Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-10 18:18:09 -08:00
Madhu Venugopal
60bd944921 ipvlan slaves must inherit the mac-address from parent
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-10 18:05:45 -08:00
Madhu Venugopal
64edd40fcc Use osl.InitOSContext appropriately
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-10 16:30:10 -08:00
Brent Salisbury
af75e8a624 Added kernel version checks for macvlan/ipvlan
ipvlan >= 4.0.0 due to early instability
macvlan >= 3.9

Signed-off-by: Brent Salisbury <brent@docker.com>
2016-03-10 17:09:48 -05:00
Madhu Venugopal
fe10aae30b Adding the missing ExternalConnectivity driver methods
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-09 19:35:44 -08:00
Alessandro Boch
7e8a656991 Merge pull request #964 from nerdalert/ipvlan_macvlan
Added macvlan and ipvlan drivers
2016-03-09 18:15:10 -08:00
Madhu Venugopal
ed9601e4c6 Make macvlan and ipvlan drivers as experimental
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-09 19:43:20 -05:00
Alexander Morozov
a971c561d1 Close dbus connection if firewalld is not started
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-03-09 09:31:22 -08:00
Santhosh Manohar
22a48cd84f Merge pull request #998 from aboch/fx
Fix docker IT failures for 0.7.0-dev.4 vendoring
2016-03-08 17:50:27 -08:00
Alessandro Boch
5ada0fa920 changelog for v0.7.0-dev.5
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-08 17:37:20 -08:00
Alessandro Boch
a75f64df20 Merge pull request #994 from sanimej/fixes
If anonymous container has alias names use it for DNS PTR record
2016-03-08 16:48:44 -08:00
Alessandro Boch
8cf7270d06 Miscellaneous fixes
- Fix npe in sbJoin error path
- Fail again endpoint Join in case of failure
  in programming the external connectivity
- In bridge, look for parent and child container configs
  in the generic data
- iptables.Exists() might be called before any other call to
  iptables.raw(). We need to call checkInit() then.

Introduced by 1638fbdf27

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-08 15:49:47 -08:00
Alessandro Boch
84c1d626c6 Merge pull request #1000 from sanimej/panic
Fix out of bound slice access in etchosts.go/Delete()
2016-03-08 15:05:13 -08:00
Alessandro Boch
392750e74c changelog for v0.7.0-dev.4
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-07 17:52:56 -08:00
Madhu Venugopal
a66df11336 Merge pull request #995 from aboch/vcu
Fix veth leak in overlay driver
2016-03-07 17:21:50 -08:00
Alessandro Boch
dbf16c8302 Fix veth leak in overlay driver
- Because of the lazy logic in Leave(), the overlay
  veth end is not moved from the sandbox to the host
  network namspace until the last endpoint leaves.
  We cannot rely on this logic to clear the veth pairs,
  because on last endpoint leave we have no reference to
  the other N-1 veth names.

- The fix is to delete the container veth end on endpoint delete.
  This anyways deletes both veth ends, regardless they are in different
  namespaces.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-07 15:17:22 -08:00
msabansal
679ee7a070 Fixed IP information not displayed properly in docker network inspect
Signed-off-by: msabansal <sabansal@microsoft.com>
2016-03-07 13:20:42 -08:00
Santhosh Manohar
bb3c060954 Merge pull request #810 from aboch/se
Move exposed ports and port bindings from Endpoint to Sandbox
2016-03-06 16:25:57 -08:00
Santhosh Manohar
dd48b1c688 If anonymous container has alias names use it for DNS PTR record
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-03-06 10:46:40 -08:00
Santhosh Manohar
82f3d55fa4 Fix out of bound slice access in Delete()
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-03-06 10:03:03 -08:00
Alessandro Boch
1638fbdf27 Move exposed ports from Endpoint to Sandbox
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-03-06 09:31:26 -08:00
Alessandro Boch
747ea8e52b Merge pull request #974 from sanimej/RR
Embedded DNS server to return multiple A records for enabling DNS Round Robin
2016-03-04 17:12:35 -08:00
Madhu Venugopal
d734bc5807 Merge pull request #958 from aboch/dc
Fix IPAM driver documentation
2016-03-03 18:14:28 -08:00
Madhu Venugopal
35baeffab6 Merge pull request #925 from aboch/ex
Fix iptables.Exists logic
2016-03-03 18:12:53 -08:00
Madhu Venugopal
86db344e56 Merge pull request #803 from aboch/pm
Libnetwork to program container interface's MAC
2016-03-03 18:12:08 -08:00
Madhu Venugopal
eef3a6da75 Merge pull request #895 from sanimej/loop
Source external DNS queries from container namespace
2016-03-03 17:27:19 -08:00
Santhosh Manohar
51058eecec Implement DNS RR in the Docker embedded DNS server
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-03-03 09:33:10 -08:00
Alessandro Boch
48dadca30a Merge pull request #987 from mavenugo/cnr
Fixed a panic issue in clearNetworkResources
2016-03-03 08:57:55 -08:00
Madhu Venugopal
093df0b922 Fixed a panic issue in clearNetworkResources
Not sure why govet didnt catch this obvious error

Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-03-03 08:25:13 -08:00
Santhosh Manohar
43e3da2f3a Source external DNS queries from container namespace
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-03-03 07:29:32 -08: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
Alessandro Boch
b532754b19 Merge pull request #970 from chenchun/nil
Add nil ipam driver
2016-03-02 08:22:46 -08:00
Brent Salisbury
ea30113303 Added macvlan and ipvlan drivers
- Notes at: https://gist.github.com/nerdalert/c0363c15d20986633fda

Signed-off-by: Brent Salisbury <brent@docker.com>
2016-03-02 06:22:36 -05:00
Chun Chen
7c9afb0303 Merge pull request #983 from stweil/master
Fix some typos in comments and strings
2016-03-02 12:36:20 +07:00
Chun Chen
9ba3f70d8e bridge/overlay driver should fail to create network with empty ip pool passed
Signed-off-by: Chun Chen <ramichen@tencent.com>
2016-03-02 12:29:41 +07:00
Alessandro Boch
ac1ec348ff Add nil ipam driver
Signed-off-by: Alessandro Boch <aboch@docker.com>
Signed-off-by: Chun Chen <ramichen@tencent.com>
2016-03-02 10:55:38 +07:00
aboch
3be706fa35 Merge pull request #973 from msabansal/portmapfix
Renaming driver name to lower case for usability
2016-03-01 08:27:47 -08:00
aboch
68df121f41 Merge pull request #950 from thockin/hostname_domainname
Extract hostname from (hostname.domainname)
2016-03-01 08:25:58 -08:00
Stefan Weil
13451d9a07 Fix some typos in comments and strings
All of them were found and fixed by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-01 16:45:14 +01:00
Madhu Venugopal
a470279081 Merge pull request #978 from allencloud/fix-typos
Fix some typos
2016-03-01 05:41:35 -08:00