Bryan Boreham
cbf4a0facd
Move warning on plugin active into Go code
2016-06-02 17:19:51 +01:00
Bryan Boreham
1d91c1a23b
Cleanup: change ring test from 255 to 256 in length, which is more realistic
2016-06-01 17:51:21 +01:00
Martynas Pumputis
f50fbc002e
Change ipam Universe from Range to CIDR
...
There was no code to initialize it as anything else, and this lets us
bake in an assumption that it will always be a CIDR.
2016-06-01 17:06:31 +01:00
Adam Harrison
dbc8b4fe1a
Updated badges
2016-06-01 14:43:23 +01:00
Matthias Radestock
b1fa417381
Merge branch '1.5'
2016-05-27 19:34:51 +01:00
Matthias Radestock
912e8fe119
Merge pull request #2323 from weaveworks/name-tests-properly
...
Name tests so they are picked up by runner
2016-05-27 19:33:34 +01:00
Bryan Boreham
e2294482a6
Refactor: extract functional parts of weave export so they can be called from elsewhere
2016-05-27 16:52:53 +01:00
Adam Harrison
b4fda4c98e
Name tests so they are picked up by runner
2016-05-27 16:47:47 +01:00
Bryan Boreham
d9da08792f
Merge branch '1.5'
2016-05-27 13:40:29 +01:00
Bryan Boreham
bf040105da
Speed up smoke-tests by reducing timeout on 'docker stop'
2016-05-27 13:15:32 +01:00
Bryan Boreham
e8ca085758
Merge branch '1.5'
2016-05-26 16:30:26 +00:00
Bryan Boreham
7300c33793
Add release v1.5.2
v1.5.2
2016-05-26 16:10:07 +00:00
Bryan Boreham
f5cd7b5073
Remove 'make update' from release process now we vendor dependencies
2016-05-26 16:10:07 +00:00
Adam Harrison
f02b78ed73
Merge branch '1.5'
...
Closes #2282
2016-05-26 16:16:54 +01:00
Adam Harrison
b3379df53d
Merge pull request #2321 from weaveworks/issues/2282-check-subnets
...
Check validity of IP subnets
2016-05-26 16:16:39 +01:00
Adam Harrison
c9525532ea
Merge branch '1.5'
...
Closes #2300
2016-05-26 16:08:14 +01:00
Adam Harrison
654a811ef0
Merge pull request #2319 from weaveworks/issues/2300-spot-gateway
...
Don't release fake gateway address in plugin
2016-05-26 16:07:39 +01:00
Bryan Boreham
cda1084777
Check validity of IP subnets
...
Be more consistent about this - check in the same way whether at startup
or during allocation.
2016-05-26 14:31:17 +00:00
Bryan Boreham
fd257f43d1
Don't release fake gateway address
...
Watch out for Docker releasing the fake gateway address we create when
the network is set up, and don't pass it on to Weave IPAM.
2016-05-26 12:30:03 +00:00
Bryan Boreham
8ff814d976
Plugin and weaveutil depend on networking code
2016-05-26 11:35:10 +00:00
Bryan Boreham
7c819e7f5c
Merge branch 'issues/1940-remove-proxy-attach-dep'
2016-05-26 11:33:37 +00:00
Bryan Boreham
b417696c66
Wait 1ms before sending gratuitous arp
2016-05-26 11:17:04 +00:00
Martynas Pumputis
f0109c1920
Merge pull request #2307 from weaveworks/issues/1940-remove-proxy-attach-dep
...
Move container attachment from sh to Go
2016-05-26 10:11:02 +01:00
Bryan Boreham
6dd109a5bb
Only do ethtool tx off in bridged (pcap) mode.
...
Detect the bridge type in the same way the weave script does.
2016-05-25 17:34:13 +01:00
Bryan Boreham
2702b85ee5
Improve veth name construction; use a constant instead of "ethwe"
2016-05-25 17:34:13 +01:00
Bryan Boreham
8717fd15ed
Use 'peer' and 'veth' instead of 'guest' and 'local', after review comments
2016-05-25 17:34:13 +01:00
Bryan Boreham
161446d55d
Move error detection for attach() into Go
2016-05-25 17:34:13 +01:00
Bryan Boreham
ac14b19db8
Move attach() and detach() from shell script to Go
2016-05-25 17:34:13 +01:00
Adam Harrison
e3ef473cd3
Utility function to disable tx checksum offload
2016-05-25 17:29:45 +01:00
Bryan Boreham
4fc2835d92
Extract AddRoute function
2016-05-25 17:29:45 +01:00
Bryan Boreham
85023e0a76
Extract AttachContainer() function
...
Also move netlink and netns code from common to net
Creates interface if not already there
Adds addresses
Move the set link 'up' to after addresses are added
2016-05-25 17:29:45 +01:00
Bryan Boreham
0257274aa8
Extract basic veth setup
2016-05-25 17:23:49 +01:00
Bryan Boreham
9aaa7f19fd
initialize via sub-function
2016-05-25 17:17:19 +01:00
Bryan Boreham
9f8b94645d
Obtain IP address before setting up veth
2016-05-25 17:17:19 +01:00
Bryan Boreham
c458deaf80
Slight cleanup
2016-05-25 17:17:19 +01:00
Bryan Boreham
d59c170cd5
Remove veth on error
2016-05-25 17:17:19 +01:00
Bryan Boreham
f11d91badf
Extract veth creation and LinkSetUp to net package
2016-05-25 17:17:19 +01:00
Martynas Pumputis
c63619bf7d
Merge remote-tracking branch 'origin/1.5'
2016-05-25 17:09:48 +01:00
Martynas Pumputis
d9d1956e0c
Merge pull request #2313 from weaveworks/cni-gratuitous-arp
...
Send out arp update from CNI plugin
2016-05-25 17:06:10 +01:00
Bryan Boreham
f695b3fd17
Smoke-test CNI arp update
2016-05-25 12:05:20 +01:00
Bryan Boreham
ede00047db
Send out arp update from CNI plugin
2016-05-25 12:05:20 +01:00
Adam Harrison
52377df340
Merge branch '1.5'
2016-05-24 17:10:52 +01:00
Adam Harrison
424d331a32
Merge pull request #2314 from weaveworks/disable-doc-previews
...
Temporarily disable doc previews
2016-05-24 17:10:28 +01:00
Adam Harrison
fbbbb924a3
Temporarily disable doc previews
2016-05-24 16:46:41 +01:00
Matthias Radestock
caeff127c9
Merge branch '1.5'
2016-05-24 11:27:42 +01:00
Bryan Boreham
56145ba518
Merge pull request #2311 from weaveworks/issues/2306-proxy-swarm-pending
...
Flush chunked response header immediately; fixes #2306 .
2016-05-24 10:36:09 +01:00
Adam Harrison
885b6195f6
Flush chunked response header immediately
2016-05-24 08:28:24 +01:00
Bryan Boreham
df3ccd362a
Merge branch '1.5'
2016-05-19 15:58:55 +01:00
Bryan Boreham
5ed18994cd
Send error messages about incompatible bridge settings to stderr
2016-05-19 15:58:15 +01:00
Adam Harrison
4dca07c9ff
Merge pull request #2296 from weaveworks/issues/2284-die-another-way
...
Move kill-on-failure responsibility to caller of weave script
2016-05-18 12:19:44 +01:00