Revision d7185512
b/qa/qa-sample.json | ||
---|---|---|
209 | 209 |
"instance-rename": true, |
210 | 210 |
"instance-shutdown": true, |
211 | 211 |
"instance-device-names": true, |
212 |
"instance-device-hotplug": false, |
|
212 | 213 |
|
213 | 214 |
"job-list": true, |
214 | 215 |
|
b/qa/qa_instance.py | ||
---|---|---|
680 | 680 |
["-H", "%s=acn" % constants.HV_BOOT_ORDER], |
681 | 681 |
["-H", "%s=%s" % (constants.HV_BOOT_ORDER, constants.VALUE_DEFAULT)], |
682 | 682 |
]) |
683 |
elif default_hv == constants.HT_KVM and \ |
|
684 |
qa_config.TestEnabled("instance-device-hotplug"): |
|
685 |
args.extend([ |
|
686 |
["--net", "-1:add", "--hotplug"], |
|
687 |
["--net", "-1:modify,mac=aa:bb:cc:dd:ee:ff", "--hotplug"], |
|
688 |
["--net", "-1:remove", "--hotplug"], |
|
689 |
["--disk", "-1:add,size=1G", "--hotplug"], |
|
690 |
["--disk", "-1:remove", "--hotplug"], |
|
691 |
]) |
|
683 | 692 |
|
684 | 693 |
for alist in args: |
685 | 694 |
AssertCommand(["gnt-instance", "modify"] + alist + [instance.name]) |
Also available in: Unified diff