def agent_updated(self, context, payload):
        """Deal with agent updated RPC message."""
        try:
            if payload['admin_state_up']:
                #TODO(hareeshp): implement agent updated handling
                pass
        except __HOLE__ as e:
            LOG.error(_LE("Invalid payload format for received RPC message "
                          "`agent_updated`. 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.agent_updated