dell_storagecenter_driver/dell_storagecenter_api.py
def _find_controller_port(self, cportid):
        """Finds the SC controller port object for the specified cportid.

        :param cportid: The instanceID of the Dell backend controller port.
        :returns: The controller port object.
        """
        controllerport = None
        r = self.client.get('StorageCenter/ScControllerPort/%s'
                            % cportid)
        if self._check_result(r):
            controllerport = self._first_result(r)
        else:
            LOG.debug('ScControllerPort error: %(code)d %(reason)s',
                      {'code': r.status_code,
                       'reason': r.reason})
            LOG.error('Unable to find controller port: %s',
                      cportid)
        LOG.debug(controllerport)
        return controllerport
Finds the SC controller port object for the specified cportid.

        :param cportid: The instanceID of the Dell backend controller port.
        :returns: The controller port object.
        
Finds the SC controller port object for the specified cportid.
Finds the SC controller port object for the specified cportid .
def _find_controller_port(self, cportid):
        controllerport = None
        r = self.client.get('StorageCenter/ScControllerPort/%s'
                            % cportid)
        if self._check_result(r):
            controllerport = self._first_result(r)
        else:
            LOG.debug('ScControllerPort error: %(code)d %(reason)s',
                      {'code': r.status_code,
                       'reason': r.reason})
            LOG.error('Unable to find controller port: %s',
                      cportid)
        LOG.debug(controllerport)
        return controllerport
def _find_controller_port ( self , cportid ) : controllerport = None r = self . client . get ( 'StorageCenter/ScControllerPort/%s' % cportid ) if self . _check_result ( r ) : controllerport = self . _first_result ( r ) else : LOG . debug ( 'ScControllerPort error: %(code)d %(reason)s' , { 'code' : r . status_code , 'reason' : r . reason } ) LOG . error ( 'Unable to find controller port: %s' , cportid ) LOG . debug ( controllerport ) return controllerport
Finds the SC controller port object for the specified cportid.
Finds the SC controller port object for the specified cportid .
"""Finds the SC controller port object for the specified cportid.

        :param cportid: The instanceID of the Dell backend controller port.
        :returns: The controller port object.
        """
The controller port object.
The controller port object .
self
cportid
The instanceID of the Dell backend controller port.
The instanceID of the Dell backend controller port .