aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-03-24 18:44:14 +0800
committerqi liang <liangqi1@huawei.com>2016-03-25 10:04:56 +0000
commit9ad6971bde4787793dba75f5f3fc2fddde469e5d (patch)
tree1d0142a00bd7dc4aab77db0cfbfd1326c1e7dc2c /docs
parentd250e41b8f94e2b1cb7f75ba72d040a2e6cb8967 (diff)
Process Case View Part Of SWA
this part will show a sequence graph of test execution flow to help users to use yardstick Change-Id: Ie72ee6da93eb2fbe89f3a121190b6a87d232dfb0 Signed-off-by: rexlee8776 <limingjiang@huawei.com> (cherry picked from commit a17470a28b597749bbcd8f360eca31bf9e0e822f)
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide/architecture.rst25
-rw-r--r--docs/userguide/images/test_execution_flow.pngbin0 -> 51473 bytes
2 files changed, 24 insertions, 1 deletions
diff --git a/docs/userguide/architecture.rst b/docs/userguide/architecture.rst
index ccf8d482c..ff241d032 100644
--- a/docs/userguide/architecture.rst
+++ b/docs/userguide/architecture.rst
@@ -135,7 +135,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
===============
diff --git a/docs/userguide/images/test_execution_flow.png b/docs/userguide/images/test_execution_flow.png
new file mode 100644
index 000000000..c20a931a4
--- /dev/null
+++ b/docs/userguide/images/test_execution_flow.png
Binary files differ