Update QA tests to check disk and NIC names
authorChristos Stavrakakis <cstavr@grnet.gr>
Thu, 4 Apr 2013 08:51:16 +0000 (11:51 +0300)
committerHelga Velroyen <helgav@google.com>
Wed, 17 Apr 2013 16:04:54 +0000 (18:04 +0200)
commit090128b64cb16607a6d4c054b04fd6a3b310198c
tree0908100203ba57fa85b1275453b918cbeb7593b6
parent4e4433e8989222fb4b0fbfa2baef727496dde5ca
Update QA tests to check disk and NIC names

Modify existing tests to use the name option for instance disks. The
configuration options 'disk' and 'disk-growth' are merged into a single
'disks' option, which is a list of dictionaries with 'size', 'growth' and
'name' items.

Also, add 'instance-device-names' QA test, which tests addition, renaming
and removal of named devices.

Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Reviewed-by: Helga Velroyen <helgav@google.com>
qa/ganeti-qa.py
qa/qa-sample.json
qa/qa_cluster.py
qa/qa_config.py
qa/qa_instance.py
qa/qa_rapi.py
test/data/qa-minimal-nodes-instances-only.json
test/py/qa.qa_config_unittest.py