def agent_updated(self, context, payload):
        try:
            if payload['admin_state_up']:
                #TODO(hareeshp): implement agent updated handling
                pass
        except KeyError 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})
Return a decorator that marks callables as deprecated.
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/cfg_agent.py/CiscoCfgAgent.agent_updated--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/deprecate.py/deprecated