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

Inherits C14_024_04_SW.

Inherited by C14_024_04_SW_02, and C14_024_04_SW_03.

Protected Member Functions

void SubnSetRWFields (final String strField, final Field field, final long value) throws TestException
 
void SubnSetRWFields (final String strField, final Field field, final long value, int expectedStatus) throws TestException
 
boolean initialize () throws TestException
 

Test Procedure

◆ SubnSetRWFields() [1/2]

void SubnSetRWFields ( final String  strField,
final Field  field,
final long  value 
) throws TestException
protected

SubnSetRWFields

◆ SubnSetRWFields() [2/2]

void SubnSetRWFields ( final String  strField,
final Field  field,
final long  value,
int  expectedStatus 
) throws TestException
protected

SubnSetRWFields

  1. SendMad( SubnSet(SwitchInfo) where MADHeader:SMPData=SWITCH_INFO_DATA1)

  2. SMP_DATA = ReceiveMad(SubnGetResp(PortInfo))

  3. SendMad ( SubnGet(SwitchInfo) ) Remark: This SubnGet() is not necessary because SubnGetResp() in Step 6 should return result of SubnSet(). Additional SubnGet() is employed to detect any failures in the processing SubnSet().

  4. SMP_DATA = ReceiveMad( SubnGetResp(SwitchInfo))

◆ initialize()

boolean initialize ( ) throws TestException
protectedinherited

Initialization:

  1. PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.

  2. DUT PortInfo:M_Key = 0 on all ports.

  3. DUT PortInfo:M_KeyProtectBits = 0 on all ports.

  4. Get Number of Ports


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