Page 900 - Cloud computing: From paradigm to operation
P. 900

5                                            Intercloud and interoperability


                                           Table II.6 – Test case: VM reservation

                                               VM reservation test description

             Test purpose          To verify that the CSC reserves available computing resources (CPU, memory) for a
                                   particular VM before it is initiated.
             Reference             [ITU-T Y.3513] clause 7.1.9
             Test sequence   Step      Type                          Description                      Result
                            1      Stimulus      The CSC configures VM reservation, which includes the
                                                 configuration of guaranteed minimum allocation of CPU and
                                                 memory for a specified VM, called VM A.
                            2      Stimulus      The CSC runs an application to perform heavy consumption
                                                 of CPU and memory on other VMs hosted in the same host
                                                 except for VM A. Consumption of CPU and memory is close
                                                 to the amount of the host computing resource.
                            3      Stimulus      The CSC performs heavy consumption of CPU and memory
                                                 on VM A.
                            4      Check         CPU and memory resources reserved for VM A are not
                                                 occupied by other VMs.

             Test verdict   It is deemed as successfully terminated if all the checks are successful, otherwise it is
                            deemed as failed.

            II.1.7   Test case: VM image
            Table II.7 shows the test case for VM image.


                                              Table II.7 – Test case: VM image

                                                  VM image test description

             Test purpose          To verify that the CSC creates a new VM by VM image, which consists of infrastructure
                                   configuration and CSP data, CSC data or both.
             Reference             [ITU-T Y.3513] clause 7.1.10
             Test sequence   Step      Type                          Description                      Result
                            1      Stimulus      The CSC creates an image, called image A. Image A is
                                                 converted from existing VM1.
                            2      Stimulus      The CSC creates a VM based on image A.
                            3      Check         New VM (VM2) can be created based on image A. The
                                                 configuration, CSP data and CSC data of new VMs are
                                                 consistent with VM1.
                            4      Stimulus      The CSC exports image A as exported image in different
                                                 supporting format, such as QCOW2, VMDK, etc.
                            5      Stimulus      The CSC imports the exported image as image B.
                            6      Stimulus      The CSC creates a VM based on image B.
                            7      Check         A new VM can be created based on image B. The
                                                 configuration, CSP data and CSC data of new VMs created
                                                 based on the VM image are consistent with the VM image.
                            8      Stimulus      The CSC updates image B by modifying the name of the
                                                 image.
                            9      Check         The name of the image changes to a specified name.
                            10     Stimulus      The CSC deletes image B.
                            11     Check         The VMs created which are based on image B still exist.
             Test verdict   It is deemed as successfully terminated if all the checks are successful, otherwise it is
                            deemed as failed.


            892
   895   896   897   898   899   900   901   902   903   904   905