diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-08-16 15:56:17 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-08-18 16:01:39 +0800 |
commit | 70fc96ee9d7785a46de6847cd8bbb54a26bff3eb (patch) | |
tree | da9fedcebcffc48a9ea7373deb228f1d6c02f835 /integration/storperf/README.md | |
parent | 84ea7388ecb34034f7c6886886c46b00afc82c2c (diff) |
refactor storperf scripts structure
- Run qtip and storperf containers by docker-compose
- Cope the current patch changes into qtip container for verification
- Run the script run_storage_qpi.sh for storperf test
Change-Id: Ic140fb7531d270b9c62bcd72f5dbc13917534daf
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'integration/storperf/README.md')
-rw-r--r-- | integration/storperf/README.md | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/integration/storperf/README.md b/integration/storperf/README.md deleted file mode 100644 index bdcc7e70..00000000 --- a/integration/storperf/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# Usage - -Please make sure pip, docker and docker-compose are installer on your environment. - -1. Launch qtip and storperf containers. - - ``` - $ cd qtip/integration/storperf - $ bash launch_containers.sh -t apex -n "" - - Arguments: - - -t : Installer type. For now only supports Apex. - -n : Node name. - ``` - - Then you will get 5 containers: - - ``` - CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES - 2c079d5d88bc opnfv/qtip "/usr/bin/supervisord" 38 minutes ago Up 38 minutes 5000/tcp qtip - 2032a16dab17 opnfv/storperf-httpfrontend "nginx -g 'daemon ..." 38 minutes ago Up 38 minutes 80/tcp, 0.0.0.0:5000->5000/tcp storperf-httpfrontend - c0d3e2763d35 schickling/swagger-ui "sh run.sh" 39 minutes ago Up 38 minutes 80/tcp storperf-swaggerui - 0e08a1968829 opnfv/storperf-reporting "python app.py" 39 minutes ago Up 38 minutes 0.0.0.0:5080->5000/tcp storperf-reporting - b92967139d8e opnfv/storperf-master "/usr/bin/supervisord" 39 minutes ago Up 39 minutes 5000/tcp, 0.0.0.0:8000->8000/tcp storperf-master - ``` - -2. Prepare environment. - - ``` - $ docker exec qtip bash -c "/home/opnfv/repos/qtip/integration/storperf/prepare.sh" - ``` - - This command can create a flavor and upload a Ubuntu 16.04 image on OpenStack. - -3. Run storperf job. - - ``` - $ docker exec qtip bash -c "/home/opnfv/repos/qtip/integration/storperf/start_job.sh -s stack.json -j job.json" - - Arguments: - - -s : Stack configuration json file. If not given, default_stack.json will be used. - -j : Storperf job configuration json file. If not given, default_job.json will be used. - ``` |