brandonheller/ripl — pull request #1 by nikhilh (2012-07-25 22:35:42+00:00)
Title: Small addition to the port() function of FatTreeTopo

The port() function assumes that each node has a "layer" attribute. This addition is a sanity check at the beginning of the function that checks for this attribute, and if the attribute is absent, returns the result of the superclass's port() function.