Use template for ip-routes and parameterize it with routes array