InfiniBand Test Specification
1.0.38
|
Inherits MadTest.
Public Member Functions | |
C14_024_03 () | |
boolean | execute () throws TestException |
Protected Member Functions | |
boolean | initialize () throws TestException |
Private Member Functions | |
void | TestField (final Field field, final long value) throws TestException |
24.1.5.2 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - NODEINFO
Abstract: This test performs checks of NodeInfo attribute and components. Included are tests for both Read-Only (RO) and Read-Write (RW) attribute components.
Coverage: v1c13-024, v1c14-024.1.1, v1c14-027, v1c14-030
Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 2X, 4X, 8X, or 12X; Speed=SDR, DDR, QDR, FDR, EDR, HDR; DUT=Node.
DUT Qualifiers: None, unless specified in algorithm section.
Notes:
C14_024_03 | ( | ) |
24.1.5.2.1 SUBNET MANAGEMENT ATTRIBUTE - NODEINFO Assertions: v1c13-024#06, v1c14-024.1.1#03.01, v1c14-024.1.1#03.02, v1c14-024.1.1#03.03, v1c14-024.1.1#03.04, v1c14-024.1.1#03.05, v1c14-024.1.1#03.06, v1c14-027#01, v1c14-030#01
Notes:
Developer: Kevin King
|
protected |
Initialization:
DUT PortInfo:PortState = Initialize, Armed, or Active.
boolean execute | ( | ) | throws TestException |
Test Procedure:
SendMad ( SubnGet(NodeInfo) )
SMP_DATA = ReceiveMad( SubnGetResp(NodeInfo) )
Verify SMP_DATA format:
SMP_DATA_UPDATE = SMP_DATA
For each COMP in RO_COMP_LIST do:
For each port do:
SendMad ( SubnGet(NodeInfo) )
SMP_DATA = ReceiveMad()
PortNum = SMP_DATA.IB_NODE_LOCAL_PORT
NodeInfos[PortNum] = SMP_DATA
If Device Type is not a Switch do
Verify NodeInfo is the same on all ports
|
private |
SendMad( SubnSet(NodeInfo) where MADHeader:SMPData=SMP_DATA_UPDATE.NodeInfo )
SMP_DATA_UPDATE = ReceiveMad( SubnGetResp(NodeInfo) )
VerifyMad( SMP_DATA_UPDATE, MADHeader:Status == 3 ) v1c13-024#06 Remark: Status was 3 because SubnSet(NodeInfo) is an invalid method/attribute combination.
SendMad ( SubnGet(NodeInfo) )
SMP_DATA_UPDATE = ReceiveMad( SubnGetResp(NodeInfo) )
Verify (SMP_DATA_UPDATE.component == SMP_DATA.component ) v1c14-024.1.1#03.02, v1c14-024.1.1#03.03, v1c14-027#01, v1c14-030#01
Remark: Confirm that RO components in Step 2 have not been modified.