Barry O'Farrell gets Indian diplomatic gig