'Returns list of filer volumes in API format.'

def get_filer_volumes(self, volume=None):

    vol_request = netapp_api.NaElement('volume-list-info')
    res = self.connection.invoke_successfully(vol_request, True)
    volumes = res.get_child_by_name('volumes')
    if volumes:
        return volumes.get_children()
    return []
