Matthias Radestock
76a974f88b
refactor: maintain abstraction
2014-10-24 16:07:06 +01:00
rade
a1c4038ac7
Merge pull request #153 from rade/91_simplify_multicast_detection
...
remove explicit multicast detection
Closes #91
2014-10-24 14:34:49 +01:00
Matthias Radestock
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.
2014-10-24 14:30:58 +01:00
David Wragg
ded7d3a991
Merge pull request #152 from rade/weave_script_tidy
...
various simplifications and tidying up in weave script
2014-10-24 14:26:35 +01:00
Matthias Radestock
00a4a5e056
refactor: simplify multicast route addition in 'attach'
2014-10-24 13:15:15 +01:00
Matthias Radestock
560cbabb54
refactor: simplify 'attach'
...
Move the interface into the container network NS asap, which
simplifies error handling.
2014-10-24 13:13:34 +01:00
Matthias Radestock
de96742935
refactor: remove add_nat_rule
...
it did too little to be worthwhile
2014-10-24 13:03:28 +01:00
Matthias Radestock
093b23fa83
refactor: it's not an IPADDR but a CIDR
2014-10-24 12:59:47 +01:00
Matthias Radestock
5b6a892c38
refactor: don't extract param to var and shift unless we have to
2014-10-24 12:57:35 +01:00
Matthias Radestock
6501934a15
make with_container_netns take the container as the first arg
...
and invoke the subsequent command.
This is closer to typical 'with' semantics.
2014-10-24 12:50:29 +01:00
Matthias Radestock
34e240c4a5
remove misleading comment...
...
attach() and detach() are never invoked directly,
plus it's really not that hard to figure out what they do.
2014-10-24 12:49:04 +01:00
Bryan Boreham
9b90e119e5
Say 'name' instead of 'identity' in log and status
2014-10-24 11:38:10 +01:00
Bryan Boreham
988f555a68
Merge pull request #150 from rade/126_weave_start
...
LGTM. Closes #126 , also referenced from #148
2014-10-24 09:30:07 +01:00
Matthias Radestock
070ec0c0e9
add usage
2014-10-23 18:00:29 +01:00
Matthias Radestock
9cc6f9121e
add 'weave start'
2014-10-23 17:55:23 +01:00
Matthias Radestock
041a4c5f6c
don't talk about netmasks
2014-10-23 17:50:38 +01:00
Matthias Radestock
f037865b82
consistency
2014-10-23 17:27:35 +01:00
Matthias Radestock
7778946f96
be more correct / precise about CIDR notation in usage
2014-10-23 17:25:34 +01:00
Matthias Radestock
007f78e07c
make 'docker load -i weave.tar' work again
...
for some reason it started complaining about an unknown ids for me
2014-10-23 12:09:41 +01:00
Matthias Radestock
eb5548b1c3
move docker-ns
2014-10-22 14:29:18 +01:00
Matthias Radestock
b8c308dd09
move weave script
2014-10-22 14:14:33 +01:00
Matthias Radestock
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
2014-10-22 14:06:16 +01:00
Matthias Radestock
bc02066bdb
move Makefile to top-level
2014-10-22 13:36:06 +01:00
Michael Bridgen
9606628edd
Merge pull request #129 from squaremo/use_lxc_docker
...
Switched to lxc-docker (from docker.io)
2014-10-17 15:16:50 +01:00
Michael Bridgen
380f2eb6b9
Switched to lxc-container (from docker.io)
...
lxc-docker is the docker-maintained package, which is rather more
current than the Ubuntu one.
2014-10-17 15:14:24 +01:00
Bryan Boreham
fe236e95db
Work round change in Docker 1.3 where 'Pulling' messages are included in 'docker run' output
2014-10-17 12:38:37 +01:00
Bryan Boreham
6e5900654a
Merge pull request #125 from zettio/123_udp_garbage
...
LGTM; closes #123
2014-10-16 10:15:45 +01:00
Matthias Radestock
4ddfc47448
don't trip over truncated udp packets
...
and log such events, plus any other errors during decoding, nicely,
including the connection on which this occured.
Closes #123 .
2014-10-15 21:03:15 +01:00
Bryan Boreham
e8ec9e84ce
clarify messages used on connection errors
2014-10-15 19:34:43 +01:00
Matthias Radestock
0dc8fd842c
Merge branch 'master' of github.com:zettio/weave
2014-10-15 15:57:21 +01:00
Matthias Radestock
d1de3eac3e
log something when we drop a UDP packet
2014-10-15 15:56:23 +01:00
Matthias Radestock
5acefd5d23
refactor: reduce indent
2014-10-15 15:55:44 +01:00
Matthias Radestock
4ffd15206b
remove outdated comment
2014-10-15 15:41:29 +01:00
rade
c8a5bcc793
Merge pull request #121 from squaremo/vagrant_dev
...
A Vagrant file for developing on other-than-Linux
Closes #119 .
2014-10-15 15:28:45 +01:00
Matthias Radestock
a587fef9c4
fix package name following move
2014-10-15 15:20:49 +01:00
Matthias Radestock
e2fd1fda31
move router code
2014-10-15 15:07:42 +01:00
Michael Bridgen
4c7fb5ce91
Added hook for local vagrant config
...
If there's a file Vagrantfile.local, run that too. This can be used to
e.g., add the weavedns directory as a synced folder too.
2014-10-15 00:32:06 +01:00
Michael Bridgen
5f824e3bfd
Added minimal vagrantfile
...
This makes an Ubuntu-based vagrant image that has
- docker installed
- go tools installed
- weave dependencies installed
- $GOPATH set to ~
- the local working directory mapped as a synced folder into the
right place in $GOPATH
So one should be able to
$ vagrant up
$ vagrant ssh
vagrant$ cd src/github.com/zettio/weave
vagrant$ make -C weaver
2014-10-14 18:45:22 +01:00
rade
0f364f7e47
Merge pull request #114 from squaremo/decimate_readme
...
Remove content duplicated in gh-pages site
Addresses part of issue #86 .
2014-10-14 15:35:32 +01:00
Michael Bridgen
e294269393
Features link here too
2014-10-13 10:13:04 +01:00
Matthias Radestock
32a7975777
make it clearer in usage message that subnet is specified as CIDR
...
See issue #116
2014-10-11 03:59:48 +01:00
Matthias Radestock
0e4a30c9ee
refactor: 'ip addr list' -> '... show'
...
Since the man page only mentions the latter
2014-10-11 03:50:56 +01:00
Michael Bridgen
bfe1b27ee8
Added links to docs on gh-pages site
2014-10-10 15:30:52 +01:00
Michael Bridgen
35ee71097a
Took out things that will appear in the gh-pages site
2014-10-10 15:25:30 +01:00
Bryan Boreham
f79496ddcb
Merge pull request #111 from zettio/93_fqdn_peers
...
permit peers to be specified by name - fixes #93
2014-10-10 12:43:58 +01:00
Bryan Boreham
61ce4d36e5
Change README to say that hostnames are allowed on the commandline
2014-10-10 12:42:37 +01:00
Bryan Boreham
8de22f4bf1
reformat
2014-10-10 12:28:52 +01:00
Bryan Boreham
be39cb01bd
Resolve peer names to IP address at startup
2014-10-10 12:22:01 +01:00
Bryan Boreham
af3e1b8888
Revert "Resolve name to IP address when removing connected targets"
...
This reverts commit eef311ba69 .
2014-10-10 11:57:34 +01:00
Bryan Boreham
eef311ba69
Resolve name to IP address when removing connected targets
2014-10-10 11:45:10 +01:00