Commit Graph
13 Commits
Author SHA1 Message Date
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
Matthias Radestock 02f39f17f9 grrr 2014-08-29 14:27:19 +01:00
Bryan Boreham 5908df4f17 added Boot2Docker instructions, and simplified the message when ethtool is missing 2014-08-28 17:41:22 +01:00
Bryan Boreham dced4e3d6f add a test to see whether ethtool is available before trying to run it 2014-08-28 17:20:17 +01:00
Matthias Radestock 9924f420e5 banish bashism 2014-08-28 16:18:30 +01:00
Matthias Radestock fa5a5f46b4 usability: check that script is being run as root
so we can display a nicer error if not
2014-08-26 13:40:09 +01:00
Matthias Radestock e057799e0c add some basic error handling to 'weave' script 2014-08-26 11:54:01 +01:00
Matthias Radestock 565856eaba run weave in privileged container
...since on selinux (and possibly others) we encounter a "bind:
permission denied" error instead, most likely because weave is
attempting to bind a raw ip socket, which is a restricted operation on
those systems.

Fixes #7
2014-08-26 10:27:47 +01:00
Matthias Radestock 516c1363e3 eliminate dependency on pipework
...and docker-ns (though we still leave the script around since it's
handy for debugging), and arping (as I have yet to encounter a
situation where it was required)
2014-08-22 18:14:17 +01:00
Matthias Radestock 6320866961 rename exe to 'weaver' and script to 'weave' 2014-08-21 16:05:17 +01:00