Putting the system test code out on list for review/discussion. Will use github for the final code submission ...
The system1_test.rb follows the scenario outlines by the last document attached to http://mantis.dmtf.org/mantis/view.php?id=2004. Issues to be addressed: - There is no add operation for system templates (see DTACLOUD-530) so we have to use the template availble for the mock provider. Problem: a system created from template1 would not meet the requirements of the scenario which stipulates that the system must have two machines (with particular names) and a volume template. template1 has three machine and the volumes are inline. - afaict, creating a system using this template *does not* result in the machines being created and attached to the system. The system created contained only one machine. (I sent Marios the full output for debugging). Possibly an incorrect systemCreate xml passed - please comment if this is the case - Could not start the system - see DTACLOUD-539 .. therefore the test stops there and cannot continue to check machines and stop the system. - Question: would stopping the system be equivalent to deleting it? Should associated machine be deleted when the system is deleted?
