-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: weave
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#! /bin/bash | ||
|
||
. ./config.sh | ||
|
||
C1=10.2.1.13 | ||
|
||
start_suite "Start containers with 'weave run' via proxy" | ||
|
||
weave_on $HOST1 launch | ||
weave_on $HOST1 launch-proxy | ||
|
||
proxy start_container $HOST1 $C1/24 --name=c1 | ||
# check we get exactly one IP back, the one specified | ||
assert "weave_on $HOST1 ps c1 | cut -d ' ' -f 3-" $C1/24 | ||
|
||
end_suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters