add 'weave launch-proxy --with-ipam' flag
This commit is contained in:
1 parent
d0320b43f9
commit
cc82213147
6 files changed
+24
-25
No files matched your search
@@ -9,11 +9,14 @@ start_suite "Ping proxied containers over cross-host weave network (with IPAM)"
|
||||
weave_on $HOST1 launch -iprange $UNIVERSE
|
||||
weave_on $HOST1 launch-proxy
|
||||
weave_on $HOST2 launch -iprange $UNIVERSE $HOST1
|
||||
weave_on $HOST2 launch-proxy
|
||||
weave_on $HOST2 launch-proxy --with-ipam
|
||||
|
||||
proxy start_container $HOST1 -e WEAVE_CIDR= --name=c1
|
||||
proxy start_container $HOST2 -e WEAVE_CIDR= --name=c2
|
||||
proxy docker_on $HOST1 run -e WEAVE_CIDR= --name=c1 -dt $SMALL_IMAGE /bin/sh
|
||||
proxy docker_on $HOST2 run --name=c2 -dt $SMALL_IMAGE /bin/sh
|
||||
|
||||
C1=$(container_ip $HOST1 c1)
|
||||
C2=$(container_ip $HOST2 c2)
|
||||
assert_raises "exec_on $HOST1 c1 $PING $C2"
|
||||
assert_raises "proxy exec_on $HOST1 c1 $PING $C2"
|
||||
assert_raises "proxy exec_on $HOST2 c2 $PING $C1"
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user