diff options
author | liyin <liyin11@huawei.com> | 2017-02-16 12:30:12 +0800 |
---|---|---|
committer | Ace Lee <liyin11@huawei.com> | 2017-02-17 06:15:45 +0000 |
commit | 58c97253eaaf72f73924837fca4ddcb5cb8a5d94 (patch) | |
tree | 506b5cf15b80578433600693434aa54f473a8d26 /docker/bottleneck-compose/docker-compose.yml | |
parent | be6453bb485c720278c5f6a45a5194391e454ce4 (diff) |
stress test of ping testcase
JIRA:BOTTLENECK-136
those code will add a new testcase: posca_stress_ping
This will use docker python client to realize the fountion of
calling yardstick to test.
And yardstick will create several VM pairs to test.
Because of the limites of quotas,
we now create 2,5,10 VM pairs.
Change-Id: I096250c547cd598c7c632a884b31d81c2be125f8
Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'docker/bottleneck-compose/docker-compose.yml')
-rw-r--r-- | docker/bottleneck-compose/docker-compose.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/bottleneck-compose/docker-compose.yml b/docker/bottleneck-compose/docker-compose.yml index b6e8b3d0..6dbf8999 100644 --- a/docker/bottleneck-compose/docker-compose.yml +++ b/docker/bottleneck-compose/docker-compose.yml @@ -19,9 +19,20 @@ yardstick: image: opnfv/yardstick:latest volumes: - /var/run/docker.sock:/var/run/docker.sock + - /tmp/:/tmp/ ports: - "8888:5000" + privileged: true + environment: + - INSTALLER_IP=192.168.200.2 + - INSTALLER_TYPE=compass bottlenecks: restart: always build: bottlenecks/ + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /tmp/:/tmp/ + environment: + - INSTALLER_IP=192.168.200.2 + - INSTALLER_TYPE=compass |