Demand Routing and Slotting on Ring Networks