X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/6d4a16569d3bb53641b77f1232689e15c7cf7a83..7ec2f76bf6519ad4a49f6049e5b49da71f4c2d4c:/qa/qa-sample.json diff --git a/qa/qa-sample.json b/qa/qa-sample.json index a150b37..9b96484 100644 --- a/qa/qa-sample.json +++ b/qa/qa-sample.json @@ -1,42 +1,99 @@ { + "# Note:": null, + "# This file is stored in the JSON format and does not support": null, + "# comments. As a work-around, comments are keys starting with a hash": null, + "# sign (#).": null, + "name": "xen-test", + + "# Name used for renaming cluster": null, "rename": "xen-test-rename", + "enabled-hypervisors": "xen-pvm", + "# Dict of hypervisor name and parameters (like on the cmd line)": null, + "hypervisor-parameters": {}, + "# Backend parameters (like on the cmd line)": null, + "backend-parameters": "", + "# Dict of OS name and parameters (like on the cmd line)": null, + "os-parameters": {}, + "# Dict of OS name and value dict of hypervisor parameters": null, + "os-hvp": {}, + "primary_ip_version": 4, + + "# Network interface for master role": null, + "#master-netdev": "xen-br0", + + "# Default network interface parameters": null, + "#default-nicparams": { + "mode": "bridged", + "link": "xen-br0", + }, "os": "debian-etch", - "mem": "512M", + "maxmem": "1024M", + "minmem": "512M", + + "# Instance policy specs": null, + "ispec_mem_size_max": 1024, + "ispec_disk_size_min": 512, "# Lists of disk sizes": null, "disk": ["1G", "512M"], "disk-growth": ["2G", "768M"], + "# Script to check instance status": null, + "instance-check": null, + + "# Regular expression to ignore existing tags": null, + "ignore-tags-re": null, + "nodes": [ { "# Master node": null, "primary": "xen-test-0", - "secondary": "192.168.1.1" + "secondary": "192.0.2.1" }, { "primary": "xen-test-1", - "secondary": "192.168.1.2" + "secondary": "192.0.2.2" } ], "instances": [ { - "name": "xen-test-inst1" + "name": "xen-test-inst1", + + "# Static MAC address": null, + "#nic.mac/0": "AA:00:00:11:11:11" }, { - "name": "xen-test-inst2" + "name": "xen-test-inst2", + + "# Static MAC address": null, + "#nic.mac/0": "AA:00:00:22:22:22" } ], + "groups": { + "group-with-nodes": "default", + "inexistent-groups": [ + "group1", + "group2", + "group3" + ] + }, + "tests": { + "# Whether tests are enabled or disabled by default": null, + "default": true, + "env": true, "os": true, "tags": true, "rapi": true, + "test-jobqueue": true, + "delay": true, "create-cluster": true, "cluster-verify": true, @@ -48,11 +105,26 @@ "cluster-renew-crypto": true, "cluster-destroy": true, "cluster-rename": true, + "cluster-reserved-lvs": true, + "cluster-modify": true, + "cluster-oob": true, + "cluster-epo": true, + "cluster-redist-conf": true, + "cluster-repair-disk-sizes": true, + + "haskell-confd": true, + "htools": true, + + "group-list": true, + "group-rwops": true, + "node-list": true, "node-info": true, "node-volumes": true, "node-readd": true, "node-storage": true, + "node-modify": true, + "node-oob": true, "# This test needs at least three nodes": null, "node-evacuate": false, @@ -62,30 +134,43 @@ "instance-add-plain-disk": true, "instance-add-drbd-disk": true, + "instance-convert-disk": true, + "instance-plain-rapi-common-tests": true, + "instance-remove-drbd-offline": true, - "instance-automatic-restart": false, - "instance-consecutive-failures": false, "instance-export": true, "instance-failover": true, + "instance-grow-disk": true, "instance-import": true, "instance-info": true, "instance-list": true, + "instance-migrate": true, "instance-modify": true, "instance-reboot": true, "instance-reinstall": true, "instance-rename": true, "instance-shutdown": true, + "job-list": true, + + "# cron/ganeti-watcher should be disabled for these tests": null, + "instance-automatic-restart": false, + "instance-consecutive-failures": false, + "# This test might fail with certain hypervisor types, depending": null, "# on whether they support the `gnt-instance console' command.": null, "instance-console": false, - "# Disabled by default because it takes rather long": null, + "# Disabled by default because they take rather long": null, "instance-replace-disks": false, + "instance-recreate-disks": false, + + "# Whether to test the tools/move-instance utility": null, + "inter-cluster-instance-move": false, - "# Make sure not to include the disk(s) required for Dom0 to be": null, - "# included in the volume group used for instances. Otherwise": null, - "# whole system may stop working until restarted.": null, + "# Make sure not to include the disk(s) required for Dom0 to be up": null, + "# in the volume group used for instances. Otherwise the whole": null, + "# system may stop working until restarted.": null, "instance-disk-failure": false }, @@ -94,7 +179,10 @@ "burnin-disk-template": "drbd", "burnin-in-parallel": false, "burnin-check-instances": false, - "burnin-rename": "xen-test-rename" + "burnin-rename": "xen-test-rename", + "burnin-reboot": true, + "reboot-types": ["soft", "hard", "full"], + "use-iallocators": false }, "# vim: set syntax=javascript :": null