might happen in stages.
Until Brexit, theres no way the north would vote for reunification. Now, with EU membership on the line, I dont know. Either way, if they voted for reunification, I'd imagine the Republic would have to vote to decide what to do.
I would cut off Ulster from the Irish mainland and let it float out to see where they can govern themselves, would be a good opportunity to get rid of Cavan in the process