Matthias Radestock
592335092c
refactor: tweak GossipChannel API
2015-12-21 17:42:20 +00:00
Matthias Radestock
6c4e9fccd3
cosmetic
2015-12-21 17:28:22 +00:00
Matthias Radestock
6903b8d458
refactoring for consistency
2015-12-21 17:18:12 +00:00
Matthias Radestock
274265f001
typo
2015-12-21 17:03:03 +00:00
Bryan Boreham
ceac3c3d83
Merge branch '1.4'
2015-12-18 09:54:22 +00:00
Bryan Boreham
48658f011f
Merge pull request #1805 from weaveworks/script-indentation
...
Fix indentation of weave script
2015-12-18 09:53:12 +00:00
Bryan Boreham
4ebb13fa94
Fix indentation of netcheck if-statement
2015-12-17 16:23:42 +00:00
Adam Harrison
bda8cff7c1
Merge branch '1.4'
2015-12-17 13:09:20 +00:00
Adam Harrison
ff9a6b91a4
Merge branch 'latest_release_doc_updates' into 1.4
2015-12-17 13:07:48 +00:00
Adam Harrison
86fc37a968
Merge pull request #1799 from weaveworks/plugin-docs
...
Extend plugin docs
2015-12-17 12:24:12 +00:00
Bryan Boreham
37ae169323
Merge remote-tracking branch 'origin/master' into latest_release_doc_updates
2015-12-17 11:48:23 +00:00
Bryan Boreham
1ce0df4e94
Explain multiple networks
2015-12-17 11:42:41 +00:00
Bryan Boreham
db5ba61915
Improve formatting
2015-12-17 11:41:44 +00:00
Bryan Boreham
db120fb9be
Add release v1.4.0
v1.4.0
2015-12-17 10:30:06 +00:00
Adam Harrison
ea6e171a7f
Merge pull request #1794 from weaveworks/warn-stop-plugin
...
Warn user if weave network is in use on stop or reset of plugin
2015-12-17 10:27:58 +00:00
Bryan Boreham
246cb76e50
Add note to docs about not removing the plugin
2015-12-17 10:26:08 +00:00
Bryan Boreham
ecf4a82b99
Warn user if weave network is in use on stop or reset
2015-12-17 10:05:36 +00:00
Bryan Boreham
357f67255e
Move logging of Docker API info to callers
2015-12-17 08:25:51 +00:00
Adam Harrison
7015ab8717
Merge pull request #1780 from weaveworks/1748-no-with-dns
...
Remove WITH_DNS variable from weave script
2015-12-16 15:59:24 +00:00
Bryan Boreham
67195bc9f3
Remove WITH_DNS variable and deprecate --with-dns option to 'weave run'
2015-12-16 14:55:35 +00:00
Adam Harrison
ce18509aa7
Merge pull request #1781 from weaveworks/1754-no-with-dns
...
Remove --with-dns option from proxy
2015-12-16 14:02:30 +00:00
Bryan Boreham
cbaa92dcb2
Revert "don't broadcast-gossip other peer when adding a connection"
...
while we consider how to fix it properly.
This reverts commit cbb2ad018d .
2015-12-16 13:46:37 +00:00
Bryan Boreham
f09d87c112
Merge pull request #1796 from weaveworks/gossip-test-connection-mistake
...
fix gossip test connection peer initialisation and connection deletion mistakes
2015-12-16 13:36:50 +00:00
Adam Harrison
7a8bba4d95
Merge pull request #1776 from weaveworks/1752-plugin-multicast
...
Plugin optional multicast route
2015-12-16 13:28:03 +00:00
Bryan Boreham
e6e414a017
Merge pull request #1795 from weaveworks/issues/1772-fix-fastdp-address-already-in-use
...
Introduce limited retry on vxlan vport creation. LGTM; fixes #1772 .
2015-12-16 13:22:50 +00:00
Matthias Radestock
81df06b3f4
fix DeleteTestGossipConnection
...
This is a one-sided operation, so we shouldn't be touching the
remote's Peers.
Also fix the associated test... When both 1 and 2 have lost their
connection to 3, they no longer have a route to 3 and hence gc it.
And because they no longer have a route, gossip from them won't get
through to 3.
2015-12-16 13:18:05 +00:00
Matthias Radestock
5401037743
refactor: inline mockGossipConnection.Connect
...
Also change Start() order in AddTestGossipConnection to be more
pleasing to the eye; the order isn't actually important.
2015-12-16 12:45:12 +00:00
Matthias Radestock
9d9768ee6f
fix incorrect peer initialisation on test gossip connections
...
We were creating peers with NewPeerFrom, which copies the Version (but
not connections). That's not what happens for a real connection, where
remote peers are always created with an initial version of 0.
The mistake results in brokenness: when we subsequently receive a
topology update for that peer with the same version then we ignore it,
even though the update contains connection information which is new to
us.
Related, it is conceptually wrong to call FetchWithDefault on the
remote router. That is not what happens for a real connection - the
FetchWithDefault occurs in the symmetric counterpart.
2015-12-16 12:33:07 +00:00
Bryan Boreham
3043217b2c
Extend --no-multicast-route test to plugin
2015-12-16 12:17:25 +00:00
Bryan Boreham
afcb84d42c
Set up static route for multicast, with option to turn off
2015-12-16 12:17:25 +00:00
Adam Harrison
d5aad8f8d2
Introduce limited retry on vxlan vport creation
...
The kernel processes vport deletion asynchronously, meaning that we can
sometimes fail to recreate vxlan vports on startup with an EADDRINUSE
error. We compensate by retrying a small number of times with a short
sleep on encountering this error, failing as before on a different error
or exhaustion of retries.
2015-12-16 11:51:28 +00:00
Bryan Boreham
c46febd7df
Fix Makefile so weavewait* are statically linked
...
- the `-tags netgo` was being ignored by an interaction with the newer tags
2015-12-16 11:45:10 +00:00
Bryan Boreham
f880da4827
Merge pull request #1722 from weaveworks/fdp-high-level-overview
...
Add fast datapath high level overview
2015-12-16 10:49:31 +00:00
Bryan Boreham
85c9cf43f7
Merge pull request #1689 from weaveworks/1586-alternate-docker-sock
...
Support weave script running against non-standard DOCKER_HOST.
2015-12-16 10:35:46 +00:00
Adam Harrison
ce90d2389b
Merge pull request #1790 from weaveworks/1783-veth-name
...
Prefix interface names with 'veth' so NetworkManager ignores them
2015-12-16 10:34:32 +00:00
Bryan Boreham
d8cfbc4e08
Launch the proxy via unix socket in last test
...
- proxy copies permissions from $DOCKER_HOST socket if available, so in
this case it was not accessible because we were booting via a TCP
socket
2015-12-16 10:14:44 +00:00
Paul Bellamy
88fad251aa
add test for proxy against docker on non-standard unix socket
...
Means we need to rebuild the gce images
(also small improvement re tmpdir)
2015-12-16 10:14:15 +00:00
Bryan Boreham
1a1d8b7c74
Prefix interface names with 'veth' so NetworkManager ignores them
2015-12-16 10:01:57 +00:00
Paul Bellamy
a4ef96690e
support alternate DOCKER_HOST settings when launching the plugin
2015-12-15 18:12:31 +00:00
Paul Bellamy
f28ad350bd
make weave and the proxy work with tcp-only dockers via DOCKER_HOST
2015-12-15 18:02:59 +00:00
Paul Bellamy
0afc3db383
First pass at passing DOCKER_HOST=unix://* through to the weave and proxy
2015-12-15 18:02:27 +00:00
Paul Bellamy
ca1cce3232
Makefile should use DOCKER_HOST env var
2015-12-15 18:02:27 +00:00
Adam Harrison
f9228eeb46
Merge pull request #1738 from weaveworks/1727-local-plugin
...
"mesh mode" plugin
2015-12-15 17:53:26 +00:00
Adam Harrison
0c077b8bb1
Merge pull request #1782 from weaveworks/1709-json-func
...
Add a 'json' function for 'weave report -f'
2015-12-15 17:09:02 +00:00
Bryan Boreham
0e9991f7d4
Make plugin create 'weave' network by default
2015-12-15 16:52:37 +00:00
Bryan Boreham
41482aff01
Update plugin README and documentation
2015-12-15 16:52:37 +00:00
Bryan Boreham
791fc9d6b1
Return fake 'gateway address' to avoid requiring consensus during initialization
2015-12-15 16:52:37 +00:00
Bryan Boreham
776ccac00a
Pin docker API version to 1.21
2015-12-15 16:52:30 +00:00
Bryan Boreham
1539009362
Simple smoke-test for 'local' plugin network
2015-12-15 16:47:33 +00:00
Bryan Boreham
9542b77a34
Extend smoke-test framework for weaveplugin
2015-12-15 16:47:33 +00:00