class CumulusTorSwitchService implements ISwitchService {

    @Override
    public PortStatus getSwitchPortStatus( SwitchNode switchNode, String portName )
    {
        SwitchPort port = getSwitchPort( switchNode, portName );
        return ( ( port != null ) ? port.getStatus() : null );
    }

}