// Create the links between the switches
// (Switch 4 output port 3) --> (Switch 1 input port 1)
// (Switch 3 output port 3) --> (Switch 1 input port 1)
// (Switch 2 output port 3) --> (Switch 1 input port 1)
Map<Link, LinkInfo> links = new HashMap<Link, LinkInfo>();
Link link = new Link(2L, (short) 3, 1L, (short) 1);
Link link2 = new Link(3L, (short) 3, 1L, (short) 1);
Link link3 = new Link(4L, (short) 3, 1L, (short) 1);
LinkInfo linkinfo = null;
links.put(link, linkinfo);
links.put(link2, linkinfo);
links.put(link3, linkinfo);