# PowerFlex/ScaleIO storage plugin ================================== This directory contains the basic VM, Volume life cycle tests for PowerFlex/ScaleIO storage pool (in KVM hypervisor). # Running tests =============== To run the basic volume tests, first update the below test data of the CloudStack environment ```` TestData.zoneId: TestData.clusterId: TestData.domainId: TestData.url: TestData.primaryStorage "url": ```` and to enable and run volume migration tests, update the below test data ```` TestData.migrationTests: True TestData.primaryStorageSameInstance "url": TestData.primaryStorageDistinctInstance "url": ```` PowerFlex/ScaleIO storage pool url format: ```` powerflex://:@/ where, - : user name for API access - : url-encoded password for API access - : scaleio gateway host - : storage pool name (case sensitive) For example: "powerflex://admin:P%40ssword123@10.10.2.130/cspool" ```` Then run the tests using python unittest runner: nosetests ```` nosetests --with-marvin --marvin-config= /test/integration/plugins/scaleio/test_scaleio_volumes.py --zone= --hypervisor=kvm ```` You can also run these tests out of the box with PyDev or PyCharm or whatever.