'Deal with routers modification and creation RPC message.'

def routers_updated(self, context, routers):

    LOG.debug('Got    routers    updated    notification    :%s', routers)
    if routers:
        if isinstance(routers[0], dict):
            routers = [router['id'] for router in routers]
        for id in routers:
            update = queue.RouterUpdate(id, queue.PRIORITY_RPC)
            self._queue.add(update)
