def _report_state(self):
        try:
            self.state_rpc.report_state(
                self.context,
                self.agent_state,
                use_call=self.agent_state.get('start_flag'))
        except __HOLE__:
            # This means the server does not support report_state
            LOG.warning(_LW('Neutron server does not support state report.'
                            ' State report for this agent will be disabled.'))
            self.heartbeat.stop()
            return
        except Exception:
            LOG.exception(_LE("Failed reporting state!"))
            return
        self.agent_state.pop('start_flag', None)
dataset/ETHPy150Open openstack/neutron/neutron/agent/metadata/agent.py/UnixDomainMetadataProxy._report_state