summaryrefslogtreecommitdiffstats
path: root/docs/userguide/feature.configguide.rst
diff options
context:
space:
mode:
authorSofia Wallin <sofia.wallin@ericsson.com>2016-09-06 10:49:00 +0200
committerArturo Martin de Nicolas <Arturo.Martin-de-Nicolas@ericsson.com>2016-09-14 07:51:53 +0000
commit2acc1a461fd364c40ac489b9b060c989402ea321 (patch)
treef10172d3e1959503dd2d58f80a51d95c6244171c /docs/userguide/feature.configguide.rst
parent1b54e075dae0a5861010f99f306a254d749d7f8d (diff)
Adjusted the docs structure according to directivescolorado.1.0
created subdirectory: docs/installationprocedure/images and copy both screenshots to this subdirectory. Updated according to comment Added a sub directory /installationprocedure and move the feature configuration to here Moved the abstract from the userguide/index.rst to the feature.userguide.rst Added a new index.rst in accordance to the new /installationprocedure Change-Id: Ie2acaddc1746fcee5baaca79713ea253c7d3f1b0 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com> (cherry picked from commit d6e752f195525b396dad47ab339102120cd550e1)
Diffstat (limited to 'docs/userguide/feature.configguide.rst')
-rw-r--r--docs/userguide/feature.configguide.rst63
1 files changed, 0 insertions, 63 deletions
diff --git a/docs/userguide/feature.configguide.rst b/docs/userguide/feature.configguide.rst
deleted file mode 100644
index 48082c3..0000000
--- a/docs/userguide/feature.configguide.rst
+++ /dev/null
@@ -1,63 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-
-Manual testing
-==============
-
-Promise installation
---------------------
-
-Install nodejs, npm and promise
-
-.. code-block:: bash
-
- curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo npm -g install npm@latest
- git clone https://github.com/opnfv/promise.git
- cd promise
- npm install
-
-Please note that the last command 'npm install' will install all needed dependencies
-for promise (including yangforge and mocha)
-
-.. figure:: images/screenshot_promise_install.png
- :name: figure1
- :width: 90%
-
-
-Validation
-----------
-Please perform the following preparation steps:
-
-1. Set OpenStack environment parameters properly (e.g. source openrc admin demo
- in DevStack)
-2. Create OpenStack tenant (e.g. promise) and tenant user (e.g. promiser)
-3. Create a flavor in Nova with 1 vCPU and 512 MB RAM
-4. Create a private network, subnet and router in Neutron
-5. Create an image in Glance
-
-Once done, the promise test script can be invoked as follows (as a single line
-command):
-
-.. code-block:: bash
-
- NODE_ENV=mytest \
- OS_TENANT_NAME=promise \
- OS_USERNAME=promiser \
- OS_PASSWORD=<user password from Step 2> \
- OS_TEST_FLAVOR=<flavor ID from Step 3> \
- OS_TEST_NETWORK=<network ID from Step 4> \
- OS_TEST_IMAGE=<image ID from Step 5> \
- npm run -s test -- --reporter json > promise-results.json
-
-The results of the tests will be stored in the promise-results.json file.
-
-The results can also be seen in the console ("npm run -s test")
-
-.. figure:: images/screenshot_promise.png
- :name: figure2
- :width: 90%
-
-All 33 tests passing?!
-Congratulations, promise has been successfully installed and configured.