summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-29 17:20:22 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-29 16:22:21 +0000
commit70fb6474d27416b1ad40d58c78c7dde83f19d19a (patch)
tree1ce92de37a6e18cb3a836299088a14e4c2188fdb
parent55bdf2fd275aaf64ff61da7f806db7aaab3f0828 (diff)
Add promise section from patch 8361 of Gerald
Change-Id: I106239377020cedafa64ba58cbc765fd9dab7d61 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1b268ef0cbf5324dffcd5c23ca2c36549ee2833a)
-rw-r--r--docs/userguide/index.rst48
1 files changed, 47 insertions, 1 deletions
diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst
index 8cd09ae9b..ba20507b1 100644
--- a/docs/userguide/index.rst
+++ b/docs/userguide/index.rst
@@ -368,7 +368,53 @@ essential functions needed for a NFV system.
Promise
^^^^^^^
-TODO promise
+Promise provides a basic set of test cases as part of Brahmaputra.
+
+The available 33 test cases can be grouped into 7 test suites:
+
+ #. Add a new OpenStack provider into resource pool: Registers
+ OpenStack into a new resource pool and adds more capacity associated
+ with this pool.
+
+ #. Allocation without reservation: Creates a new server in OpenStack
+ and adds a new allocation record in Promise shim-layer.
+
+ #. Allocation using reservation for immediate use: Creates a resource
+ reservation record with no start/end time and immediately creates a new
+ server in OpenStack and add a new allocation record in Promise
+ shim-layer.
+
+ #. Reservation for future use: Creates a resource reservation record
+ for a future start time, queries, modifies and cancels the newly created
+ reservation.
+
+ #. Capacity planning: Decreases and increases the available capacity
+ from a provider in the future and queries the available collections and
+ utilizations.
+
+ #. Reservation with conflict: Tries to create reservations for
+ immediate and future use with conflict.
+
+ #. Cleanup test allocations: Destroys all allocations in OpenStack.
+
+The test results are pushed into the LF test DB:
+ * Duration of the Promise test case
+ * Number of tests / failures
+
+The specific parameters for Promise can be found in config_functest.yaml and
+include::
+
+ promise:
+ general:
+ tenant_name: Name of the OpenStack tenant/project (e.g. promise)
+ tenant_description: Description of the OpenStack tenant (e.g. promise Functionality Testing)
+ user_name: Name of the user tenant (e.g. promiser)
+ user_pwd: Password of the user tenant (e.g. test)
+ image_name: Name of the software image (e.g. promise-img)
+ flavor_name: Name of the flavor (e.g. promise-flavor with 1 vCPU and 512 MB RAM)
+ flavor_vcpus: 1
+ flavor_ram: 512
+ flavor_disk: 0
Manual testing