A scalable architecture for federated service chaining