Commit Graph
3279 Commits
Author SHA1 Message Date
Alvaro Saurin 58c8945b32 Support "insistent" queries in the mDNS client, used for obtaining all possible responses from mDNS servers.
Support for multiple responses from Lookup*() methods
Support for multiple records when building packets with make*() methods
Use a common "ZoneRecord" interface for structs that contain names and IPs
2015-04-23 13:01:29 +02:00
Matthias Radestock ec29c2c776 cosmetic 2015-04-23 08:04:12 +01:00
Matthias Radestock 22c04bfc24 don't use $(exec_on ...)
since that will cause the test to exit on failure
2015-04-22 20:09:34 +01:00
Matthias Radestock eebb674232 simplify dns tests
- use 'host' to lookup MX record. It's shorter
- use getent everywhere else for dns lookups, instead of dig; this
  tests more of the o/s name resolution machinery and is generally
  shorter.
- introduce assert_dns_record helper that performs forward and reverse
- lookup introduce some vars for holding constants, so we don't have
  to repeat them
2015-04-22 19:38:04 +01:00
rade 5749d19fee Merge pull request #594 from awh/591_smoke_test_robustness
Improved smoke test robustness

Fixes #591.
2015-04-22 16:52:37 +01:00
Adam Harrison 6a06d0f95f Simplify ping tests to avoid set -e precipitated exit in failure case 2015-04-22 16:46:35 +01:00
Adam Harrison d850ea41a2 Report overall status after running all suites 2015-04-22 16:46:22 +01:00
Adam Harrison 5e01021cba Avoid use of subshell in whitely/greyly 2015-04-22 16:43:38 +01:00
Adam Harrison f3619367a2 Make sourcing of config.sh idempotent 2015-04-22 14:54:33 +01:00
Adam Harrison 849bd52096 Merge pull request #590 from rade/simplify_test_docker_exec
add exec_on test helper
2015-04-22 10:31:37 +01:00
Matthias Radestock a7c9fd272c add exec_on helper
so we don't repeat the remote docker invocation command (complete with
hard-coded port) over and over again.
2015-04-22 09:25:42 +01:00
Matthias Radestock 3ad186d727 make vagrant provision idempotent
Closes #586.
2015-04-21 23:27:46 +01:00
Matthias Radestock 7135508d66 bump docker version requirement for --with-dns
and explain why

Fixes #587.
2015-04-21 22:46:13 +01:00
Matthias Radestock 7221744d9a Merge remote-tracking branch 'upstream/master' 2015-04-21 19:47:20 +01:00
rade 5178e1a66c Merge pull request #580 from awh/use_nsenter
Replace `ip netns exec` with `nsenter`

Closes #458.
2015-04-21 18:23:34 +01:00
Adam Harrison 8326768b9f Upgrade Vagrantfiles to Ubuntu 14.10 2015-04-21 17:28:17 +01:00
Adam Harrison 89e0a6098c Replace ip netns exec calls with nsenter 2015-04-21 17:28:06 +01:00
Matthias Radestock dd5bfdf742 add changelog entry for 0.10.0 v0.10.0 2015-04-21 16:03:01 +01:00
Matthias Radestock cbe73e7645 switch dockerhub user from zettio to weaveworks 2015-04-21 15:37:41 +01:00
Adam Harrison 8b9a2142c9 Include util-linux package in weaveexec container 2015-04-21 15:19:56 +01:00
Matthias Radestock 04d0cd33e6 We now require Docker 1.3.1
see #576.
2015-04-21 14:55:25 +01:00
Alvaro Saurin d49a3fe5ca Fixed wrong argument 2015-04-21 12:26:06 +02:00
Matthias Radestock caded5e605 add link 2015-04-21 07:37:32 +01:00
Matthias Radestock 87011586ae add a section on snapshot releases 2015-04-21 07:35:05 +01:00
Matthias Radestock c7044b0c14 improve troubleshooting instructions
by explaining how to check the version and upgrade
2015-04-21 07:19:13 +01:00
rade 8a8c4bae76 Merge pull request #581 from inercia/weave-573
Added some documentation for the local domain argument

Fixes #573.
2015-04-20 20:15:20 +01:00
Alvaro Saurin 6fd90d45a1 Renamed --localDomain to --domain 2015-04-20 20:14:20 +02:00
Alvaro Saurin cc4ba53d1b Minor improvements in the docs 2015-04-20 20:14:04 +02:00
Alvaro Saurin 084e6d6119 Documented the local domain argument 2015-04-20 17:52:16 +02:00
Adam Harrison 4059ff67e8 Add Vagrantfile.local to git ignore 2015-04-20 16:15:43 +01:00
Adam Harrison 32372fce8c Add Vagrantfile.local hook to smoke test Vagrantfile 2015-04-20 16:13:30 +01:00
Adam Harrison f3ab25a512 Remove unnecessary -i flag from docker exec invocations.
Fixes #579.
2015-04-20 14:35:18 +01:00
Matthias Radestock 16f3a96a67 fix handling of --dns-search
This got broken in b4c00050e0.
2015-04-20 12:58:04 +01:00
Matthias Radestock 1e3d429d58 refactor: better increment 2015-04-20 12:45:57 +01:00
Michael Bridgen 39c925983a Merge branch 'pr575' 2015-04-20 12:10:10 +01:00
Matthias Radestock b4c00050e0 simplify dns-args
it makes more sense to strip off the `--with-dns` at the call site.
`weave dns-args` now does something useful, instead of having to be
invoked as `weave dns-args --with-dns`.
2015-04-20 11:31:12 +01:00
Matthias Radestock 53e145bea7 simplify local portion of weave run
pull all the local `weave run` execution into one place, thus
dispensing with the need to have lots of tests for whether we are
executing in the context of "--local".
Also, we only remote exec dns-args if "--with-dns" is supplied, which
is more efficient in the common case (and also more obvious).

NB: we need to retain the docker version check for `run` since the
specific breakage it guards against does affect the code we execute
locally for `run`.
2015-04-20 11:30:56 +01:00
Matthias Radestock 0a2f341c6b cosmetic: move DOCKERHUB_USER setting
for more logical grouping
2015-04-19 13:19:06 +01:00
Matthias Radestock cefd89b7d8 only set vars that we need for remote execution 2015-04-19 13:19:06 +01:00
Matthias Radestock fbf7612726 only check for command / print usage at remote
This is desirable since we want to do as little as possible locally,
and not duplicate any checks.
2015-04-19 13:19:06 +01:00
Matthias Radestock 7752d6b102 refactor: move "need to run as root" check
to a more obvious place
2015-04-19 13:18:22 +01:00
Matthias Radestock 74f77a71ce cosmetic: move usage() 2015-04-19 11:53:33 +01:00
Matthias Radestock 40cd875763 don't validate CIDRs twice in weave expose 2015-04-19 11:17:42 +01:00
Matthias Radestock 5addf4e7b1 cosmetic: logical grouping of functions in weave script 2015-04-19 09:14:28 +01:00
rade 35201b8865 Merge pull request #572 from dpw/forwarder-df
refactor: separate Forwarder and ForwarderDF
2015-04-18 20:09:51 +01:00
David Wragg dceef04ffa Separate Forwarder and ForwarderDF
Much of the state and code associated with Forwarder only applied in the
DF case.
2015-04-18 10:38:05 +01:00
rade 3974b9282a Merge pull request #570 from awh/fix_multi_cidr_error_messages
Fix multi cidr error messages
2015-04-17 15:34:36 +01:00
Adam Harrison 3943b0231b Improved validation of trailing arguments 2015-04-17 13:54:55 +01:00
rade ac2afdadb6 Merge pull request #571 from tomwilkie/travis
Run linter in travis; fix linter; make nameserver lint free.
2015-04-17 12:58:35 +01:00
Tom Wilkie f735082d95 Fix gofmt errors in nameserver. 2015-04-17 11:42:29 +00:00