The detail is described in a paper, "Layer-3 Multipathing in Commodity-based Data Center Networks", In proceedings of the 18th IEEE Global Internet Symposium 2015, Hong Kong, April 2015.
Simulation codes (using ns-3-dce) are contained in benchmark directroy.