Doc updates according to DOCS project 29/18629/2
authorJulien <zhang.jun3g@zte.com.cn>
Sun, 14 Aug 2016 10:20:04 +0000 (18:20 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 15 Aug 2016 02:56:13 +0000 (10:56 +0800)
Upddating QTIP docs according to DOCS project wiki in:
https://wiki.opnfv.org/display/DOC/Configurartion+guide and
https://wiki.opnfv.org/display/DOC/Userguide

JIRA: QTIP-102

Change-Id: Iab5bdcf3f290bc88d2fedc8a0153e26daf89cde8
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
15 files changed:
docs/apidocs/.keep [new file with mode: 0644]
docs/configguide/configuration.rst [moved from docs/user_guides/02-installation.rst with 58% similarity]
docs/configguide/index.rst [new file with mode: 0644]
docs/roadmap/index.rst [new file with mode: 0644]
docs/roadmap/roadmap.rst [moved from docs/roadmap.rst with 100% similarity]
docs/templates/index.rst
docs/templates/sample_config.yaml [moved from docs/sample_config.yaml with 100% similarity]
docs/user_guides/01-introduction.rst [deleted file]
docs/user_guides/index.rst [deleted file]
docs/userguide/01-compute.rst [moved from docs/user_guides/test_cases/01-compute_testcases.rst with 92% similarity]
docs/userguide/02-network.rst [moved from docs/user_guides/test_cases/02-network_testcases.rst with 92% similarity]
docs/userguide/03-storage.rst [moved from docs/user_guides/test_cases/03-storage_testcases.rst with 78% similarity]
docs/userguide/index.rst [new file with mode: 0644]
docs/userguide/introduction.rst [moved from docs/user_guides/03-usage-guide.rst with 96% similarity]
docs/userguide/overview.rst [new file with mode: 0644]

diff --git a/docs/apidocs/.keep b/docs/apidocs/.keep
new file mode 100644 (file)
index 0000000..e69de29
similarity index 58%
rename from docs/user_guides/02-installation.rst
rename to docs/configguide/configuration.rst
index 2f2ecf9..f29947d 100644 (file)
@@ -1,35 +1,28 @@
-Installation
-============
-
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywriters name>
-.. two dots create a comment. please leave this logo at the top of each of your rst files.
-.. image:: ../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes are to seperate the logo from the first title
+.. (c) 2015 Dell Inc.
+.. (c) 2016 ZTE Corp.
+
 
-|
+Qtip configuration
+==================
 
-QTIP currently supports by using a Docker image or by pulling the repo from the upstream
-repository found at https://git.opnfv.org/qtip. Detailed steps about setting up QTIP using both of these options
-can be found below.
+QTIP currently supports by using a Docker image or by pulling the repo from
+the upstream repository found at https://git.opnfv.org/qtip. Detailed steps
+about setting up QTIP using both of these options can be found below.
 
-To use QTIP you should have access to an OpenStack environment,
-with at least Nova, Neutron, Glance, Keystone and Heat installed.
+To use QTIP you should have access to an OpenStack environment, with at least
+Nova, Neutron, Glance, Keystone and Heat installed. Add a brief introduction
+to configure OPNFV with this specific installer
 
-The steps needed to run QTIP are:
 
-Running QTIP by pulling the upstream code
------------------------------------------
+Pre-configuration activities
+----------------------------
 
-.. _install-dependencies:
 
 Setting QTIP framework on Ubuntu 14.04
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
 Install dependencies:
 ::
 
@@ -46,96 +39,116 @@ Download source code and install python dependencies:
   git clone https://git.opnfv.org/qtip
   cd qtip
 
+
 Installing QTIP using Docker
----------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-QTIP has a Docker images on the docker hub which can be pull after docker has been installed.
+QTIP has a Docker images on the docker hub. Pulling opnfv/qtip docker image
+from docker hub:
+::
 
-Installing Docker
-^^^^^^^^^^^^^^^^^
-The first step is to install docker:
+  sudo docker pull opnfv/qtip
+
+Verify that opnfv/qtip has been downloaded. It should be listed as an image by
+running the following command.
 ::
 
-  sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
+  sudo docker images
+
+Run the Docker instance:
+::
 
+  docker run opnfv/qtip -i -t bash
 
-Add an entry for your Ubuntu operating system
+Now you are in the container and QTIP can be found in the  /repos/qtip and can
+be navigated to using the following command.
 ::
 
-  Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.
+  cd repos/qtip
 
-If the file doesn’t exist, create it.
 
-Remove any existing entries.
+OpenStack parameters and credentials
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-Add an entry for your Ubuntu operating system.
 
-On Ubuntu Trusty 14.04 (LTS)
+Environment variables
+"""""""""""""""""""""
+
+Before running QTIP it is necessary to export OpenStack environment variables
+from the OpenStack *openrc* file. This can be done by running the following
+command.
 ::
 
-  deb https://apt.dockerproject.org/repo ubuntu-trusty main
+  source get_env_info.sh -n {INSTALLER_TYPE} -i {INSTALLER_IP}
+  source opnfv-creds.sh
 
-Update the package manager
+This provides a ``opnfv-creds.sh`` file which can be sources to get the
+environment variables. For running QTIP manually, it is also necessary to
+export the installer type.
 ::
 
-  sudo apt-get update
+  export INSTALLER_TYPE="{installer-type}"
 
-Install Docker:
-::
 
-  sudo apt-get install docker-engine
+QTIP  default key pair
+""""""""""""""""""""""
 
-Starting Docker Daemon:
-::
+QTIP uses a SSH key pair to connect to the guest image. This key pair can
+be found in the ``data/`` directory.
 
-  sudo service docker start
 
-Pulling opnfv/qtip docker image from docker hub:
-::
+Hardware configuration
+----------------------
 
-  sudo docker pull opnfv/qtip
+Qtip does not have specific hardware requriements, and it can runs over any
+OPNFV installer.
 
-Verify that opnfv/qtip has been downloaded. It should be listed as an image by running the following command.
-::
 
-  sudo docker images
+Jumphost configuration
+----------------------
 
-Run the Docker instance:
+Installer Docker on Jumphost, which is used for running Qtip image.
+
+The first step is to install docker:
 ::
 
-  docker run opnfv/qtip -i -t bash
+  sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80
+  --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
 
-Now you are in the container and QTIP can be found in the  /repos/qtip and can be navigated to using the following command.
 
+Add an entry for your Ubuntu operating system:
 ::
 
-  cd repos/qtip
+  Open the /etc/apt/sources.list.d/docker.list file in your favorite editor.
 
+If the file doesn’t exist, create it.
 
-OpenStack parameters and credentials
-------------------------------------
+Remove any existing entries.
 
+Add an entry for your Ubuntu operating system.
 
-Environment variables
-^^^^^^^^^^^^^^^^^^^^^
-Before running QTIP it is necessary to export OpenStack environment variables
-from the OpenStack *openrc* file. This can be done by running the following command.
+On Ubuntu Trusty 14.04 (LTS)
 ::
 
-  source get_env_info.sh -n {INSTALLER_TYPE} -i {INSTALLER_IP}
-  source opnfv-creds.sh
+  deb https://apt.dockerproject.org/repo ubuntu-trusty main
 
-This provides a ``opnfv-creds.sh`` file which can be sources to get the environment variables.
-For running QTIP manually, it is also necessary to export the installer type. ::
+Update the package manager
+::
 
-  export INSTALLER_TYPE="{installer-type}"
+  sudo apt-get update
 
-QTIP  default key pair
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-QTIP uses a SSH key pair to connect to the guest image. This key pair can
-be found in the ``data/`` directory.
+Install Docker:
+::
 
-Examples
---------
-QTIP Has been made with the intention of requiring minimal interaction from the user.
+  sudo apt-get install docker-engine
+
+Starting Docker Daemon:
+::
+
+  sudo service docker start
+
+
+Platform components configuration
+---------------------------------
 
+Describe the configuration of each component in the installer
diff --git a/docs/configguide/index.rst b/docs/configguide/index.rst
new file mode 100644 (file)
index 0000000..e8b6f4e
--- /dev/null
@@ -0,0 +1,13 @@
+.. 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
+
+   ./configuration.rst
diff --git a/docs/roadmap/index.rst b/docs/roadmap/index.rst
new file mode 100644 (file)
index 0000000..4e30d5a
--- /dev/null
@@ -0,0 +1,13 @@
+.. 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 Roadmap
+************
+
+.. toctree::
+   :maxdepth: 2
+
+   ./roadmap.rst
similarity index 100%
rename from docs/roadmap.rst
rename to docs/roadmap/roadmap.rst
index c893df6..1a8bc64 100644 (file)
@@ -1,30 +1,13 @@
-.. OPNFV Release Engineering documentation, created by
-   sphinx-quickstart on Tue Jun  9 19:12:31 2015.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
+.. 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.
 
-.. image:: ../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-
-Example Documentation table of contents
-=======================================
-
-Contents:
+**************
+QTIP Templates
+**************
 
 .. toctree::
-   :numbered:
-   :maxdepth: 4
-
-   testcase_description_v2_template.rst
-
-Indices and tables
-==================
-
-* :ref:`search`
-
-Revision: _sha1_
+   :maxdepth: 2
 
-Build date: |today|
+   ./testcase_description_v2_template.rst
diff --git a/docs/user_guides/01-introduction.rst b/docs/user_guides/01-introduction.rst
deleted file mode 100644 (file)
index 6322d09..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-Introduction
-============
-
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywriters name>
-.. two dots create a comment. please leave this logo at the top of each of your rst files.
-.. image:: ../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes are to seperate the logo from the first title
-
-|
-
-**Welcome to QTIP's documentation !**
-
-.. _QTIP: https://wiki.opnfv.org/platform_performance_benchmarking
-
-QTIP_ is an OPNFV Project.
-
-QTIP aims to benchmark OPNFV platforms through a "Bottom up" approach, testing bare-metal components first.
-
-The overall problem this project tries to solve is the general characterization of an OPNFV platform.
-It will focus on general performance questions that are common to the platform itself, or applicable to multiple OPNFV use cases.
-QTIP will provide the capability to quantify a platform's performance behavior in a standardized, rigorous, and open way.
-
-The *QTIP* framework is deployed in the Dell OPNFV community lab. It is
-infrastructure and application independent.
-
-.. _Pharos: https://wiki.opnfv.org/pharos
-.. seealso:: Pharos_ for information on OPNFV community labs.
-
-**Contact QTIP**
-
-Feedback? `Contact us`_
-
-.. _Contact us: opnfv-users@lists.opnfv.org
-
diff --git a/docs/user_guides/index.rst b/docs/user_guides/index.rst
deleted file mode 100644 (file)
index da14761..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-================================
-QTIP Framework Documentation
-=================================
-
-.. toctree::
-   :numbered:
-   :maxdepth: 4
-
-   01-introduction.rst
-   02-installation.rst
-   03-usage-guide.rst
-   test_cases/01-compute_testcases.rst
-   test_cases/02-network_testcases.rst
-   test_cases/03-storage_testcases.rst
-
-Revision: _sha1_
-Build date: |today|
similarity index 92%
rename from docs/user_guides/test_cases/01-compute_testcases.rst
rename to docs/userguide/01-compute.rst
index b353129..6e6a7a0 100644 (file)
@@ -1,19 +1,12 @@
-Compute test cases
-==================
-
 .. This wonk is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://cneativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywniters name>
-.. two dots cneate a comment. please leave this logo at the top of each of your rst files.
+.. (c) 2015 Dell Inc.
+.. (c) 2016 ZTE Corp.
 
-.. image:: ../../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes ane to seperate the logo from the first title
 
-|
+Compute test cases
+==================
+
 
 Introduction
 ------------
similarity index 92%
rename from docs/user_guides/test_cases/02-network_testcases.rst
rename to docs/userguide/02-network.rst
index 45c2d82..bc475ad 100644 (file)
@@ -1,18 +1,11 @@
-Network test cases
-==================
-
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywriters name>
-.. two dots create a comment. please leave this logo at the top of each of your rst files.
-.. image:: ../../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes are to seperate the logo from the first title
-
-|
+.. (c) 2015 Dell Inc.
+.. (c) 2016 ZTE Corp.
+
+
+Network test cases
+==================
 
 QTIP uses IPerf3 as the main tool for testing the network throughput.
 There are three tests that are run through the QTIP framework.
similarity index 78%
rename from docs/user_guides/test_cases/03-storage_testcases.rst
rename to docs/userguide/03-storage.rst
index cd55768..ea3bb4f 100644 (file)
@@ -1,18 +1,11 @@
-Storage test cases
-==================
-
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywriters name>
-.. two dots create a comment. please leave this logo at the top of each of your rst files.
-.. image:: ../../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes are to seperate the logo from the first title
+.. (c) 2015 Dell Inc.
+.. (c) 2016 ZTE Corp.
 
-|
+
+Storage test cases
+==================
 
 The QTIP benchmark suite aims to evaluate storage components within an OPNFV platform.
 For Brahamaputra release, FIO would evaluate File System performance for the host machine.
@@ -36,4 +29,3 @@ The FIO Job would consist of:
 6. Block size :4K
 
 For this Job, I/O per second would be measured along mean I/O latency to provide storage performance numbers.
-
diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst
new file mode 100644 (file)
index 0000000..fe24293
--- /dev/null
@@ -0,0 +1,21 @@
+.. 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 Userguide
+**************
+
+Colorado 1.0
+------------
+
+.. toctree::
+   :maxdepth: 2
+
+   ./overview.rst
+   ./introduction.rst
+   ./01-compute_testcases.rst
+   ./02-network_testcases.rst
+   ./03-storage_testcases.rst
similarity index 96%
rename from docs/user_guides/03-usage-guide.rst
rename to docs/userguide/introduction.rst
index 56cc16b..d3bba51 100644 (file)
@@ -1,18 +1,12 @@
-Guide to run QTIP:
-==================
-
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. (c) <optionally add copywriters name>
-.. two dots create a comment. please leave this logo at the top of each of your rst files.
-.. image:: ../etc/opnfv-logo.png
-  :height: 40
-  :width: 200
-  :alt: OPNFV
-  :align: left
-.. these two pipes are to seperate the logo from the first title
+.. (c) 2015 Dell Inc.
+.. (c) 2016 ZTE Corp.
+
 
-|
+*****************
+Qtip Introduction
+*****************
 
 This guide will serve as a first step to familiarize the user with how to
 run QTIP the first time when the user clones QTIP on to their host machine.
@@ -341,4 +335,3 @@ Running QTIP on the using `default` as the pod name and for the `storage` suite
 Results:
 --------
 QTIP generates results in the `results/` directory are listed down under the particularly benchmark name. So all the results for dhrystone would be listed and time stamped.
-
diff --git a/docs/userguide/overview.rst b/docs/userguide/overview.rst
new file mode 100644 (file)
index 0000000..82b7de9
--- /dev/null
@@ -0,0 +1,22 @@
+.. 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.
+
+
+********
+Overview
+********
+
+.. _QTIP: https://wiki.opnfv.org/platform_performance_benchmarking
+
+QTIP_ is an OPNFV Project.
+
+QTIP aims to benchmark OPNFV platforms through a "Bottom up" approach, testing
+bare-metal components first.
+
+The overall problem this project tries to solve is the general
+characterization of an OPNFV platform. It will focus on general performance
+questions that are common to the platform itself, or applicable to multiple
+OPNFV use cases. QTIP will provide the capability to quantify a platform's
+performance behavior in a standardized, rigorous, and open way.