Bryan Boreham
f6ac069bc5
Remove some less-necessary test helper functions
2015-05-14 17:57:13 +01:00
Bryan Boreham
3cd1a17c23
IP Allocation Management
...
Using the Ring CRDT and Weave gossip, provides an interface
for the weave script to allocate IP addresses in `weave run`,
`weave start` and `weave expose`.
See docs/ipam.md for implementation details, and site/features.md
for user-visible changes.
2015-05-14 17:44:06 +01:00
Bryan Boreham
7c68525e93
Simplify address parsing for populate_dns()
2015-04-17 11:31:31 +01:00
Bryan Boreham
36b13b704d
Merge pull request #565 from rade/515_crypto_glitch_stall
...
Big improvement in observed behaviour. LGTM; closes #515
2015-04-16 12:08:02 +01:00
Bryan Boreham
8c6c14c6d3
Accumulate any errors from go test commands so we can report overall status
2015-04-14 18:03:10 +01:00
Bryan Boreham
d334b903e4
Merge pull request #556 from rade/do_not_duplicate_router_config
...
LGTM
2015-04-14 12:58:05 +01:00
Bryan Boreham
8ad244e0f9
Let ConnectionMaker report the reason the connection broke
2015-04-13 14:35:27 +01:00
Bryan Boreham
f8ec56ea79
Move connection shutdown logging into shutdown()
2015-04-13 14:21:11 +01:00
Bryan Boreham
d228a4450a
Make sure FieldValidator methods act on the object we pass in.
...
Added a unit test for FieldValidator
2015-04-10 22:42:40 +01:00
Bryan Boreham
10bd84a460
Document name-list option to weave ps
2015-04-10 15:08:35 +01:00
Bryan Boreham
d32f328c24
Simplify printing
2015-04-10 14:46:31 +01:00
Bryan Boreham
2ba8f34132
Merge pull request #521 from rade/517_lower_topology_periodic_gossip_complexity
...
LGTM. Closes #517
2015-04-10 10:08:23 +01:00
Bryan Boreham
642cc3f00e
Change release GitHub user name from zettio to weaveworks
2015-04-09 17:32:36 +01:00
Bryan Boreham
a4fd0b571d
Row back on Docker image names until we do a release under the weaveworks name
2015-04-09 11:46:08 +01:00
Bryan Boreham
067ba6d970
Fix all zettio.github.io links too
2015-04-09 11:39:55 +01:00
Bryan Boreham
cec1efbcef
Merge pull request #530 from rade/529_eliminate_connection_add_remove_race
...
Very subtle, but it looks ok to me. Fixes #529
2015-04-09 10:36:27 +01:00
Bryan Boreham
8a82f368d0
Update repository name from zettio to weaveworks
2015-04-08 16:35:52 +01:00
Bryan Boreham
13f3439a06
Allow container names to be supplied to 'weave ps'
2015-04-08 15:38:23 +01:00
Bryan Boreham
86abc6ac2b
Merge pull request #516 from rade/514_lower_topology_gossip_complexity
...
LGTM. Closes #514
2015-04-07 15:00:39 +01:00
Bryan Boreham
05b7162239
Use docker stop instead of docker kill
2015-04-01 16:58:16 +01:00
Bryan Boreham
68096b0437
Generalize updater.go
2015-04-01 16:48:11 +01:00
Bryan Boreham
bacaf41017
Wait for the 'status' http call to return something after 'weave launch'
2015-04-01 15:14:59 +01:00
Bryan Boreham
7a4a88aeb9
Remove unused unnamed second item in ranges
2015-03-26 18:04:57 +00:00
Bryan Boreham
0bcadb1e4e
Merge pull request #476 from rade/445-accumulate-gossip
...
LGTM. Fixes #445 .
2015-03-24 11:43:01 +00:00
Bryan Boreham
3fbb6eaa8d
Add peer nickname to JSON output
2015-03-19 11:34:01 +00:00
Bryan Boreham
8f139bcb52
Merge pull request #461 from rade/454_send_all_gossip_to_new_peers_only
...
LGTM. Fixes #454
2015-03-17 13:47:49 +00:00
Bryan Boreham
cce6175a5c
Merge pull request #453 from rade/452_only_broadcast_on_established
...
LGTM. Fixes #452 - those messages go away entirely in my tests.
2015-03-12 11:27:34 +00:00
Bryan Boreham
8e274328b6
Do try standard port on inbound connections
2015-03-11 14:01:43 +00:00
Bryan Boreham
d87e13b999
Re-order Connection fields more consistently
2015-03-11 14:01:07 +00:00
Bryan Boreham
89fce7f98a
Add an 'outbound' field on each connection,
...
and only attempt new connections to the remote side of outbound connections.
2015-03-11 11:56:47 +00:00
Bryan Boreham
e22b470c3e
Add the change from #395 , which got lost
...
`-t` flag creates a tty for the command, so we can interrupt it with Control-C
2015-02-27 16:39:53 +00:00
Bryan Boreham
fcb36458c8
Fix breakage from #387
2015-02-27 15:08:14 +00:00
Bryan Boreham
6437caddf2
Reworded comment
2015-02-27 15:02:30 +00:00
Bryan Boreham
139758256b
Make clear that tcp-send methods are not handlers and may be called outside of queryLoop
2015-02-27 14:52:47 +00:00
Bryan Boreham
846321afeb
Merge pull request #427 from fl0yd/patch-1
...
LGTM
2015-02-27 14:37:19 +00:00
Bryan Boreham
657125fd54
Send to tcpSender on the calling thread, so the Actor channel doesn't get clogged up
2015-02-27 14:12:32 +00:00
Bryan Boreham
607b528973
Copy connections before sending, to avoid a deadlock
2015-02-25 16:11:58 +00:00
Bryan Boreham
78d2a3e466
Add 'finished' chan to stop callers blocking on closed connection
2015-02-24 10:48:52 +00:00
Bryan Boreham
2817638ef9
Merge pull request #396 from achanda/patch-2
...
LGTM.
2015-02-17 12:39:16 +00:00
Bryan Boreham
410972906b
Add version and encryption status into the JSON output
2015-02-06 17:35:39 +00:00
Bryan Boreham
04a7aa1405
Use buffer size 4096 on advice from a DNS expert
2015-02-04 14:58:21 +00:00
Bryan Boreham
e325c35c10
Merge pull request #381 from rade/380_prevent_premature_peer_topology_gc
...
LGTM. Fixes #380
2015-02-03 10:39:08 +00:00
Bryan Boreham
e600816d5f
Add UID and version into JSON for each Peer
2015-02-02 14:41:49 +00:00
Bryan Boreham
42dfd5142e
Remove Access-Control hack
2015-02-02 14:36:56 +00:00
Bryan Boreham
458ef12da6
Use a larger buffer than the default, so that more queries will succeed
2015-02-02 13:26:44 +00:00
Bryan Boreham
e5a08a505d
Change DNS fallback test to use a locally-run server to generate long responses reliably
2015-02-02 13:24:37 +00:00
Bryan Boreham
9ae3f4c692
Only read /etc/resolv.conf once
2015-02-02 13:16:05 +00:00
Bryan Boreham
d354f4bea4
Merge pull request #376 from rade/372_udp_connectivity_check
...
LGTM. Fixes #372
2015-01-29 13:24:21 +00:00
Bryan Boreham
ae0e3306d7
Merge pull request #313 from bboreham/add_gossip
...
Gossip layer to communicate topology between peers
Note that I have squashed over 100 commits from @bboreham and @rade into the three for this PR; you can see the original history at https://github.com/bboreham/weave/compare/add_gossip_full
2015-01-27 15:37:35 +00:00
Bryan Boreham
4647c36a15
Unit tests for gossip-based topology communication
2015-01-27 12:45:40 +00:00
Bryan Boreham
5dc9b085a0
Replace previous topology communication with gossip-based mechanism
2015-01-27 12:45:40 +00:00
Bryan Boreham
18df01a4bf
Basic gossip implementation
2015-01-27 12:45:40 +00:00
Bryan Boreham
c80bff473f
Simplify DeleteTestConnection along the same lines as AddTestConnection
2015-01-26 14:03:32 +00:00
Bryan Boreham
c7af02776f
Obtain status info in JSON format
2015-01-21 21:03:16 +00:00
Bryan Boreham
b7b5fd3dd2
Merge pull request #356 from rade/forgive_protocol_decoding_errors
...
LGTM.
2015-01-21 17:54:07 +00:00
Bryan Boreham
bdb8b4625b
Merge pull request #355 from rade/protocol_sender
...
LGTM.
2015-01-21 11:48:54 +00:00
Bryan Boreham
404c7a1ad4
When printing call-stacks from SIGQUIT, trim the buffer to remove garbage at the end
2015-01-19 16:54:40 +00:00
Bryan Boreham
89ea4f9f80
Changed Twitter handle to @weaveworks
2015-01-17 17:57:18 +00:00
Bryan Boreham
18184017ec
Minor re-wording after review comments
2015-01-16 15:00:46 +00:00
Bryan Boreham
bddd0b5ea4
Update FetchAll description to reflect changes in #349
2015-01-16 13:25:03 +00:00
Bryan Boreham
65fd2450ae
Added description of topology communication
2015-01-16 12:24:05 +00:00
Bryan Boreham
36cb3c77b5
Merge pull request #349 from rade/342_unidirectional_udp
...
LGTM. Fixes #342
2015-01-15 16:49:29 +00:00
Bryan Boreham
92043a3dbc
Merge pull request #348 from squaremo/issue346_fallback_for_rdns
...
LGTM. Closes #346 .
2015-01-15 15:31:49 +00:00
Bryan Boreham
609585400b
Merge pull request #345 from squaremo/better_dns_smoke_tests
...
LGTM
2015-01-14 10:38:31 +00:00
Bryan Boreham
d9b6d5c5f9
Merge pull request #344 from squaremo/issue318_proxy_all_dns
...
LGTM
2015-01-13 20:50:27 +00:00
Bryan Boreham
ee6f92cd24
Merge pull request #343 from rade/340_improve_connection_logging
...
LGTM. Closes #340 - I tested with UDP blocked and got desired log.
2015-01-13 16:53:03 +00:00
Bryan Boreham
dc55448c7d
Added a smoke-test with a password
2015-01-12 12:49:37 +00:00
Bryan Boreham
15852dfa42
Remove repeated 'iota' in const lists, since Go knows what you mean
2015-01-09 15:55:35 +00:00
Bryan Boreham
f70dfe9de8
Merge pull request #328 from squaremo/refactor_mdns
...
LGTM. Fixes #326
2015-01-09 12:32:35 +00:00
Bryan Boreham
f24edf755f
Add tests for server.go
2015-01-08 18:38:38 +00:00
Bryan Boreham
bd2844d186
Split http-startup code from server-startup
2015-01-08 18:38:38 +00:00
Bryan Boreham
71d96eed7d
Merge pull request #320 from errordeveloper/fix_319
...
LGTM. Closes #319
2015-01-07 15:09:04 +00:00
Bryan Boreham
27f9a380e8
Explain weaveDNS configuration better
2015-01-07 11:34:16 +00:00
Bryan Boreham
e9469b88af
Add file init.go which was missed from previous refactor
2015-01-02 17:45:16 +00:00
Bryan Boreham
0af9b2cbab
Fix up nameserver tests for previous refactoring
2015-01-02 17:12:21 +00:00
Bryan Boreham
82b54aabcd
Move logging, updating and testing utils into common directory
2015-01-02 14:49:49 +00:00
Bryan Boreham
47f4933c92
Merge pull request #295 from rade/eliminate_heartbeater
...
LGTM. Fixes #294
2014-12-24 13:41:03 +00:00
Bryan Boreham
5bb80c7126
Quote $@ everywhere, to guard against spaces, globbing, etc.
2014-12-23 14:42:48 +00:00
Bryan Boreham
affb9aef42
Merge pull request #283 from rade/275_do_not_log_password
...
Closes #275
2014-12-22 11:31:16 +00:00
Bryan Boreham
887f2adbc1
Merge pull request #284 from rade/276_alternative_password_supply
...
LGTM. Closes #276
2014-12-22 11:03:28 +00:00
Bryan Boreham
849a51c842
Update README.md
...
Updated email address
2014-12-15 10:44:03 +00:00
Bryan Boreham
4c88eb48c0
Move call to Topology.RebuildRoutes
...
It doesn't belong in handleBroadcastTCP(), so moved it up
to the two places that cause that function to be called.
2014-12-11 00:50:45 +00:00
Bryan Boreham
9dc2a51c2d
Add `-tags net
2014-12-09 15:55:25 +00:00
Bryan Boreham
4297f68860
Explain multiple containers with same name
...
Two further scenarios described
2014-12-09 12:07:29 +00:00
Bryan Boreham
3a684ba3a9
Fixed typo in error message
2014-12-05 17:44:41 +00:00
Bryan Boreham
3b2cbd4871
Merge pull request #257 from squaremo/issue249_duplicate_dns
...
LGTM. Closes #249
2014-12-02 15:59:22 +00:00
Bryan Boreham
4eeeabcf56
Cosmetic changes applied by
2014-12-01 16:51:16 +00:00
Bryan Boreham
ba2c27b9fe
Merge pull request #253 from rade/refactor_and_explain_route_calculation
...
LGTM, allowing that the results are unbalanced (and unchanged in this respect from before this PR)
2014-12-01 15:37:40 +00:00
Bryan Boreham
ccd6cb0440
Use full container names when populating weavedns. Fixes #250
2014-11-28 12:49:05 +00:00
Bryan Boreham
f2ef3dcfe7
Merge pull request #243 from rade/240_dns_without_docker_net
...
LGTM. Fixes #240
2014-11-28 12:16:40 +00:00
Bryan Boreham
33fb296769
Merge pull request #245 from rade/238_check_docker_version_when_using_dns
...
Looks good to me. Fixes #238
2014-11-28 11:17:13 +00:00
Bryan Boreham
a3482c9f2d
Merge pull request #244 from rade/233_stop_on_docker_run_errors
...
LGTM. Fixes #233
2014-11-28 11:01:51 +00:00
Bryan Boreham
28a9d86c7e
Merge pull request #200 from squaremo/issue195_populate_dns_on_start
...
LGTM. Fixes #195 (apart from part 3)
2014-11-26 15:12:08 +00:00
Bryan Boreham
235d620f55
Merge pull request #239 from squaremo/issue201_use_bridge_ip
...
LGTM. Fixes #201
2014-11-26 14:12:02 +00:00
Bryan Boreham
4046c3a8bc
Undid extra check that there is at least one argument to 'docker run'
2014-11-25 14:13:40 +00:00
Bryan Boreham
0b051db5e1
Simplify arg parsing on weave run
2014-11-25 14:09:26 +00:00
Bryan Boreham
19f6c17f69
Two minus signs
2014-11-25 11:01:05 +00:00
Bryan Boreham
42f0cb883a
Add --with-dns option to weave run
2014-11-24 20:14:01 +00:00
Bryan Boreham
5c76411e34
Merge pull request #232 from zettio/revert-211-issue201_use_docker_bridge_ip
...
Revert "Use Docker bridge IP for DNS"
2014-11-24 18:02:53 +00:00
Bryan Boreham
21b190ed41
Revert "Use Docker bridge IP for DNS"
2014-11-24 18:02:11 +00:00