diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-29 17:20:22 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-29 17:20:22 +0100 |
commit | 1b268ef0cbf5324dffcd5c23ca2c36549ee2833a (patch) | |
tree | 1ce92de37a6e18cb3a836299088a14e4c2188fdb /docs/userguide | |
parent | ca4ab3711fcc87f9f7c722008b81e3cffea782c2 (diff) |
Add promise section from patch 8361 of Gerald
Change-Id: I106239377020cedafa64ba58cbc765fd9dab7d61
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'docs/userguide')
-rw-r--r-- | docs/userguide/index.rst | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/docs/userguide/index.rst b/docs/userguide/index.rst index 8cd09ae9..ba20507b 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 |