def hosting_devices_removed(self, context, payload):
        """Deal with hosting device removed RPC message."""
        try:
            if payload['hosting_data']:
                if payload['hosting_data'].keys():
                    self.process_services(removed_devices_info=payload)
        except __HOLE__ as e:
            LOG.error(_LE("Invalid payload format for received RPC message "
                          "`hosting_devices_removed`. Error is %(error)s. "
                          "Payload is %(payload)s"), {'error': e,
                                                      'payload': payload})
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/cfg_agent.py/CiscoCfgAgent.hosting_devices_removed