dell_storagecenter_driver/dell_storagecenter_api.py
def list_volumes(self):
        """Gets all volumes in our configured folder.

        :returns: All volumes present in the volume folder.
        """
        LOG.debug('Getting list of all volumes.')
        result = []

        # Make sure our volume folder is created.
        volume_folder = self._find_volume_folder(create=True)
        if not volume_folder:
            LOG.error("Error getting configured volume folder.")
            return result

        # Query the array for all volumes in the folder
        pf = self._get_payload_filter()
        pf.append('scSerialNumber', self.ssn)
        vfname = (self.vfname if self.vfname.endswith('/')
                  else self.vfname + '/')
        pf.append('volumeFolderPath', vfname)
        pf.append('inRecycleBin', False)
        r = self.client.post('StorageCenter/ScVolume/GetList',
                             pf.payload)
        if self._check_result(r):
            retval = self._get_json(r)
            if isinstance(retval, list):
                result = retval
            elif retval:
                result.append(retval)
        return result
Gets all volumes in our configured folder.

        :returns: All volumes present in the volume folder.
        
Gets all volumes in our configured folder.
Gets all volumes in our configured folder .
def list_volumes(self):
        LOG.debug('Getting list of all volumes.')
        result = []
        volume_folder = self._find_volume_folder(create=True)
        if not volume_folder:
            LOG.error("Error getting configured volume folder.")
            return result
        pf = self._get_payload_filter()
        pf.append('scSerialNumber', self.ssn)
        vfname = (self.vfname if self.vfname.endswith('/')
                  else self.vfname + '/')
        pf.append('volumeFolderPath', vfname)
        pf.append('inRecycleBin', False)
        r = self.client.post('StorageCenter/ScVolume/GetList',
                             pf.payload)
        if self._check_result(r):
            retval = self._get_json(r)
            if isinstance(retval, list):
                result = retval
            elif retval:
                result.append(retval)
        return result
def list_volumes ( self ) : LOG . debug ( 'Getting list of all volumes.' ) result = [ ] volume_folder = self . _find_volume_folder ( create = True ) if not volume_folder : LOG . error ( "Error getting configured volume folder." ) return result pf = self . _get_payload_filter ( ) pf . append ( 'scSerialNumber' , self . ssn ) vfname = ( self . vfname if self . vfname . endswith ( '/' ) else self . vfname + '/' ) pf . append ( 'volumeFolderPath' , vfname ) pf . append ( 'inRecycleBin' , False ) r = self . client . post ( 'StorageCenter/ScVolume/GetList' , pf . payload ) if self . _check_result ( r ) : retval = self . _get_json ( r ) if isinstance ( retval , list ) : result = retval elif retval : result . append ( retval ) return result
Gets all volumes in our configured folder.
Gets all volumes in our configured folder .
"""Gets all volumes in our configured folder.

        :returns: All volumes present in the volume folder.
        """ # Make sure our volume folder is created. # Query the array for all volumes in the folder
All volumes present in the volume folder.
All volumes present in the volume folder .
self