1. A method comprising: defining link used variables for links related to an interconnection fabric representative of whether a link is used for handling flows between a plurality of hosts and devices; defining constraints for links; defining a constraint for maximum hop count; defining an objective function; and determining connections as a function of the definitions by use of an integer programming solver.