X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fuserguide%2Fdoctor_scenario_in_functest.rst;h=b36937e78cc6d01bf3a76144f60adda57633bd07;hb=90fbee2fe617858c8b2ba18217bdc0303272061e;hp=3a4357062ef968b77966245957d80e3749b1f89b;hpb=4a1d0e285755afc6ae7b441c935d70617ec90ac3;p=doctor.git 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.