diff options
author | qi liang <liangqi1@huawei.com> | 2016-03-25 11:01:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-03-25 11:01:50 +0000 |
commit | f3d240626b7f6337d2dc6f490cfe144af289bcec (patch) | |
tree | 23266230db572fc6f9114f3e6922c941c898001a /docs/userguide/architecture.rst | |
parent | e4e8eb1b27b48e76e288c1ad90a6dd91cddc1245 (diff) | |
parent | 9ad6971bde4787793dba75f5f3fc2fddde469e5d (diff) |
Merge "Process Case View Part Of SWA" into stable/brahmaputra
Diffstat (limited to 'docs/userguide/architecture.rst')
-rw-r--r-- | docs/userguide/architecture.rst | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/userguide/architecture.rst b/docs/userguide/architecture.rst index c34a3c857..de52bbb3a 100644 --- a/docs/userguide/architecture.rst +++ b/docs/userguide/architecture.rst @@ -160,7 +160,30 @@ TBD(Qiliang) Process View (Test execution flow) ================================== -TBD(Limingjiang) +Yardstick process view shows how yardstick runs a test case. Below is the +sequence graph about the test execution flow using heat context, and each +object represents one module in yardstick: + +.. image:: images/test_execution_flow.png + :width: 800px + :alt: Yardstick Process View + +A user wants to do a test with yardstick. He can use the CLI to input the +command to start a task. "TaskCommands" will receive the command and ask +"HeatContext" to parse the context. "HeatContext" will then ask "Model" to +convert the model. After the model is generated, "HeatContext" will inform +"Openstack" to deploy the heat stack by heat template. After "Openstack" +deploys the stack, "HeatContext" will inform "Runner" to run the specific test +case. + +Firstly, "Runner" would ask "TestScenario" to process the specific scenario. +Then "TestScenario" will start to log on the openstack by ssh protocal and +execute the test case on the specified VMs. After the script execution +finishes, "TestScenario" will send a message to inform "Runner". When the +testing job is done, "Runner" will inform "Dispatcher" to output the test +result via file, influxdb or http. After the result is output, "HeatContext" +will call "Openstack" to undeploy the heat stack. Once the stack is +undepoyed, the whole test ends. Deployment View =============== |