InfiniBand Test Specification  1.0.38
Public Member Functions | Protected Member Functions | List of all members
C14_024_13_1

Inherits MadTest.

Public Member Functions

 C14_024_13_1 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.16.1 SMINFO TEST FOR SUPPORTED ATTRIBUTE - PART 1

24.1.5.16 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - SMINFO

Abstract: This test performs checks of SMInfo attribute and components.

Coverage: v1c13-024, v1c14-024.1.1, v1c14-027

Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 2X, 4X, 8X, or 12X; Speed=SDR, DDR, QDR, FDR, EDR, HDR; DUT=SM

DUT Qualifiers: None, unless specified in algorithm section.

Notes:

  1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.

Test Case Description

◆ C14_024_13_1()

24.1.5.16.1 SMINFO TEST FOR SUPPORTED ATTRIBUTE - PART 1

Assertions: v1c13-024#01 (cont), v1c14-024.1.1#13.01, v1c14-024.1.1#13.02, v1c14-027#01

Notes:

  1. During the proceding TD the DUT is assumed to support SMInfo.
  2. The DUT is assumed to incorporate a running SM capability.
  3. The DUT is assumed to be the only running SM in the test. That is to insure its LID is configured as MasterSMLID in the fabric.
  4. Variable MASTER_SM_LID of type integer.
  5. Variable PORT_INFO_CAP_MSK of type Integer.
  6. Variable PORT_GUID of type Integer.
  7. SMP_DATA, SMP_DATA1 are variables of type MadPacketSpec

Developer: Kevin King

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

  1. PortInfo:PortState is initialized to ACTIVE for both MADTester and DUT.

◆ execute()

boolean execute ( ) throws TestException

Test Procedure:

  1. SendMad (SubnGet(PortInfo) )

  2. SMP_DATA = ReceiveMad (SubnGetResp(PortInfo):MasterSMLID)

  3. Verify ( MASTER_SM_LID != 0)

  4. SendMad (SubnGet(PortInfo) )

  5. PORT_INFO_CAP_MSK = ReceiveMad (SubnGetResp(PortInfo):CapabilityMask)

  6. Verify ((PORT_INFO_CAP_MSK.IsSM == 1) AND (PORT_INFO_CAP_MSK.IsSMdisabled == 0)) // v1c14-024.1.1#13.01

    • Remark: SMInfo is supported on this node port , if SMInfo is not supported then exit the test.

  7. SendMad (SubnGet(NodeInfo) )

  8. PORT_GUID = ReceiveMad (SubnGetResp(NodeInfo):PortGUID)

  9. SendMad (SubnGet(SMInfo))

  10. SMP_DATA = ReceiveMad (SubnGetResp(SMInfo)) // v1c14-024.1.1#13.01

  11. Verify SMP_DATA format: // v1c14-024.1.1#13.02

    • MADHeader:AttributeID == SMInfo // v1c14-024.1.1#13.01
    • MADHeader:TransactionID - same as was sent by request // v1c14-031#01
    • MADHeader:Status.code == 0 // v1c13-024#01
    • SMP_DATA.SMInfo:GUID == PORT_GUID


The documentation for this class was generated from the following file: