The dynamics of a ring network with switched connections