Paul Bellamy
858356de22
add 'weave connect --replace ...'
2015-05-29 15:44:45 +01:00
Paul Bellamy
587a56cf31
Merge remote-tracking branch 'upstream/0.11'
...
Conflicts:
weave
2015-05-29 13:37:21 +01:00
Paul Bellamy
db217cd56f
Merge pull request #785 from rade/710_reduce_interface_check_interval
...
reduce interface availability check interval
2015-05-29 10:17:13 +01:00
Paul Bellamy
22aa1f8fe3
Merge pull request #790 from rade/754_stop_proxy
...
add `weave stop_proxy`
2015-05-29 09:53:32 +01:00
Paul Bellamy
f919ef12d0
fix bug with WEAVEPROXY_DOCKER_ARGS not being passed through
2015-05-29 09:52:43 +01:00
Paul Bellamy
20c9bc04a7
simplifying and standardizing launch-proxy
2015-05-29 09:52:42 +01:00
Paul Bellamy
e3e5934c51
Merge remote-tracking branch 'upstream/0.11'
...
Conflicts:
proxy/common.go
2015-05-28 17:43:30 +01:00
Paul Bellamy
147c7f503c
add curl test for proxy v1.0 api support
2015-05-28 16:39:32 +01:00
Paul Bellamy
c8b95a2527
fix bug in proxy handling of minimal request bodies
2015-05-28 16:24:04 +01:00
Paul Bellamy
169eb19523
allow proxy to intercept unversioned (i.e. 1.0) urls
2015-05-28 16:24:02 +01:00
Paul Bellamy
4f89ad2342
Merge pull request #769 from rade/768_shorten_proxy_entrypoint
...
shorten proxy entrypoint
2015-05-28 12:16:24 +01:00
Paul Bellamy
998130fa9e
Reformatting connection maker target JSON output
...
So `LastError` is forced to a string, not an object.
2015-05-28 11:49:46 +01:00
Paul Bellamy
637215fcff
add status of connection-maker to status-json
2015-05-28 11:49:46 +01:00
Paul Bellamy
d16395b8b9
weave status should include 'Direct Peers' set with 'weave connect'
2015-05-28 11:49:46 +01:00
Paul Bellamy
ce2e80d861
fixing build on master (broken by 68ef0e)
2015-05-27 17:37:13 +01:00
Paul Bellamy
b9d666d4a5
Merge branch '0.11'
2015-05-27 13:52:13 +01:00
Paul Bellamy
cb73b73862
Fix bug of --with-ipam not setting entrypoints
2015-05-27 13:38:28 +01:00
Paul Bellamy
dafe2bbc83
adding basic connect/forget test
...
The test for multiple connect/forget options is not amazing, because we
only have 2 test VMs to connect to each other
2015-05-26 14:37:22 +01:00
Paul Bellamy
b392a7d24d
weave connect should be best-effort, and return errors for any fails
2015-05-26 14:37:22 +01:00
Paul Bellamy
d18640fc8c
use @dpw's shell join, and remove non-posix 'local'
2015-05-26 14:37:22 +01:00
Paul Bellamy
781686ee4a
weave connect/forget take multiple peers
2015-05-26 14:37:22 +01:00
Paul Bellamy
11931f3ea2
[tests] extract gliderlabs/alpine and aanand/docker-dnsutils into var in
...
config.sh
@bboreham made me do it.
2015-05-22 15:52:36 +01:00
Paul Bellamy
cc82213147
add 'weave launch-proxy --with-ipam' flag
2015-05-22 15:52:36 +01:00
Paul Bellamy
d0320b43f9
realigning the weave help output columns
2015-05-22 10:04:10 +01:00
Paul Bellamy
73071f2c62
cleanup proxy test helpers
2015-05-22 10:04:09 +01:00
Paul Bellamy
c9409c5342
[proxy] Adding basic docs about IPAM integration
2015-05-21 15:37:37 +01:00
Paul Bellamy
46bdd8c67d
Proxy support for IPAM
...
Pass `-e WEAVE_CIDR=` to your container to use IPAM. If IPAM is not
enabled on the weave router, the container will be booted without weave
networking.
I'm not crazy about adding *another* undocumented weave cli command
(ipam-cidr), but it saves the proxy messing around finding container
IPs.
2015-05-21 15:37:37 +01:00
Paul Bellamy
c63d2e531a
Merge pull request #712 from errordeveloper/vagrantfile-more-cleanup
...
Improve readability of Vagrantfile and cleanup this official image
2015-05-20 16:47:28 +01:00
Paul Bellamy
d24e75f76b
extract vagrantfile shared bits
2015-05-20 15:42:08 +01:00
Paul Bellamy
eeaa6c9e2c
use grep in /sys to verify ethwe is up in tests
...
Closes #707 . `ip link show` seems to "lag" the real state. In tests
checking the physical link state is good enough.
2015-05-20 13:36:36 +01:00
Paul Bellamy
369466d3d4
refactor proxy entrypoint rewriting to match docker daemon
...
Closes #709
2015-05-20 11:41:15 +01:00
Paul Bellamy
818e162fff
[proxy] use exec instead of run, to replace weavewait with subprocess
...
Closes #708
2015-05-20 10:35:52 +01:00
Paul Bellamy
610bc46970
proxy should provide reasonable error when execing on a container which doesn't exist
2015-05-19 17:37:23 +01:00
Paul Bellamy
e6b587ea8d
proxy needs to add weavewait to execs as well
...
Bug came up in a test where we are restarting and doing an exec checking
a network interface right away. weavewait is only added if the container
has a WEAVE_CIDR var set, the same as at container creation.
2015-05-19 17:36:53 +01:00
Paul Bellamy
62242cb640
fixup bad golint refactor
2015-05-19 11:46:03 +01:00
Paul Bellamy
fdd0bd3b35
remove usage of backticks in bash script
2015-05-19 11:26:55 +01:00
Paul Bellamy
ee07d645b4
golint cleanup of else block
2015-05-19 10:47:57 +01:00
Paul Bellamy
b71a428369
proxy should be sending error code to client, instead of exiting
2015-05-19 10:34:46 +01:00
Paul Bellamy
6911dc8d38
updating proxy with-dns description to match docs
2015-05-19 10:34:46 +01:00
Paul Bellamy
1e7c82bb58
use busybox instead of ubuntu for proxy image pulling test
...
busybox is smaller. gliderlabs/alpine is even smaller, but is used by
weaveexec, so we can't remove it.
2015-05-19 10:34:46 +01:00
Paul Bellamy
2f8c5d7bd9
proxy interceptors implicitly modify arguments, instead of returning them
2015-05-19 10:34:46 +01:00
Paul Bellamy
ca4b8e6f8e
add proxy support for 'docker restart'
2015-05-19 10:34:46 +01:00
Paul Bellamy
2a120e5565
refactor proxy rawStream handler
2015-05-19 10:34:46 +01:00
Paul Bellamy
6fa0a9d70c
moving weaveproxy docs off 'experimental-features'
2015-05-19 10:34:46 +01:00
Paul Bellamy
55d17ba3bf
separate proxy package into weaveproxy and proxy
2015-05-19 10:34:46 +01:00
Paul Bellamy
bedc20c7c1
extract docker-bridge-ip fetching from proxy into bash script
2015-05-19 10:34:46 +01:00
Paul Bellamy
96a69d2303
Add dns support for the proxy
...
In the proxy, I swapped the 'flag' library for
'code.google.com/p/getopt', which uses double-dash flags.
proxy lets 'weave attach' do dns registration on container start
proxy needs to set DNSSearch if not specified
2015-05-19 10:34:45 +01:00
Paul Bellamy
444b1482fa
add weavewait
...
binocarlos/wait-for-weave is Apache2 licensed, so attribution/etc applies. Thus, we
re-invent the wheel here.
2015-05-19 10:34:45 +01:00
Paul Bellamy
9389001a1d
[docs] Initial version of proxy docs
2015-05-19 10:34:45 +01:00
Paul Bellamy
5a6a67f632
Add integration test for the proxy, using docker-py client
2015-05-19 10:34:45 +01:00
Paul Bellamy
d8e1d0798e
replace test usage of ifconfig with ip link show
2015-05-19 09:48:12 +01:00
Paul Bellamy
defcfa5d26
test *_on helpers should send non-result output to &2, so that asserts work
...
Previously, the result output would include:
Docker on: <command>
result output text
etc...
But this would cause: assert "docker_on ..." to fail
2015-05-16 18:03:21 +01:00
Paul Bellamy
f0578f5f66
forgot to give Overview section an anchor
2015-05-13 14:17:56 +01:00
Paul Bellamy
39f87a27e5
Add ToC to how-it-works docs page
2015-05-13 13:45:06 +01:00
Paul Bellamy
8f1f6741e3
Merge pull request #642 from errordeveloper/post-docs-move
...
Fixes post #612
2015-05-11 17:02:35 +01:00
Paul Bellamy
9c5323ee4f
Merge pull request #612 from errordeveloper/post-docs-move
...
Post docs move
2015-05-08 13:40:35 +01:00
Paul Bellamy
5e5b3ba65e
Merge pull request #638 from weaveworks/circle
...
More CircleCI Improvements
2015-05-08 10:19:18 +01:00
Paul Bellamy
93012a1cfd
Merge pull request #637 from weaveworks/circle
...
Improvements to circle ci integration
2015-05-07 17:32:53 +01:00