Marc De Leenheer
Committed by Gerrit Code Review

Method for getting port name

Change-Id: I0c8804835242dcbdbbf1595fa3c177cdf9809b6a
......@@ -111,6 +111,15 @@ public final class PortNumber {
return number;
}
/**
* Returns the backing string value.
*
* @return port name as string value
*/
public String name() {
return name;
}
private String decodeLogicalPort() {
if (number == CONTROLLER_NUMBER) {
return "CONTROLLER";
......