def update_hosting_device_status(self, context, host, status_info):
for status, hd_ids in six.iteritems(status_info):<EOL><INDENT>hd_spec = {'<STR_LIT>': {'<STR_LIT:status>': status}}<EOL>for hd_id in hd_ids:<EOL><INDENT>self._dmplugin.update_hosting_device(context, hd_id, hd_spec)<EOL><DEDENT>if status == const.HD_DEAD or status == const.HD_ERROR:<EOL><INDENT>self._dmplugin.handle_non_responding_hosting_devices(<EOL>context, host, hd_ids)<EOL><DEDENT><DEDENT>
Report status changes for hosting devices.

        :param context: contains user information
        :param host: originator of callback
        :param status_info: Dictionary with list of hosting device ids for
            each type of hosting device status to be updated i.e.::

                {
                    HD_ACTIVE: list_of_ids_of_active_hds,
                    HD_NOT_RESPONDING: list_of_ids_of_not_responding_hds,
                    HD_DEAD: list_of_ids_of_dead_hds,
                    ...
                }