aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/config_aarch64_patch.yaml
blob: a87fe25be9ecb4fa6e49ea26ffa07e7713990809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
os:
    general:
        openstack:
            image_name: TestVM
            image_file_name: cirros-d161201-aarch64-disk.img
            image_password: gocubsgo
            extra_properties:
                hw_firmware_type: 'uefi'
                hw_video_model: 'vga'
                short_id: 'ubuntu16.04'
    snaps:
        images:
            glance_tests:
                disk_file:
                    /home/opnfv/functest/images/cirros-d161201-aarch64-disk.img
                extra_properties:
                    hw_firmware_type: 'uefi'
                    short_id: 'ubuntu16.04'
                    hw_video_model: 'vga'
            cirros:
                disk_file:
                    /home/opnfv/functest/images/cirros-d161201-aarch64-disk.img
                extra_properties:
                    hw_firmware_type: 'uefi'
                    short_id: 'ubuntu16.04'
                    hw_video_model: 'vga'
            ubuntu:
                disk_file:
                    /home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-arm64-uefi1.img
                extra_properties:
                    hw_firmware_type: 'uefi'
                    hw_video_model: 'vga'
            centos:
                disk_file:
                    /home/opnfv/functest/images/CentOS-7-aarch64-GenericCloud.qcow2
                extra_properties:
                    hw_firmware_type: 'uefi'
                    hw_video_model: 'vga'

    vping:
        image_name: TestVM

    tempest:
        use_custom_flavors: 'True'

    odl_sfc:
        image_base_url: "http://artifacts.opnfv.org/sfc/demo"
        image_name: sfc_nsh_danube
        image_file_name: sf_nsh_danube_arm64.img
        image_initrd: sf_nsh_danube_arm64-initrd
        image_kernel: sf_nsh_danube_arm64-kernel
        image_format: ami
        os_cmd_line: 'root=LABEL=cloudimg-rootfs ro'
    doctor:
        image_name: TestVM
class="nv">vm1_name} ${port_ids} userdata=${userdata1} Set Suite Variable ${vm1_id} ${result} Wait for VM1 to be active Should Be True $vm1_id is not $None Poll vm ${vm1_id} active Create VM2 ${port_ids} = Create List ${port2_id} ${result} = Create vm ${vm2_name} ${port_ids} userdata=${userdata2} Set Suite Variable ${vm2_id} ${result} Wait for VM2 to be active Should Be True $vm2_id is not $None Poll vm ${vm2_id} active Check VM2 userdata ${result} = Check vm console ${vm2_id} PASSED Should Be True ${result} Modify policy Wait Until Keyword Succeeds 3x 3s create security rule ${SEC_GR_SERVER} ingress ipv4 proto=tcp port_min=80 port_max=80 Check VM2 userdata again ${result} = Check vm console ${vm2_id} curl_passed Should Be True ${result} *** Keywords *** Setup Suite Set Suite Variable ${network_id} ${None} Set Suite Variable ${subnet_id} ${None} Set Suite Variable ${port1_id} ${None} Set Suite Variable ${port2_id} ${None} Set Suite Variable ${vm1_id} ${None} Set Suite Variable ${vm2_id} ${None} Set Suite Variable ${SEC_GR_SERVER} ${None} Set Suite Variable ${SEC_GR_CLIENT} ${None} Ensure Image Ensure Flavor Teardown Suite Run Keyword If $vm1_id is not $None Delete vm ${vm1_id} Run Keyword If $vm2_id is not $None Delete vm ${vm2_id} Run Keyword If $port1_id is not $None Delete ports ${port1_id} Run Keyword If $port2_id is not $None Delete ports ${port2_id} Run Keyword If $network_id is not $None Delete network ${network_id} Run Keyword If $SEC_GR_SERVER is not $None delete security group ${SEC_GR_SERVER} Run Keyword If $SEC_GR_CLIENT is not $None delete security group ${SEC_GR_CLIENT}