Commit Graph
28 Commits
Author SHA1 Message Date
Bryan Boreham 5cf2cb0c50 Keep track of which connections have been established 2014-09-08 15:36:19 +01:00
Bryan Boreham dec794eb72 Remove all references to PeerName in ConnectionMaker 2014-09-08 15:05:50 +01:00
Bryan Boreham 8b3e97b96a Change from stating which peer we expect to be on the end of a connection to accepting any known peer 2014-09-08 14:07:42 +01:00
Bryan Boreham 0a94388f0a Change ConnectionMaker from being focused on PeerName to being focused on address 2014-09-08 12:42:06 +01:00
Bryan Boreham b69682a626 Merge remote-tracking branch 'upstream/master' into 23_retry_peers 2014-09-05 19:03:49 +01:00
Bryan Boreham 783ee21461 Continue after we establish that there is nothing left to do for failedCOnnection 2014-09-05 18:28:42 +01:00
Bryan Boreham 5c7010625a Remove entries from the failedConnection list when they succeed.
Avoids unsightly error messages where both ends make the same
connection and we then have to drop one of them.
2014-09-05 15:45:32 +01:00
Bryan Boreham 2d387e3847 Removed ConnectionMaker.activeConnections which is never used 2014-09-05 14:28:47 +01:00
Bryan Boreham 54d7972b5e Don't start a new connection attempt until all in-flight attempts for this peer have finished
Also cleaned up the naming slightly
2014-09-05 14:26:42 +01:00
Bryan Boreham 4f0741376d Merge branch '23_retry_peers' of https://github.com/bboreham/weave into 23_retry_peers 2014-09-05 11:34:08 +01:00
Bryan Boreham 09271f4848 Track which connections we are currently attempting a connect on, so we don’t do multiple attempts at the same time to the same endpoint 2014-09-05 11:16:13 +01:00
Bryan Boreham a5be96d35f Kick off the first connection attempt to each peer using ConnectionMaker instead of calling CreateConnection directly. 2014-09-05 11:11:38 +01:00
Bryan Boreham f8ae0cd3f6 Add ‘weave status’ to the README 2014-09-04 15:27:38 +01:00
Bryan Boreham 733af3f108 Swap round 'status' and 'stop' in usage 2014-09-04 15:24:18 +01:00
Bryan Boreham c930ef38dc Improved error message on http ListenAndServe 2014-09-04 14:59:48 +01:00
Bryan Boreham 04ca3d2469 Addressed various points raised in review: error-handling, simplified Fprint call 2014-09-04 14:44:42 +01:00
Bryan Boreham 67d8220bdf Convert one further use of 'command -v' into the function command_exists 2014-09-04 13:04:19 +01:00
Bryan Boreham 43d8781fdd Merge remote-tracking branch 'upstream/master' into 11_http_interface
Conflicts:
	consts.go
	weaver/weave
2014-09-04 13:02:14 +01:00
Bryan Boreham 48bcaa7851 Pull out ugly 'command -v' code to a utility function 2014-08-29 15:49:25 +01:00
Bryan Boreham c8da7131a5 Add back the usage test for two arguments, except when the command is 'status' 2014-08-29 15:35:27 +01:00
Bryan Boreham cff8e93de1 Merge remote-tracking branch 'upstream/master' into 11_http_interface
Conflicts:
	weaver/weave
2014-08-29 15:29:56 +01:00
Bryan Boreham 3942f19897 Remove boilerplate and condense the http handler down to one function.
Also fixed indenting on one line in shell script.
2014-08-29 15:26:04 +01:00
Bryan Boreham 3f9eadda70 Merge remote-tracking branch 'upstream/master' into 11_http_interface 2014-08-29 14:54:44 +01:00
Bryan Boreham 94e00e2c8e ran 'go fmt'; cosmetic changes 2014-08-29 14:51:31 +01:00
Bryan Boreham a113da0e34 Added a new command 'weave status', implemented via an http listener #11 2014-08-29 14:44:50 +01:00
Bryan Boreham 4008c26351 Merge branch 'master' into 14_run_in_boot2docker
Removed small change from README.md
2014-08-29 09:53:47 +01:00
Bryan Boreham ef80218629 Mention that we need Go dev tools to build weave 2014-08-28 17:45:10 +01:00
Bryan Boreham 5908df4f17 added Boot2Docker instructions, and simplified the message when ethtool is missing 2014-08-28 17:41:22 +01:00