From 1b54e075dae0a5861010f99f306a254d749d7f8d Mon Sep 17 00:00:00 2001 From: Bertrand Souville Date: Wed, 24 Aug 2016 11:06:12 +0200 Subject: Proposal to delete configguide directory (featureconfig and images moved to user guide) and platformoverview directory (no content) Change-Id: Iafea58ca822aa0ada9371e39b495aad7abe544b7 Signed-off-by: Bertrand Souville (cherry picked from commit 5c9de76a234e3cc115badece4ee7d8edcf048962) --- docs/configguide/featureconfig.rst | 58 -------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 docs/configguide/featureconfig.rst (limited to 'docs/configguide/featureconfig.rst') diff --git a/docs/configguide/featureconfig.rst b/docs/configguide/featureconfig.rst deleted file mode 100644 index 9ad61d4..0000000 --- a/docs/configguide/featureconfig.rst +++ /dev/null @@ -1,58 +0,0 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. http://creativecommons.org/licenses/by/4.0 - -Promise Feature Configuration Overview -====================================== - -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) - -Testing -------- -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= \ - OS_TEST_FLAVOR= \ - OS_TEST_NETWORK= \ - OS_TEST_IMAGE= \ - 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: figure1 - :width: 90% - -All 33 tests passing?! -Congratulations, promise has been successfully installed and configured. -- cgit 1.2.3-korg