This website requires JavaScript.
df918ab3c4
revamp ipam docs
Matthias Radestock
2015-06-11 22:24:07 +01:00
404ae010e4
Improve flow of IPAM doc
Bryan Boreham
2015-06-11 18:35:18 +01:00
43d42e6f15
Update docs for default -iprange
Bryan Boreham
2015-06-11 18:01:28 +01:00
328e63828e
Check whether netcheck exists before relying on it
Bryan Boreham
2015-06-11 16:36:02 +01:00
465b16e668
Give -iprange a default, and check if it is free
Bryan Boreham
2015-06-11 14:52:27 +01:00
0e6569d78c
New program netcheck to check if network overlaps routes
Bryan Boreham
2015-06-11 14:51:09 +01:00
8285046962
Function to check if a network overlaps with existing routes
Bryan Boreham
2015-06-11 14:53:15 +01:00
8e04b135bb
check that nsenter is present
Matthias Radestock
2015-06-11 16:37:28 +01:00
2b7c785386
don't output container id when we kill it
Matthias Radestock
2015-06-11 16:34:46 +01:00
09f491821b
making test executable
Paul Bellamy
2015-06-11 13:51:41 +01:00
c0cfacdb28
Repatriate itinerant smoke test
Adam Harrison
2015-06-11 12:54:07 +01:00
e96cde1872
Merge pull request #890 from awh/use_container_name_as_hostname
Matthias Radestock
2015-06-11 12:35:46 +01:00
12fc760e4a
Refocus documentation around --name
Adam Harrison
2015-06-11 12:16:51 +01:00
d2b17690f9
use dnsutils image in one test instead of awk on all the tests.
Paul Bellamy
2015-06-11 12:13:01 +01:00
8d7fe2b9e7
Renamed smoke test to avoid number clash
Adam Harrison
2015-06-11 11:55:21 +01:00
1fa7c24a2a
Prefer --name to -h in examples
Adam Harrison
2015-06-11 11:54:05 +01:00
6b80dc035a
Simplify smoke test
Adam Harrison
2015-06-11 11:53:24 +01:00
35cfafc319
Defer evaluation of $(dns_domain) until necessary
Adam Harrison
2015-06-11 11:52:33 +01:00
e1c07dce3f
permit overriding of DOCKERHUB_USER
Matthias Radestock
2015-06-11 11:50:55 +01:00
96bda1639e
define weavedns http port as a constant
Paul Bellamy
2015-06-11 10:25:27 +01:00
a424bfe715
Correctly interpret long form arguments that lack an equals symbol
Adam Harrison
2015-06-10 19:34:51 +01:00
4f6ace8b10
Permit optional trailing dot on hostname
Adam Harrison
2015-06-10 18:34:47 +01:00
bccb5065db
Update docs with new weave run behaviour
Adam Harrison
2015-06-10 17:27:54 +01:00
bed6a130d6
Smoke test for new weave run behaviour
Adam Harrison
2015-06-10 16:50:43 +01:00
108eea8b79
Modify weave run to use container name as fqdn
Adam Harrison
2015-06-10 16:42:59 +01:00
678063efec
updating proxy docs on hostname/domainname dns
Paul Bellamy
2015-06-10 16:44:40 +01:00
99d9ad7042
[proxy] query weavedns for domain
Paul Bellamy
2015-06-10 10:25:34 +01:00
b9850ac200
[proxy] Set hostname and domainname based on container name, when dns
Paul Bellamy
2015-06-09 17:20:47 +01:00
9fddad02ad
Add dns_domain helper to weave script
Adam Harrison
2015-06-10 11:14:51 +01:00
a1007411ad
Add /domain resource to DNS REST API
Adam Harrison
2015-06-10 10:04:32 +01:00
9955de3e9b
cosmetic: shorten usage info
Matthias Radestock
2015-06-11 09:23:58 +01:00
2eb39d962a
Use the scheduled queue for refreshing names Some minor time tweaks...
Alvaro Saurin
2015-06-03 11:30:45 +02:00
d6a9fc57cc
New scheduled queue, for scheduling calls to callables
Alvaro Saurin
2015-06-03 11:27:08 +02:00
698d352322
Check with Docker whether the container is really running
Alvaro Saurin
2015-06-05 13:35:18 +02:00
1889a4a87f
Simplify the arguments passed to nameserver/http.go:ServeHTTP() (by using information found in some other objects we are already passing, like the server)
Alvaro Saurin
2015-06-05 13:15:06 +02:00
5cb2347f77
Use our own Docker client
Alvaro Saurin
2015-06-05 13:03:21 +02:00
5ce4b25f38
Merge rade/746_simplify_frag_test (PR #888 ): simplify fragmentation test
David Wragg
2015-06-10 18:28:26 +01:00
267716fed5
Merge pull request #827 from bboreham/675-ipam-subnets
Matthias Radestock
2015-06-10 17:44:17 +01:00
a89b549c40
Change command-line syntax to net: prefix instead of --subnet
Bryan Boreham
2015-06-10 15:44:43 +01:00
91ad3ef684
Illustrate mix-and-match of ipam and non-ipam CIDRs on command-line
Bryan Boreham
2015-06-10 14:41:16 +01:00
36f793c1f4
Delete entry from addresses map when slice is empty
Bryan Boreham
2015-06-10 14:25:42 +01:00
c27cd5b4ab
Extract lookup function for owned addresses
Bryan Boreham
2015-06-10 14:20:58 +01:00
7d881a0f0c
Check that weave ps returns exactly the CIDRs we are looking for, and comment assumption
Bryan Boreham
2015-06-10 14:03:48 +01:00
487bd2eaf7
Use zero-cidr-args form of 'weave detach' to test #862
Bryan Boreham
2015-06-09 15:22:04 +01:00
e9d194327a
Reduce level of noise in debug logs from containers dying
Bryan Boreham
2015-06-09 15:19:55 +01:00
c301e6a380
Expand test to use IPAM and check addresses are freed
Bryan Boreham
2015-06-09 15:19:31 +01:00
a3d73be8b8
General tidying tidy Address helper functions, make ordering of members consistent in allocate and claim, make linter happier, remove some unused items, and update some comments
Bryan Boreham
2015-06-09 11:57:22 +01:00
fa0b0042b2
Eradicate the last vestiges of CIDR in Allocator
Bryan Boreham
2015-06-08 18:12:47 +01:00
e21f66db0a
Use address.Range instead of (start,end) pairs
Bryan Boreham
2015-06-08 17:46:58 +01:00
1e71d2dacb
Introduce new '<address_spec>' type in usage text
Bryan Boreham
2015-06-08 15:13:03 +01:00
a80e5cb028
Corrected space.Donate() to restrict the space donated to be in-range, and associated unit test changes
Bryan Boreham
2015-06-08 13:42:55 +01:00
40c9adc8d3
Extract common freelist-walking code
Bryan Boreham
2015-06-08 12:31:41 +01:00
147962d101
Clarify some unit test operations
Bryan Boreham
2015-06-08 12:03:06 +01:00
6536034ab6
Move default subnet outside of Allocator
Bryan Boreham
2015-06-08 11:36:00 +01:00
7e7a2227a0
Document multi-subnet IPAM
Bryan Boreham
2015-06-04 15:47:17 +01:00
e5113889f4
Move NumFreeAddresses() into test
Bryan Boreham
2015-06-05 15:23:01 +01:00
3cdc3522be
Don't overwrite CIDR_ARGS; write new variables ALL_CIDRS and IPAM_CIDRS Handle manual CIDRs and IPAM CIDRs separately, to avoid inconsistencies and misleading messages
Bryan Boreham
2015-06-05 14:07:30 +01:00
2b4eec39cf
Support '--subnet default'
Bryan Boreham
2015-06-05 14:46:19 +01:00
3a9af4413d
Rationalize ipam arguments - rename -defaultsubnet to -ipsubnet - default subnet defaults to whole -iprange - parse and check inside ipam package - removes some error cases
Bryan Boreham
2015-06-05 18:23:46 +01:00
f956a76455
Tighten error checking in weave script - --subnet is used but IPAM is off - arg that comes after --subnet is not a cidr
Bryan Boreham
2015-06-10 13:34:55 +01:00
ecbd514a83
Tighten error checking
Bryan Boreham
2015-06-10 13:34:43 +01:00
50eaccc60c
Allocate() and Lookup() now return a CIDR, to simplify output
Bryan Boreham
2015-06-03 13:58:17 +01:00
2a00b0092d
Extend 'Lookup' to multi-subnet
Bryan Boreham
2015-06-03 12:10:28 +01:00
d18ccac43b
Free IPAM addresses individually in 'weave hide', because the user now has the ability to free some subnets and not others
Bryan Boreham
2015-06-03 11:35:23 +01:00
a617e7918c
Introduce single-address Free() and rename the previous one to Delete()
Bryan Boreham
2015-06-03 11:25:53 +01:00
d20d2e9142
Update smoke tests that use IPAM with default subnet
Bryan Boreham
2015-06-02 16:57:25 +01:00
551394a831
Add subnet info to space requests from one peer to another
Bryan Boreham
2015-06-04 10:29:37 +01:00
0613a06653
IPAM: handle multiple CIDRs in weave script
Bryan Boreham
2015-06-05 17:11:28 +01:00
ff545feae3
Add some unit tests for multi-subnet
Bryan Boreham
2015-06-01 11:38:23 +01:00
c7a9dfbb3f
Remember multiple addresses owned by each container, for multi-subnet use
Bryan Boreham
2015-06-02 15:27:31 +01:00
2553850ed4
Initial implementation of multi-subnet IPAM
Bryan Boreham
2015-06-02 14:15:37 +01:00
e6d230042d
Introduce address.CIDR type
Bryan Boreham
2015-05-28 11:28:39 +01:00
ae8985deb5
Merge pull request #884 from rade/881_get_container_id_on_start
Bryan Boreham
2015-06-10 17:20:25 +01:00
18bc3c2b99
"online dictionary attacks" is better terminology
Matthias Radestock
2015-06-10 16:40:25 +01:00
afd0275042
Merge pull request #848 from paulbellamy/proxy-env
Matthias Radestock
2015-06-10 15:34:32 +01:00
2d5e362115
[proxy] use logs for getting proxy-env and proxy-config
Paul Bellamy
2015-06-10 12:43:31 +01:00
7a2b5c43e7
feed full container id on weave start to DNS/IPAM
Matthias Radestock
2015-06-09 19:58:13 +01:00
0ab7c31bbe
Merge pull request #886 from bboreham/885-gossip-race
Matthias Radestock
2015-06-10 13:50:40 +01:00
0cd4127087
Factor out GossipSender.flush()
Bryan Boreham
2015-06-10 12:24:19 +01:00
5ebfc9027b
Flush gossip inside the channel lock so we know sender hasn't been Stop()-ed
Bryan Boreham
2015-06-10 12:22:38 +01:00
fe6d05fccc
Merge pull request #875 from paulbellamy/proxy-port
Matthias Radestock
2015-06-10 12:19:41 +01:00
35b3a2d6a6
Inline GossipSender.flush() and don't try to send nil
Bryan Boreham
2015-06-10 12:18:09 +01:00
6bb087cecd
[proxy] Renaming flags: -H -> -D, -L -> -H
Paul Bellamy
2015-06-10 09:56:17 +01:00
447a00ba7e
[proxy] Add support for tcp:// prefix on listen addresses
Paul Bellamy
2015-06-09 15:25:24 +01:00
0da9669e5c
[proxy] removing unneeded port expose
Paul Bellamy
2015-06-09 14:41:51 +01:00
4a7d4d3555
[proxy] documenting -L option
Paul Bellamy
2015-06-09 14:41:17 +01:00
1ac5d4fe98
renaming dns_restart_test so it is picked up by test runner
Paul Bellamy
2015-06-10 11:16:04 +01:00
bd5353024f
Helpful suggestions from the linter
Bryan Boreham
2015-06-10 11:05:04 +01:00
569fd784fa
Make flushing of GossipSender wait till done in tests, and take extra locks to avoid race conditions. Also removed the sendPendingGossip() from mockChannelConnection.SendProtocolMsg(), because waiting in flush now creates a deadlock. Tests will have to call sendPendingGossip() explicitly if they need it.
Bryan Boreham
2015-06-09 20:40:23 +01:00
fbf2208e80
simplify fragmentation test
Matthias Radestock
2015-06-10 07:41:37 +01:00
bd364f787e
fix silent failure in assert_dns_record test
Matthias Radestock
2015-06-09 19:08:59 +01:00
ca133d6d9b
Call LocalPeer.Encode, not Peer.Encode!
Matthias Radestock
2015-06-09 17:19:36 +01:00
94f18f7004
remove outdated comment
Matthias Radestock
2015-06-09 15:52:15 +01:00
e324c15b04
Merge pull request #879 from rade/proxy_interceptor_refactor
Paul Bellamy
2015-06-09 14:50:54 +01:00
5c70c7c71a
simplify interceptor structs by referencing proxy
Matthias Radestock
2015-06-08 22:49:54 +01:00
020a9ea396
rename file
Matthias Radestock
2015-06-08 22:38:23 +01:00
3f9c7a5c00
remove pointless indirection
Matthias Radestock
2015-06-08 22:36:48 +01:00
f025b6ea36
refactor interceptor invocation
Matthias Radestock
2015-06-08 22:26:50 +01:00
03fa95fcb5
Merge pull request #878 from rade/877_remove_proxy_status
Paul Bellamy
2015-06-09 14:24:53 +01:00
fee2898c05
remove detailed proxy status
Matthias Radestock
2015-06-08 21:19:18 +01:00