Software defined airborne network election algorithm considering controller failure