Matthias Radestock
bb1da63bfc
Merge pull request #1048 from squaremo/issue1040_eliminate_ipam_mentions
...
Remove references to 'IPAM' in docs and UI
Closes #1040 .
2015-06-29 23:15:58 +01:00
Matthias Radestock
d1b2e74985
Merge pull request #1045 from squaremo/issue1041_usage_for_initpeercount
...
Add -initpeercount to usage
Closes #1041 .
2015-06-29 19:48:52 +01:00
Michael Bridgen
c0b2fe3e3b
Remove references to 'IPAM' in docs and UI
...
The option `--no-default-ipam` is replaced with
`--no-default-ipalloc`; the former will still work (in a 'last one
wins' way), but its usage message says it's deprecated.
2015-06-29 19:20:26 +01:00
Michael Bridgen
864461918f
Add -initpeercount to usage
2015-06-29 17:06:14 +01:00
Matthias Radestock
9127eb8acf
cosmetic: make weave run usage fit in 80 columns
2015-06-29 16:56:57 +01:00
Paul Bellamy
8e629d9471
Merge pull request #999 from paulbellamy/scope-tests
...
Let Scope use these integration test helpers
2015-06-29 13:51:26 +01:00
Matthias Radestock
ab943d938a
refactor: don't return encoder from handshake()
...
We did this for symmetry/completeness, but the encoder is actually
"consumed" by handshake() in the creation of the tcp senders, hence it
is in fact dangerous to return it.
2015-06-29 12:38:21 +01:00
David Wragg
d6fedc1e6e
Remove error return value from DecodeLayers
...
It is never checked, so add a comment explaining why.
2015-06-29 10:47:56 +01:00
David Wragg
3222478449
Remove the LogFrame when fragmenting
...
Subsequent commits make this LogFrame call a little tricky to retain,
and it's not clear that it is really needed.
2015-06-29 10:47:26 +01:00
Paul Bellamy
26cb65c357
making test helpers more robust so scope can use them
2015-06-29 10:22:10 +01:00
Paul Bellamy
1ef3bd3a8b
add docker version and weave version to test sanity checks
2015-06-29 10:20:55 +01:00
Matthias Radestock
51ecf05091
cosmetic: fix typo in comment
2015-06-27 09:35:14 +01:00
Bryan Boreham
565454d3cb
fixed Logf format specifier
2015-06-26 17:22:35 +01:00
Matthias Radestock
906ff210fe
Merge pull request #1026 from weaveworks/1003-proxy-unix-socket
...
Make proxy listen on unix:///var/run/weave.sock
Closes #1003
2015-06-26 16:44:41 +01:00
Tom Wilkie
c4565f6ed3
Make proxy listen on /var/run/weave.sock
2015-06-26 15:08:21 +00:00
Matthias Radestock
8dd9020803
Merge branch '1.0'
...
Conflicts:
ipam/allocator_test.go
2015-06-26 14:08:09 +01:00
Matthias Radestock
ec62029db5
Merge pull request #1024 from weaveworks/982-fix-mock-gossip3
...
Flush messages from mock gossip in IPAM test
Fixes #982 .
2015-06-26 13:44:57 +01:00
Matthias Radestock
55fbffef75
Merge pull request #1009 from awh/weave_launch_all_the_things
...
Weave launch all the things
Closes #962 .
2015-06-26 13:21:44 +01:00
Bryan Boreham
c84c5dbcdf
Make TestGossipRouter goroutine easier to follow
2015-06-26 11:53:14 +01:00
Bryan Boreham
6725c8355f
Check the result of Allocate in TestFakeRouterSimple()
2015-06-26 11:53:03 +01:00
Bryan Boreham
c659e3448a
Add a flush() function to the mock gossip router, and call it where required
2015-06-26 11:40:58 +01:00
Bryan Boreham
959e5f0082
Use different object types for mock gossip messages
2015-06-26 11:38:25 +01:00
Bryan Boreham
6488b0d11c
More idiomatic exitChan
2015-06-26 11:38:07 +01:00
Matthias Radestock
039a2030db
refactor: make DF flag passing logic more obvious
...
...and provide a better abstraction for sending special frames.
2015-06-26 11:11:17 +01:00
Matthias Radestock
33d85aaee5
Merge pull request #1016 from dpw/defer-df
...
Don't inspect the DF flag earlier than we need to
2015-06-26 11:10:42 +01:00
Adam Harrison
d4c1766532
Fix smoke tests
2015-06-26 11:10:08 +01:00
Matthias Radestock
39a6d1c87e
refactor: simplify a test
2015-06-25 20:13:03 +01:00
Matthias Radestock
ee2a66323e
Merge branch '1.0'
...
Conflicts:
ipam/ring/ring_test.go
2015-06-25 19:57:09 +01:00
Matthias Radestock
635a3e5b26
cosmetic: remove attempt at pretty shell fragment
...
there is just no way to format this so it looks good everywhere, due
to different tab widths.
2015-06-25 19:51:39 +01:00
Matthias Radestock
82da45a638
go get test dependencies
...
The previous 'fix' wasn't working since it `go get -t`'ed the dirs
where our executables live. Which don't contain any tests.
2015-06-25 19:31:38 +01:00
David Wragg
64ac7745fe
Don't inspect the DF flag earlier than we need to
2015-06-25 17:11:52 +01:00
David Wragg
5690902173
Move DF indication into LogFrame
2015-06-25 17:11:20 +01:00
David Wragg
4162dcafd3
Make the full EthernetDecoder available to LogFrame
...
So that LogFrame can include information about the decoded frame beyond
the ethernet layer.
2015-06-25 17:11:20 +01:00
Matthias Radestock
9253d45968
Merge pull request #1010 from bboreham/896-check-gossip
...
Try other peers for space if we get errors
Fixes #896
2015-06-25 17:05:40 +01:00
Matthias Radestock
ea59c6c065
Merge pull request #1015 from weaveworks/go-get-tests
...
Extend 'go get' to tests
2015-06-25 17:01:26 +01:00
Bryan Boreham
7c741d6f7e
Extend 'go get' to tests
...
The `-t` flag asks Go to fetch anything required for tests, which is more necessary now we have added testify.
2015-06-25 16:42:53 +01:00
Bryan Boreham
8a4b0d536e
Updated after review feedback
2015-06-25 15:41:06 +01:00
Bryan Boreham
c76f640e2e
Simpler implementation of weighted-random order
2015-06-25 14:54:44 +01:00
Adam Harrison
a9e3320e7c
Update documentation
2015-06-25 14:43:29 +01:00
Bryan Boreham
b472da18f0
Improve logging of unicast gossip errors
2015-06-25 14:04:37 +01:00
Bryan Boreham
c58cc449c0
More complex ChoosePeersToAskForSpace, with better complexity
2015-06-25 13:19:49 +01:00
Bryan Boreham
af9668f130
Keep trying peers to ask for space until we find one that doesn't error
2015-06-25 12:47:38 +01:00
Adam Harrison
08f3d5b8e8
Implement new weave stop behaviour
2015-06-25 12:47:18 +01:00
Adam Harrison
0d5aad3e90
Rename stop to stop-router
2015-06-25 12:47:18 +01:00
Adam Harrison
fcd79a78af
Implement new weave launch behaviour
2015-06-25 12:47:14 +01:00
Bryan Boreham
9f784b3c31
Report errors in unicasting gossip
2015-06-25 12:22:53 +01:00
Matthias Radestock
657bbbffbc
tiny refactor: raise abstraction level
2015-06-24 18:17:15 +01:00
Tom Wilkie
7780ac1078
Fix gce.sh destory timeouts.
2015-06-24 17:13:37 +00:00
Matthias Radestock
76a12edf57
Merge pull request #997 from dpw/eliminate-starts
...
Eliminate most Start methods in router package
2015-06-24 18:04:57 +01:00
David Wragg
7387caa2eb
Eliminate forwarder Start methods
2015-06-24 17:37:07 +01:00