From: dongwenjuan Date: Tue, 2 Aug 2016 03:42:23 +0000 (+0800) Subject: fix the description of Doctor Scenario X-Git-Tag: colorado.1.0~35 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F17893%2F3;p=doctor.git fix the description of Doctor Scenario fix the description of Doctor Scenario in Functest Change-Id: If5b128c9ff395c5a939610419937e1e7e47b2654 Signed-off-by: dongwenjuan --- diff --git a/docs/userguide/doctor_scenario_in_functest.rst b/docs/userguide/doctor_scenario_in_functest.rst index 3a435706..b36937e7 100644 --- a/docs/userguide/doctor_scenario_in_functest.rst +++ b/docs/userguide/doctor_scenario_in_functest.rst @@ -94,18 +94,20 @@ Test case Functest will call the "run.sh" script in Doctor to run the test job. +Currently, only 'Apex' and 'local' installer are supported. + The "run.sh" script will execute the following steps. -Firstly, verify connectivity to target compute host according to different -installer and prepare image for booting VM. Currently, only 'Apex' and -'local' installer are supported. +Firstly, prepare image for booting VM, then create a test project and test +user (both default to doctor) for the Doctor tests. -Secondly, the Doctor components are started, and, based on the above -preparation, a test user (default as demo) will be created for the Doctor -tests. +Secondly, boot a VM under the doctor project and check the VM status to verify +that the VM is launched completely. Then get the compute host info where the VM +is launched to verify connectivity to the target compute host. Get the consumer +ip according to the route to compute ip and create an alarm event in Ceilometer +using the consumer ip. -Thirdly, the VM is booted, and an alarm event is created in Ceilometer. -After sleeping for 1 minute in order to wait for the VM launch to complete, +Thirdly, the Doctor components are started, and, based on the above preparation, a failure is injected to the system, i.e. the network of compute host is disabled for 3 minutes. To ensure the host is down, the status of the host will be checked.