python3 check.py s1: 10.0.1.1 x1, 10.0.2.2 x1, 10.0.3.3 x2, 10.0.4.4 x2 s2: 10.0.1.1 x2, 10.0.2.2 x2, 10.0.3.3 x1, 10.0.4.4 x1 s3: 10.0.1.1 x1, 10.0.2.2 x1, 10.0.3.3 x1, 10.0.4.4 x1 s4: 10.0.1.1 x1, 10.0.2.2 x1, 10.0.3.3 x1, 10.0.4.4 x1 PASS ecmp_next_hops() gives the expected groups PASS every host reaches every other host PASS paths are shortest PASS many flows use both spines PASS one flow stays on one path 5 passed, 0 failed *** Error setting resource limits. Mininet's performance may be affected.