map switch ports to machines