Commit graph

1199 commits

Author SHA1 Message Date
Madhu Venugopal
799369da81 getNetworksFromStore should not fail on inconsistent network state
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-02-11 03:54:12 -08:00
Jana Radhakrishnan
af569c179f Merge pull request #942 from mavenugo/v0.7.0-dev1
changelog for v0.7.0-dev.1
2016-02-10 17:53:17 -08:00
Madhu Venugopal
f335e2c1eb changelog for v0.7.0-dev.1
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-02-10 17:50:41 -08:00
Jana Radhakrishnan
d9dedd11a3 Merge pull request #941 from mavenugo/san
Add Santhosh as libnetwork maintainer
2016-02-10 10:33:33 -08:00
Jana Radhakrishnan
30a80fc472 Merge pull request #916 from aidanhs/aphs-disallow-ipv6-driver-option
Don't allow passing EnableIPv6 as a driver option (a label)
2016-02-10 10:23:10 -08:00
Madhu Venugopal
b017aeb8ca Add Santhosh as libnetwork maintainer
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-02-10 10:18:31 -08:00
Madhu Venugopal
edaf344a54 Merge pull request #937 from sanimej/compress
Set the compress flag for the responses from external DNS servers
2016-02-09 20:42:48 -08:00
aboch
7e3727e70c Merge pull request #935 from mavenugo/in
getNetworksFromStore should return all valid networks
2016-02-09 18:11:03 -08:00
Madhu Venugopal
101e63f593 getNetworksFromStore should return all valid networks
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-02-09 17:12:29 -08:00
Madhu Venugopal
e9ec59b4f1 Merge pull request #933 from aboch/iptfu
Register natChain with portmapper
2016-02-09 09:53:13 -08:00
Alessandro Boch
5e5dc809cc Register natChain with portmapper
- Becasue it is the only chain which carries the hairpin mode info
- Also install the skipDNAT rule only if userland-proxy == true

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-02-08 18:08:55 -08:00
Santhosh Manohar
cbb59adbd8 Set the compress flag for the responses from external DNS servers to
avoid sending DNS replies > 512 bytes

Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-02-07 02:43:29 -08:00
Madhu Venugopal
0a568e954e Merge pull request #930 from aboch/fd
When programming iptables in container use native API
2016-02-05 15:44:08 -08:00
Alessandro Boch
defcd4afb9 Change in programming iptables in container
- iptables to provide a native API
- resolver.go to invoke the iptables native API
  when programming tables in the container

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-02-05 15:25:43 -08:00
Jana Radhakrishnan
6f8712cd01 Merge pull request #907 from aboch/dsc
discoverapi.Discover interface
2016-02-02 13:17:46 -08:00
Jana Radhakrishnan
36d35a280b Merge pull request #922 from aboch/nodnatr
Allow inter-network connectivity via exposed ports
2016-02-01 14:32:20 -08:00
Alessandro Boch
9db2b791bc Allow inter-network connectivity via exposed ports
Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-02-01 14:12:40 -08:00
Aidan Hobson Sayers
cfb3ce460b Don't allow passing EnableIPv6 as a driver option (a label)
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
2016-01-30 16:01:29 +00:00
Madhu Venugopal
b084b06352 Merge pull request #905 from aboch/lv
Delete the interface on endpoint delete in overlay
2016-01-29 16:37:35 -08:00
Jana Radhakrishnan
5286d28a22 Merge pull request #912 from aidanhs/aphs-expose-ipv6-default-bridge
Expose the enableIPv6 setting
2016-01-29 16:11:15 -08:00
Alessandro Boch
83f1107e59 Delete the interface on endpoint delete in overlay
- Attempt the veth delete only after both ends
  are moved into the default network namespace.
  Which is after both driver.Leave() and
  sandbox.clearNetworkResources() are called.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-01-29 16:04:14 -08:00
Jana Radhakrishnan
b253feee8c Merge pull request #913 from LK4D4/fix_races
Fix some races in getNetworkFromStore
2016-01-29 11:19:21 -08:00
Alexander Morozov
74cf622463 Fix some races in getNetworkFromStore
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-01-29 11:06:33 -08:00
Aidan Hobson Sayers
01d2ad412f Expose the enableIPv6 setting
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
2016-01-29 18:31:13 +00:00
Jana Radhakrishnan
16efd61364 Merge pull request #906 from aboch/ovip
Remove overlay's ipAllocator
2016-01-28 15:46:27 -08:00
Alessandro Boch
247e8034b8 Introduce discoverapi.Discover interface
- 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>
2016-01-28 12:13:04 -08:00
Alessandro Boch
187e179e6b Remove overlay's ipAllocator
- A vestige of experimental overlay driver

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-01-27 16:55:59 -08:00
Madhu Venugopal
8763b5981f Merge pull request #901 from mrjana/bugs
Cleanup stale overlay sandboxes
2016-01-26 11:17:16 -08:00
Jana Radhakrishnan
f719512ab4 Cleanup stale overlay sandboxes
When the daemon is ungracefully shutdown, sometimes
when we try to create the overlay sandbox after coming
back up might get created in a different epoch count
which will result in the vxlan interface not properly
cleaned up. Fix this by explicitly cleaning up all the
previous epoch sandboxes.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-01-26 11:05:34 -08:00
aboch
d25e25ccb9 Merge pull request #756 from TimWolla/rfc3849
Use documentation IPv6 addresses (RFC 3849) in tests
2016-01-26 11:32:26 -05:00
aboch
2b105e3610 Merge pull request #902 from bboreham/not-preferred
Stop referring to requested IP address as "preferred"
2016-01-26 11:29:44 -05: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
Jana Radhakrishnan
a63a935fb3 Merge pull request #899 from aboch/sz
Handle concurrent creation of default GW network
2016-01-25 17:45:28 -08:00
Alessandro Boch
7086da757a Handle concurrent creation of default GW network
- Code is not protected against concurrent joins of overlay network

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-01-25 17:19:58 -08:00
aboch
2b6143d61d Merge pull request #898 from mavenugo/sbep
expose Endpoints API for a Sandbox
2016-01-25 20:00:11 -05:00
Madhu Venugopal
7a76968485 expose Endpoints API for a Sandbox
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-01-25 16:23:00 -08:00
aboch
7cefc36f02 Merge pull request #893 from mavenugo/gwservice
Reducing the complexity in default gateway service handling
2016-01-25 14:56:12 -05:00
Madhu Venugopal
1419d96a01 Reducing the complexity in default gateway service handling
By removing the need to clear the default gateway during sbJoin and
sbLeave to account for other bridge network, the default-gw endpoint
will stay with the container, it will also help retain the container
property.

Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-01-23 11:10:00 -08:00
aboch
079ec162bc Merge pull request #891 from mavenugo/tcpdns
Adding TCP listener to the resolver
2016-01-22 19:58:16 -05:00
Madhu Venugopal
52e9c0b14d Merge pull request #890 from aboch/rp
Fix predefined pool reservation
2016-01-22 16:11:07 -08:00
Alessandro Boch
a509244057 Fix predefined pool reservation
- The pool request code does not behave properly in
  case of concurrent requests when client does not
  specify a preferred pool. It may dispense the same
  predefined pool to different networks.
- The issue is common for local and global
  address spaces

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-01-22 14:19:41 -08:00
Madhu Venugopal
62b34aa361 Adding TCP listener for embedded DNS
Signed-off-by: Madhu Venugopal <madhu@docker.com>
2016-01-22 13:49:22 -08:00
Jana Radhakrishnan
bb5c52a659 Merge pull request #888 from sanimej/dns
Embedded DNS server should resolve only in docker network domain
2016-01-21 18:19:36 -08:00
aboch
f9a0bbebee Merge pull request #886 from sanimej/v6
Retain V6 DNS server in resolv.conf; use only V4 servers for fallback
2016-01-21 19:31:36 -05:00
Madhu Venugopal
a02c73c352 Merge pull request #887 from sanimej/dns
Loopback IP shouldn't be filtered from resolv.conf in host mode
2016-01-20 17:50:55 -08:00
Madhu Venugopal
840d82b8da Merge pull request #884 from sanimej/dns
Enable embedded DNS server on network connect to a user defined network
2016-01-20 15:58:59 -08:00
aboch
3e6a42bcdb Merge pull request #880 from mavenugo/ddd
Force delete sandbox during sandboxCleanup
2016-01-19 13:57:53 -05:00
Santhosh Manohar
411bc69949 Embedded DNS server should resolve only in docker network domain
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-01-19 06:47:30 -08:00
Santhosh Manohar
30ef9bcf4a Retain V6 DNS server in resolv.conf; use only V4 servers for fallback
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-01-19 00:06:19 -08:00
Santhosh Manohar
4e25ffc8d9 Loopback IP shouldn't be filtered from resolv.conf in host mode
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2016-01-18 20:18:44 -08:00