dell_storagecenter_driver/dell_storagecenter_blockdevice.py
def create_volume_with_profile(self, dataset_id, size, profile_name):
        """Create a new volume on the array.

        :param dataset_id: The Flocker dataset ID for the volume.
        :param size: The size of the new volume in bytes.
        :param profile_name: The name of the storage profile for
                             this volume.
        :return: A ``BlockDeviceVolume``
        """
        volume_name = u"%s" % dataset_id
        volume_size = self._bytes_to_gig(size)

        scvolume = None
        with self._client.open_connection() as api:
            try:
                scvolume = api.create_volume(volume_name,
                                             volume_size,
                                             profile_name)
            except Exception:
                LOG.exception('Error creating volume.')
                raise
        return self._to_blockdevicevolume(scvolume)
Create a new volume on the array.

        :param dataset_id: The Flocker dataset ID for the volume.
        :param size: The size of the new volume in bytes.
        :param profile_name: The name of the storage profile for
                             this volume.
        :return: A ``BlockDeviceVolume``
        
Create a new volume on the array.
Create a new volume on the array .
def create_volume_with_profile(self, dataset_id, size, profile_name):
        volume_name = u"%s" % dataset_id
        volume_size = self._bytes_to_gig(size)
        scvolume = None
        with self._client.open_connection() as api:
            try:
                scvolume = api.create_volume(volume_name,
                                             volume_size,
                                             profile_name)
            except Exception:
                LOG.exception('Error creating volume.')
                raise
        return self._to_blockdevicevolume(scvolume)
def create_volume_with_profile ( self , dataset_id , size , profile_name ) : volume_name = u"%s" % dataset_id volume_size = self . _bytes_to_gig ( size ) scvolume = None with self . _client . open_connection ( ) as api : try : scvolume = api . create_volume ( volume_name , volume_size , profile_name ) except Exception : LOG . exception ( 'Error creating volume.' ) raise return self . _to_blockdevicevolume ( scvolume )
Create a new volume on the array.
Create a new volume on the array .
"""Create a new volume on the array.

        :param dataset_id: The Flocker dataset ID for the volume.
        :param size: The size of the new volume in bytes.
        :param profile_name: The name of the storage profile for
                             this volume.
        :return: A ``BlockDeviceVolume``
        """
None
self
dataset_id
The Flocker dataset ID for the volume.
The Flocker dataset ID for the volume .
size
The size of the new volume in bytes.
The size of the new volume in bytes .
profile_name
The name of the storage profile for
this volume.
The name of the storage profile for this volume .