dell_storagecenter_driver/dell_storagecenter_api.py
def _find_fc_initiators(self, scserver):
        """Returns a list of FC WWNs associated with the specified Dell server.

        :param scserver: The Dell backend server object.
        :returns: A list of FC WWNs associated with this server.
        """
        initiators = []
        r = self.client.get('StorageCenter/ScServer/%s/HbaList'
                            % self._get_id(scserver))
        if self._check_result(r):
            hbas = self._get_json(r)
            for hba in hbas:
                wwn = hba.get('instanceName')
                if (hba.get('portType') == 'FibreChannel' and
                        wwn is not None):
                    initiators.append(wwn)
        else:
            LOG.debug('HbaList error: %(code)d %(reason)s',
                      {'code': r.status_code,
                       'reason': r.reason})
            LOG.error('Unable to find FC initiators')
        LOG.debug(initiators)
        return initiators
Returns a list of FC WWNs associated with the specified Dell server.

        :param scserver: The Dell backend server object.
        :returns: A list of FC WWNs associated with this server.
        
Returns a list of FC WWNs associated with the specified Dell server.
Returns a list of FC WWNs associated with the specified Dell server .
def _find_fc_initiators(self, scserver):
        initiators = []
        r = self.client.get('StorageCenter/ScServer/%s/HbaList'
                            % self._get_id(scserver))
        if self._check_result(r):
            hbas = self._get_json(r)
            for hba in hbas:
                wwn = hba.get('instanceName')
                if (hba.get('portType') == 'FibreChannel' and
                        wwn is not None):
                    initiators.append(wwn)
        else:
            LOG.debug('HbaList error: %(code)d %(reason)s',
                      {'code': r.status_code,
                       'reason': r.reason})
            LOG.error('Unable to find FC initiators')
        LOG.debug(initiators)
        return initiators
def _find_fc_initiators ( self , scserver ) : initiators = [ ] r = self . client . get ( 'StorageCenter/ScServer/%s/HbaList' % self . _get_id ( scserver ) ) if self . _check_result ( r ) : hbas = self . _get_json ( r ) for hba in hbas : wwn = hba . get ( 'instanceName' ) if ( hba . get ( 'portType' ) == 'FibreChannel' and wwn is not None ) : initiators . append ( wwn ) else : LOG . debug ( 'HbaList error: %(code)d %(reason)s' , { 'code' : r . status_code , 'reason' : r . reason } ) LOG . error ( 'Unable to find FC initiators' ) LOG . debug ( initiators ) return initiators
Returns a list of FC WWNs associated with the specified Dell server.
Returns a list of FC WWNs associated with the specified Dell server .
"""Returns a list of FC WWNs associated with the specified Dell server.

        :param scserver: The Dell backend server object.
        :returns: A list of FC WWNs associated with this server.
        """
A list of FC WWNs associated with this server.
A list of FC WWNs associated with this server .
self
scserver
The Dell backend server object.
The Dell backend server object .