Exemple #1
0
    def setup_class(cls):
        super(TestVolumeSnapshotRequests, cls).setup_class()

        cls.vhelper = VolumeHelper(cls.utils)
        cls.shelper = VolumeSnapshotHelper(cls.utils)

        # remove snapshots and volumes to relieve storage
        cls.utils.cleanup_objects(cls.shelper.delete_snapshot, 'snapshots')
        cls.utils.cleanup_objects(cls.vhelper.delete_volume, 'volumes', name_key='displayName')
Exemple #2
0
    def setup_class(cls):
        super(TestVolumes, cls).setup_class()
        cls.vhelper = VolumeHelper(cls.utils)
        cls.vshelper = VolumeSnapshotHelper(cls.utils)
        cls.imagehelper = ImageHelper(cls.utils)
        cls.ihelper = InstanceHelper(cls.utils, cls.rest_auth)

        cls.utils.cleanup_objects(cls.vhelper.delete_volume,
                                  'volumes',
                                  name_key='displayName')
Exemple #3
0
    def setup_class(cls):
        super(TestVolumeRequests, cls).setup_class()

        cls.vhelper = VolumeHelper(cls.utils)
        cls.ihelper = InstanceHelper(cls.utils, cls.auth)
        cls.shelper = VolumeSnapshotHelper(cls.utils)

        # remove objects to relieve storage
        cls.utils.cleanup_objects(cls.ihelper.terminate_instances,
                                  'instances',
                                  id_key='instanceId')
        cls.utils.cleanup_objects(cls.shelper.delete_snapshot, 'snapshots')
        cls.utils.cleanup_objects(cls.vhelper.delete_volume,
                                  'volumes',
                                  name_key='displayName')
    def setup_class(cls):
        super(TestVolumeSnapshots, cls).setup_class()
        cls.vhelper = VolumeHelper(cls.utils)
        cls.vshelper = VolumeSnapshotHelper(cls.utils)

        cls.utils.cleanup_objects(cls.vshelper.delete_snapshot, 'snapshots')