|
InfiniBand Test Specification
1.0.38
|
Inherits MadTest.
Public Member Functions | |
| C14_024_06_CA_03 () | |
| boolean | execute () throws TestException |
Protected Member Functions | |
| boolean | initialize () throws TestException |
24.1.5.4.3 PORTINFO FOR XCA AND ROUTER ONLY - PART 3
24.1.5.4 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - PORTINFO
Abstract: This test performs checks of PortInfo attribute and components for xCAs and Routers. Included are tests for both Read-Only (RO) and Read-Write (RW) attribute components.
Coverage: v1c13-024, v1c14-024.1.1, v1c14-027, v1c14-028, v1c14-029, v1c14-030
Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 4X, 8X, or 12X; Speed=SDR, DDR, or QDR; DUT=xCA or Router.
DUT Qualifiers: None, unless specified in algorithm section. Notes: Additional checking of method/attribute combinations is performed in tests for v1c14-003.
| C14_024_06_CA_03 | ( | ) |
24.1.5.4.3 PORTINFO FOR XCA AND ROUTER ONLY - PART 3
Assertions: v1c13-024#07, v1c14-024.1.1#06.01, v1c14-024.1.1#06.02, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
Notes:
Developer: Kevin King
|
protected |
Initialization:
PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.
DUT PortInfo:M_Key = 0 on all ports.
DUT PortInfo:M_KeyProtectBits = 0 on all ports.
| boolean execute | ( | ) | throws TestException |
Test Procedure:
SendMad (SubnGet(PortInfo))
PORT_INFO_DATA = ReceiveMad (SubnGetResp(PortInfo):MADHeader:MADData)// v1c14-024.1.1#06.02, v1c14-030#01
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-030#01
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
ORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
endMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified,where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04,v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
SendMad (SubnGet(PortInfo))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
If (SMP_DATA:MADHeader:SMPData.CapabilityMask.IsReinitSupported == 1) Then
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
EndIf
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
If (PORT_INFO_DATA.CapabilityMask.IsClientReregistrationSupported == 0) Then ...
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: // v1c14-024.1.1#06.01,v1c14-024.1.1#06.04, v1c14-024.1.1#06.05, v1c14-024.1.1#06.06, v1c14-030#01
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format:
SMP_DATA:MADHeader:SMPData.ClientReregister == PORT_INFO_DATA.ClientReregister
End If