samilliken/openDCIM — pull request #474 by m0zes (2014-06-23 18:09:53+00:00)
Title: getFirstPort needs to handle more port name styles

Not all switches export port names with '/' in them (BNT and Cumulus Linux switches are a couple examples). Removing the regex at least gives the user full visibility to choose the first port. perhaps the regex could be made a configurable option at some point.