summaryrefslogtreecommitdiffstats
path: root/docs/testing/developer/design
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-20 11:08:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-20 11:08:30 +0000
commit12407a4417f762072b202b1f94d62d810418d802 (patch)
tree859552fed03d30f53ab4768efdbe15add28717af /docs/testing/developer/design
parent638398e593ab95b8e280a3dafd9e1258dd5560e0 (diff)
parentb08eef5aa46f780d36daddc368d0c69d2da51d00 (diff)
Merge "Create outline for documents to be released in Danube" into stable/danube
Diffstat (limited to 'docs/testing/developer/design')
-rw-r--r--docs/testing/developer/design/api.rst2
-rw-r--r--docs/testing/developer/design/apidocs/index.rst13
-rw-r--r--docs/testing/developer/design/apidocs/qtip_restful_api.rst10
-rw-r--r--docs/testing/developer/design/arch.rst0
-rw-r--r--docs/testing/developer/design/cli.rst2
-rw-r--r--docs/testing/developer/design/compute-qpi.rst (renamed from docs/testing/developer/design/compute_QPI.rst)0
-rw-r--r--docs/testing/developer/design/dashboard.rst151
-rw-r--r--docs/testing/developer/design/index.rst7
-rw-r--r--docs/testing/developer/design/integration_with_yardstick.rst92
9 files changed, 8 insertions, 269 deletions
diff --git a/docs/testing/developer/design/api.rst b/docs/testing/developer/design/api.rst
new file mode 100644
index 00000000..eb2b0d67
--- /dev/null
+++ b/docs/testing/developer/design/api.rst
@@ -0,0 +1,2 @@
+- Which framework has been used and why
+- How to extend to more api
diff --git a/docs/testing/developer/design/apidocs/index.rst b/docs/testing/developer/design/apidocs/index.rst
deleted file mode 100644
index 241a2680..00000000
--- a/docs/testing/developer/design/apidocs/index.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. (c) 2015 Dell Inc.
-.. (c) 2016 ZTE Corp.
-
-################
-QTIP Configguide
-################
-
-.. toctree::
- :maxdepth: 2
-
- ./qtip_restful_api.rst
diff --git a/docs/testing/developer/design/apidocs/qtip_restful_api.rst b/docs/testing/developer/design/apidocs/qtip_restful_api.rst
deleted file mode 100644
index 06c01292..00000000
--- a/docs/testing/developer/design/apidocs/qtip_restful_api.rst
+++ /dev/null
@@ -1,10 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. (c) 2015 Dell Inc.
-.. (c) 2016 ZTE Corp.
-
-****************
-Qtip restful api
-****************
-
-You can get all the Qtip restful api by http://restful_api.qtip.openzero.net/api/spec.html.
diff --git a/docs/testing/developer/design/arch.rst b/docs/testing/developer/design/arch.rst
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/docs/testing/developer/design/arch.rst
diff --git a/docs/testing/developer/design/cli.rst b/docs/testing/developer/design/cli.rst
new file mode 100644
index 00000000..7b226e6f
--- /dev/null
+++ b/docs/testing/developer/design/cli.rst
@@ -0,0 +1,2 @@
+- Which framework has been used and why
+- How to extend to more commands
diff --git a/docs/testing/developer/design/compute_QPI.rst b/docs/testing/developer/design/compute-qpi.rst
index 2e5aa87c..2e5aa87c 100644
--- a/docs/testing/developer/design/compute_QPI.rst
+++ b/docs/testing/developer/design/compute-qpi.rst
diff --git a/docs/testing/developer/design/dashboard.rst b/docs/testing/developer/design/dashboard.rst
deleted file mode 100644
index 60c4720d..00000000
--- a/docs/testing/developer/design/dashboard.rst
+++ /dev/null
@@ -1,151 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. (c) 2016 ZTE Corp.
-
-
-*********
-Dashboard
-*********
-
-The dashboard gives user an intuitive view of benchmark result.
-
-Purpose
-=======
-
-The basic element to be displayed is QPI a.k.a. QTIP Performance Index. But it
-is also important to show user
-
-#. How is the final score calculated?
-#. Under what condition is the test plan executed?
-#. How many runs of a performance tests have been executed and is there any deviation?
-#. Comparison of benchmark result from different PODs or configuration
-
-Templates
-=========
-
-Different board templates are created to satisfy the above requirements.
-
-Composition
------------
-
-QTIP gives a simple score but there must be a complex formula behind it. This
-view explains the composition of the QPI.
-
-Condition
----------
-
-The condition of a benchmark result includes
-
-* System Under Test
-
- * Hardware environment
- * Hypervisor version
- * Operation System release version
- * System Configuration
-
-* Test Tools
-
- * Release version
- * Configuration
-
-* Test Facility
-
- * Laboratory
- * Engineer
- * Date
-
-Conditions that do NOT have an obvious affect on the test result may be ignored,
-e.g. temperature, power supply.
-
-Stats
------
-
-Performance tests are actually measurement of specific metrics. All measurement
-comes with uncertainty. The final result is normally one or a group of metrics
-calculated from many repeats.
-
-For each metric, the stats board shall consist of a diagram of all measured
-values and a box of stats::
-
- ^ +------------+
- | | count: ? |
- | |average: ? |
- | | min: ? |
- | X | max: ? |
- | XXXX XXXX X XXXXX | |
- |X XX XX XX XXX XXX XX | |
- | XXXXXX X XXXXX XX | |
- | | |
- | | |
- | | |
- | | |
- | | |
- +---------------------------------------------> +------------+
-
-The type of diagram and selection of stats shall depend on what metric to show.
-
-Comparison
-----------
-
-Comparison can be done between different PODs or different configuration on the
-same PODs.
-
-In a comparison view, the metrics are displayed in the same diagram. And the
-parameters are listed side by side.
-
-Both common parameters and different parameters are listed. Common values are
-merged to the same cell. And user may configure the view to hide common rows.
-
-A draft design is as following::
-
- ^
- |
- |
- |
- | XXXXXXXX
- | XXX XX+-+ XXXXXXXXXX
- | XXX +XXXX XXXXX
- +-+XX X +--+ ++ XXXXXX +-+
- | X+-+X +----+ +-+ +----+X
- |X +--+ +---+ XXXXXX X
- | +-------+ X
- |
- |
- +----------------------------------------------------->
-
- +--------------------+----------------+---------------+
- | different param 1 | | |
- | | | |
- +-----------------------------------------------------+
- | different param 2 | | |
- | | | |
- +-------------------------------------+---------------+
- | common param 1 | |
- | | |
- +-------------------------------------+---------------+
- | different param 3 | | |
- | | | |
- +-------------------------------------+---------------+
- | common param 2 | |
- | | |
- +--------------------+--------------------------------+
- +------------+
- | HIDE COMMON|
- +------------+
-
-Time line
----------
-
-Time line diagram for analysis of time critical performance test::
-
- +-----------------+-----------+-------------+-------------+-----+
- | | | | | |
- +-----------------> | | | |
- | +-----------> | | |
- | ? ms +-------------> | |
- | ? ms +------------>+ |
- | ? ms ? ms |
- | |
- +---------------------------------------------------------------+
-
-The time cost between checkpoints shall be displayed in the diagram.
diff --git a/docs/testing/developer/design/index.rst b/docs/testing/developer/design/index.rst
index b6dd0c01..2b4bd9b0 100644
--- a/docs/testing/developer/design/index.rst
+++ b/docs/testing/developer/design/index.rst
@@ -10,6 +10,7 @@ QTIP Design Specifications
.. toctree::
:maxdepth: 2
- dashboard.rst
- compute_QPI.rst
- integration_with_yardstick.rst
+ arch.rst
+ cli.rst
+ api.rst
+ compute-qpi.rst
diff --git a/docs/testing/developer/design/integration_with_yardstick.rst b/docs/testing/developer/design/integration_with_yardstick.rst
deleted file mode 100644
index a8298d6f..00000000
--- a/docs/testing/developer/design/integration_with_yardstick.rst
+++ /dev/null
@@ -1,92 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. (c) 2016 ZTE Corp.
-
-
-**************************
-Integration with Yardstick
-**************************
-
-Problem description
-===================
-
-For each specified QPI [1]_, QTIP needs to select a suite of test cases and collect
-required test results. Based on these results, Qtip calculates the score.
-
-Proposed change
-===============
-Qtip has a flexible architecture [2]_ to support different mode: standalone and agent.
-It is recommended to use **agent mode** to work with existing test runners. Yardstick will
-act as a runner to generate test result and trigger Qtip agent on the completion of test.
-
-
-Work Items in Yardstick
------------------------
-
-1. Create a customized suite in Yardstick
-
-Yardstick not only has many existing suites but also support customized suites. Qtip could
-create a suite named **Qtip-PoC** in Yardstick repo to verify workflow of Qtip agent mode.
-
-2. Launch Qtip in Yardstick
-
-Whether to launch Qtip will be determined by checking the existence of OS environment
-variable *QTIP*. If it exists, Qtip will be launched by using Yardstick CLI
-`yardstick plugin install` [3]_.
-
-3. Yardstick interacts with Qtip
-
-See
-`Yardstick-Qtip+integration <https://wiki.opnfv.org/display/yardstick/Yardstick-Qtip+integration>`_
-for details.
-
-Work Items in Qtip
-------------------
-
-1. Provide an API for Yardstick to post test result and environment info
-
-After completing test execution, Yardstick will post test result and enviroment info with
-JSON format via QTIP API. See
-`Yardstick-Qtip+integration <https://wiki.opnfv.org/display/yardstick/Yardstick-Qtip+integration>`_
-for details.
-
-2. Parse yardstick test result
-
-When Qtip agent receive Yarstick test result and enviroment info, Qtip agent will extract
-metrics which is definded in metric spec configuration file. Based on these metrics, Qtip
-agent will caculate QPI.
-
-3. Provide an API for querying QPI
-
-Qtip will provide an API for querying QPI. See
-`Yardstick-Qtip+integration <https://wiki.opnfv.org/display/yardstick/Yardstick-Qtip+integration>`_
-for details.
-
-Implementation
-==============
-
-Assignee(s)
------------
-
-*Primary assignee:*
- wu.zhihui
-
-*Other contributors*
- TBD
-
-Testing
-=======
-
-The changes will be covered by new unit test.
-
-Documentation
-=============
-
-TBD
-
-Reference
-=========
-
-.. [1] QTIP performance index
-.. [2] https://wiki.opnfv.org/display/qtip/Architecture
-.. [3] https://wiki.opnfv.org/display/yardstick/How+to+install+a+plug-in+into+Yardstick