The senior Liberal senator and former minister is set to retire from politics after a 17-year as a senator for South Australia.