def _get_smart_storage_config_by_controller_model(self, controller_model):
        """Returns a SmartStorageConfig Instance for controller by model.

        :returns: SmartStorageConfig Instance for controller
        """
        ac = self.smart_storage.array_controllers.array_controller_by_model(
            controller_model)
        if ac:
            for ssc_id in self.smart_storage_config_identities:
                ssc_obj = self.get_smart_storage_config(ssc_id)
                if ac.location == ssc_obj.location:
                    return ssc_obj
def _get_smart_storage_config_by_controller_model ( self , controller_model ) : ac = self . smart_storage . array_controllers . array_controller_by_model ( controller_model ) if ac : for ssc_id in self . smart_storage_config_identities : ssc_obj = self . get_smart_storage_config ( ssc_id ) if ac . location == ssc_obj . location : return ssc_obj
Returns a SmartStorageConfig Instance for controller by model.

        :returns: SmartStorageConfig Instance for controller