watchdog.cfg 2.5 KB
Newer Older
1
- watchdog: install setup image_copy unattended_install.cdrom
2
    no RHEL.3, Windows
3 4
    enable_watchdog = yes
    start_vm = no
5
    type = watchdog
6 7 8
    variants:
        -i6300esb:
            no RHEL.4
9
            no s390x
10 11 12
            watchdog_device_type = i6300esb
            dmesg_info = "i6300ESB.*init"
        -ib700:
13
            no RHEL.5
14
            only i386 x86_64
15 16
            watchdog_device_type = ib700
            dmesg_info = "ib700wdt.*init"
17 18 19 20
        -diag288:
            only s390x
            watchdog_device_type = diag288
            module_check_cmd = "lsmod | grep diag288"
21 22 23 24 25 26 27 28 29 30 31 32
    variants:
        - boot_with_watchdog:
            test_type = guest_boot_with_watchdog
        - magic_close:
            test_type = magic_close_support
        - watchdog_action:
            test_type = watchdog_action_test
            variants:
                - reboot_guest:
                    watchdog_action = reset
                - shutdown_guest:
                    watchdog_action = shutdown
33 34
                    Linux:
                        setup_runlevel = yes
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
                - pause_guest:
                    watchdog_action = pause
                - noaction:
                    watchdog_action = none
                - debug:
                    watchdog_action = debug
                - poweroff:
                    watchdog_action = poweroff
        - migration_when_wdt_timeout:
            test_type = migration_when_wdt_timeout
            variants:
                - reboot_guest:
                    watchdog_action = reset
                - pause:
                    watchdog_action = pause
            variants:
                - @tcp:
                    mig_protocol = tcp
53 54 55 56
                - x_rdma:
                    mig_protocol = x-rdma
                - rdma:
                    mig_protocol = rdma
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
        - hotplug_unplug_watchdog_device:
             only i6300esb
             no RHEL.4 RHEL.5
             del watchdog_device_type
             plug_watchdog_device = i6300esb
             watchdog_action = pause
             test_type = hotplug_unplug_watchdog_device
        - stop_cont_test:
             test_type = stop_cont_test
             trigger_cmd = `command -v python python3 | head -1` -c "open('/dev/watchdog', 'w').close()"
             watchdog_action = debug
             response_timeout = 40
        - watchdog_test_suit:
             test_type = watchdog_test_suit
             watchdog_action = pause
             watchdog_test_lib = "watchdog/watchdog-test-framework"