@Test
public void testGetSwitchOsInfo()
{

    SwitchOsInfo osInfo = null;
    try
    {
        osInfo = cumulusTorSwitchService_Obj.getSwitchOsInfo( switchNode_Obj );
        assertNotNull( "OSInfo is null", osInfo );
        if ( osInfo != null )
        {
            logger.info( "[Device IP : " + switchNode_Obj.getIpAddress() + "] Found Switch OS information." );
            logger.info( "OS info: " );
            logger.info( "FirmwareName: " + osInfo.getFirmwareName() );
            logger.info( "FirmwareVersion: " + osInfo.getFirmwareVersion() );
            logger.info( "OsName: " + osInfo.getOsName() );
            logger.info( "OsVersion: " + osInfo.getOsVersion() );
            logger.info( "Class Name: " + osInfo.getClass().getName() );
            logger.info( "LastBootTime: " + osInfo.getLastBoot().toString() );
        }
    }
    catch ( Exception e )
    {
        logger.info( "Error while getting Switch OS information: " + e.toString() );
        if ( PRINT_STACK_TRACE )
            logger.debug( e.getStackTrace() );
        if ( FAIL_ON_EXCEPTION )
            fail();
    }
}