6393e545ae
introduce 'weave connect' to connect a running router to other peers Getting this to work with 'wget' is just too cumbersome especially when it comes to getting the error message out. So 'curl' only.
Matthias Radestock2014-10-27 09:15:14 +00:00
acbabc4f9e
s/StatusPort/HttpPort since we are adding functionality other than status
Matthias Radestock2014-10-27 08:22:22 +00:00
fad5846946
refactor: extract basic container/bridge connection establishment Note that we do not mark the interface in the container as 'up' here since some callers, in particular 'attach', add CIDRs to the interface, and some programs rely on 'up' implying 'has IP address'.
Matthias Radestock2014-10-26 12:13:28 +00:00
a1c4038ac7
Merge pull request #153 from rade/91_simplify_multicast_detection
rade2014-10-24 14:34:49 +01:00
83464a38eb
remove explicit multicast detection We don't need. Multicast addresses never appear as sources and hence never end up in the peer_cache. And the router always broadcasts frames with destination addresses that aren't in the peer cache.
Matthias Radestock2014-10-24 14:30:58 +01:00
ded7d3a991
Merge pull request #152 from rade/weave_script_tidy
David Wragg2014-10-24 14:26:35 +01:00
560cbabb54
refactor: simplify 'attach' Move the interface into the container network NS asap, which simplifies error handling.
Matthias Radestock2014-10-24 13:13:34 +01:00
de96742935
refactor: remove add_nat_rule it did too little to be worthwhile
Matthias Radestock2014-10-24 13:03:28 +01:00
fa0331cb6d
Ensure we only attempt to handle TypeA queries
Bryan Boreham2014-10-24 13:03:26 +01:00
5b6a892c38
refactor: don't extract param to var and shift unless we have to
Matthias Radestock2014-10-24 12:57:35 +01:00
6501934a15
make with_container_netns take the container as the first arg and invoke the subsequent command. This is closer to typical 'with' semantics.
Matthias Radestock2014-10-24 12:50:29 +01:00
34e240c4a5
remove misleading comment... attach() and detach() are never invoked directly, plus it's really not that hard to figure out what they do.
Matthias Radestock2014-10-24 12:49:04 +01:00
0adda9eae9
drop IP/network from 'weave launch' plus a whole bunch of other small changes to weave script which I'll eventually extract into separate commits.
Matthias Radestock2014-10-24 10:11:43 +01:00
46b0cc35f1
drop IP/network from 'weave launch' plus a whole bunch of other small changes to weave script which I'll eventually extract into separate commits.
Matthias Radestock2014-10-24 10:11:43 +01:00
007f78e07c
make 'docker load -i weave.tar' work again for some reason it started complaining about an unknown ids for me
Matthias Radestock2014-10-23 12:09:41 +01:00
8dd97a07de
fix up Makefile to cope with its new location also various other Makefile tidy-ups - extract consts for various targets - mark non-file targets as phony - use $@ when possible
Matthias Radestock2014-10-22 14:06:16 +01:00