Previous topic

The cinder.tests.test_netapp_nfs Module

Next topic

The cinder.tests.test_nfs Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.tests.test_nexenta Module

Unit tests for OpenStack Cinder volume driver

class TestNexentaDriver(method)

Bases: cinder.test.TestCase

TEST_SNAPSHOT_NAME = 'snapshot1'
TEST_SNAPSHOT_REF = {'name': 'snapshot1', 'volume_name': 'volume1'}
TEST_VOLUME_NAME = 'volume1'
TEST_VOLUME_NAME2 = 'volume2'
TEST_VOLUME_REF = {'name': 'volume1', 'size': 1}
TEST_VOLUME_REF2 = {'name': 'volume2', 'size': 1}
i = 4
setUp()
test_create_export()
test_create_export_fail_0()
test_create_export_fail_1()
test_create_export_fail_2()
test_create_export_fail_3()
test_create_export_fail_4()
test_create_snapshot()
test_create_volume()
test_create_volume_from_snapshot()
test_delete_snapshot()
test_delete_volume()
test_ensure_export()
test_local_path()
test_remove_export()
test_remove_export_fail_0()
test_remove_export_fail_1()
test_setup_error()
test_setup_error_fail()
class TestNexentaJSONRPC(methodName='runTest')

Bases: cinder.test.TestCase

HEADERS = {'Content-Type': 'application/json', 'Authorization': 'Basic dXNlcjpwYXNzd29yZA=='}
PASSWORD = 'password'
REQUEST = 'the request'
URL = 'http://example.com/'
URL_S = 'https://example.com/'
USER = 'user'
setUp()
test_call()
test_call_auto()
test_call_deep()
test_call_error()
test_call_fail()