The strike at Toyota's Durban plant has ended after management and workers agreed on a 5.7% pay rise, according to the National Union of Metalworkers of South Africa.