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

Intercloud and interoperability                                     5


            II.1.8   Test case: VM template

            Table II.8 shows the test case for VM template.


                                             Table II.8 – Test case: VM template

                                                VM template test description
             Test purpose          To verify that the CSC creates VMs by VM template, including open virtualization format
                                   (OVF).
             Reference             [ITU-T Y.3513] clause 7.1.11
             Test sequence   Step      Type                          Description                      Result
                            1      Stimulus      The CSC creates a VM template by exporting a VM as VM
                                                 template in OVF format.
                            2      Check         The exported VM template conforms to the format of OVF.
                            3      Stimulus      The CSC imports the VM template to create a new VM.
                            4      Check         The configuration and data of the new VM created in step 3
                                                 are consistent with the VM template.
                            5      Stimulus      The CSC updates the VM template by modifying the VM
                                                 template's name.
                            6      Check         The name of VM template changes to a specified name.
                            7      Stimulus      The CSC deletes the VM template.
                            8      Check         The VM created which is based on the VM template still
                                                 exists.
             Test verdict   It is deemed as successfully terminated if all the checks are successful, otherwise it is
                            deemed as failed.
            II.1.9   Test case: VM scaling

            Table II.9 shows the test case for VM scaling.


                                              Table II.9 – Test case: VM scaling

                                                 VM scaling test description
             Test purpose          To verify that the CSC changes the scale of VMs dynamically based on the scaling policies
                                   and monitored events of the VM; this includes configuration change (e.g., CPU, memory,
                                   network bandwidth increased or decreased) and components change (new VM added or
                                   removed).
             Reference             [ITU-T Y.3513] clause 7.1.4
             Test sequence   Step      Type                          Description                      Result
                            1      Stimulus      The CSC configures VM A; checks the VM status, such as CPU,
                                                 memory resources allocation and its components.
                            2      Stimulus      The CSC configures the configuration change based scaling
                                                 policy that when memory consumed is more than 90%,
                                                 it allocates twice the memory for VM A automatically.
                            3      Stimulus      The CSC runs an application on VM A to perform more than
                                                 90% consumption of memory on VM A to trigger auto-
                                                 scaling.
                            4      Check         VM A is allocated with twice as much memory as before.
                            5      Stimulus      The CSC configures the components change based scaling
                                                 policy that when the CPU has consumed more than 90%, add
                                                 a new VM with the same resource configuration as VM A
                                                 automatically.



                                                                                                         893
   896   897   898   899   900   901   902   903   904   905   906