Martynas Pumputis
9cfc104fc7
Add TestSpaceRequest test for allocator
...
Checks whether a donating peer does not leave one ip address
behind a block it donates (#2009 ).
2016-03-03 08:36:14 -08:00
Bryan Boreham
824329d4c9
Fix up unit tests to look at CIDRs instead of addresses.
2016-03-02 17:21:52 -08:00
Bryan Boreham
604309fb53
Parse CIDR strings without separating into subnet and address
2016-03-02 17:21:52 -08:00
Bryan Boreham
73f1a04d5f
Deal in subnets, not ranges, when requesting address allocation
2016-03-02 17:21:51 -08:00
Bryan Boreham
b76e2a87cf
Store address+subnet prefix for 'owned' addresses
2016-03-02 17:21:24 -08:00
Bryan Boreham
b6eec08247
Return all applicable results from Lookup
...
and stop erroring on Lookup not found; just return a blank result
2016-03-02 17:01:12 -08:00
Bryan Boreham
03563e847e
Remember addresses outside of the allocation range
2016-03-02 17:01:12 -08:00
Bryan Boreham
4c159a9af6
Merge pull request #1973 from weaveworks/issues/678-persist-owned2
...
Persist 'owned' addresses in IPAM
2016-03-02 16:58:23 -08:00
Bryan Boreham
bc61838aaa
Merge pull request #2015 from weaveworks/1-5-edits2
...
Reorganization of docs for WordPress
2016-03-02 16:24:14 -08:00
Bryan Boreham
8c9937b0be
Fix up some wording and links
2016-03-02 15:39:06 -08:00
Anita Buehrle
bdc9eae000
reorganization-edit docs for WP
2016-03-02 13:54:05 -06:00
Bryan Boreham
95cbc8940e
Sync 'owned' data with existing containers at startup
2016-03-02 11:35:24 -08:00
Bryan Boreham
f29716387f
Persist the 'owned' address set
2016-03-02 11:35:24 -08:00
Bryan Boreham
532a6b69d9
Merge pull request #1672 from weaveworks/vagrant-pin-docker
...
Pin docker version in vagrant VM
2016-03-01 14:15:05 -08:00
Bryan Boreham
f2ef5e880a
Merge pull request #1982 from weaveworks/issues/578-pid-equals-host
...
Use --pid=host
2016-03-01 12:41:52 -08:00
Bryan Boreham
dd74bb1774
Simplify by using GetFromPid
2016-03-01 12:12:46 -08:00
Adam Harrison
adf56d316d
Remove obsolete alternative procfs support
2016-03-01 20:10:47 +00:00
Adam Harrison
cb9af20a2e
Replace PROCFS with --pid=host
2016-03-01 20:10:47 +00:00
Bryan Boreham
cb01e3f87b
Typo
2016-02-29 15:08:55 -08:00
Bryan Boreham
590c1dde1d
Merge branch '1.4'
2016-02-29 15:04:12 -08:00
Bryan Boreham
be3f88656b
Add release v1.4.5
v1.4.5
2016-02-29 22:28:58 +00:00
Bryan Boreham
246f394731
Merge branch '1.4'
2016-02-29 14:07:02 -08:00
David Wragg
27367ab292
Process DiscardingFlowOp correctly in FastDatapath send()
...
The nil FlowOp check in collectFlowOps was not addressed with the
introduction of DiscardingFlowOp. This meant that DiscardingFlowOps
produced in the router core would get handled by fastdp as if they were
foreign FlowOps, preventing flow creation and so leading to unwarranted
ODP misses.
To fix this, collectFlowOps cannot simply eliminate FlowOps for which
Discards() is true, because it's true for odpFlowKeyFlowOp. So the
Discards() case has to be handled in FastDatapath send().
2016-02-29 13:27:15 -08:00
Matthias Radestock
f5d8fc5de2
move weavedns design from site to docs
2016-02-29 19:18:08 +00:00
Matthias Radestock
7cdf273c88
Merge branch '1.4'
2016-02-29 19:13:23 +00:00
Matthias Radestock
20620f0002
Merge branch 'latest_release_doc_updates' into 1.4
2016-02-29 19:13:00 +00:00
Matthias Radestock
8d79e33ba1
remove stale ToC entry
...
This was missed in 8b061fd55
2016-02-29 19:12:00 +00:00
Bryan Boreham
7453c7a5dd
Merge branch '1.4'
2016-02-29 08:22:22 -08:00
Bryan Boreham
ce4857f5dc
Merge pull request #2001 from weaveworks/issues/1996-try-all-pending-allocations
...
Try all pending allocations - LGTM. Fixes #1996
2016-02-29 08:20:49 -08:00
Adam Harrison
71af1f3120
Merge pull request #1972 from weaveworks/persist-peers
...
Persist set of peers to connect to
2016-02-29 15:54:54 +00:00
Adam Harrison
e65a08471f
Merge pull request #1967 from weaveworks/issues/1859-start-existing
...
Start existing container, if its image and arguments match
2016-02-29 15:33:30 +00:00
Alfonso Acosta
b96330d529
Pin docker version in vagrant VM
...
Otherwise it will always install the latest docker version, which will be
undesirable when new major releases are done, until they are well tested.
For instance, docker after automatically updating to 1.9, it was killing my VM
when spawning a kubernetes cluster, due to a high CPU consumption, probably due
to https://github.com/docker/docker/issues/17720
2016-02-29 14:31:06 +00:00
Bryan Boreham
f17d50cc50
Check the exact version of the image, not the base
2016-02-26 23:44:04 +00:00
Bryan Boreham
436f8ef7c8
Compare the environment so we can detect a change in password
2016-02-26 23:41:57 +00:00
Bryan Boreham
65f435f042
Smoke-test for restarts
2016-02-26 23:41:57 +00:00
Bryan Boreham
561c8d012c
Treat a restarting container like a running one, for idempotency
2016-02-26 23:41:46 +00:00
Bryan Boreham
bb4c0f5247
Start existing container, if its image and arguments match
2016-02-26 23:40:02 +00:00
Adam Harrison
31a964ba9b
Merge pull request #1954 from weaveworks/version-check
...
Periodically check for up to date versions of weave.
2016-02-26 17:25:24 +00:00
Tom Wilkie
b717399364
Update go-checkpoint
2016-02-26 16:47:32 +00:00
Tom Wilkie
b79bb32782
Review feedback
2016-02-26 15:37:00 +00:00
Tom Wilkie
6ff7419981
Review feedback
2016-02-26 15:35:12 +00:00
Tom Wilkie
b228bbb9fb
Periocially check for up to date versions of weave.
2016-02-26 15:35:12 +00:00
Matthias Radestock
752baa4bd6
remove unnecessary WEAVE_CIDR=none
...
since the router is now always running with --net=host
2016-02-26 13:58:06 +00:00
Matthias Radestock
6cbde89eeb
refactor: consistency in specification of common docker run options
2016-02-26 13:57:37 +00:00
Adam Harrison
bceabe32a2
Try all pending allocations
...
We can have outstanding allocations for different ranges owned by
different peers, so we should not short circuit after the first space
request.
2016-02-25 14:56:33 +00:00
Adam Harrison
c5361801c9
Fix typo in weaver CLI help
2016-02-25 12:02:28 +00:00
Matthias Radestock
3283bc89fc
Merge branch '1.4'
2016-02-23 13:56:56 +00:00
Matthias Radestock
26519333c0
cosmetic: correct comment
2016-02-23 13:36:56 +00:00
Matthias Radestock
639cde0f67
refactor: inline
2016-02-23 13:34:14 +00:00
Matthias Radestock
6a9f9f66dc
don't check for 'Restarting' when attaching on startup
...
It is overkill.
2016-02-23 13:20:22 +00:00