|
InfiniBand Test Specification
1.0.38
|
Inherits MadTest.
Public Member Functions | |
| C14_024_06_SW_01 () | |
| boolean | execute () throws TestException |
Protected Member Functions | |
| boolean | initialize () throws TestException |
24.1.5.17.1 PORTINFO FOR SWITCH ONLY - PART 1
24.1.5.17 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - PORTINFO FOR SWITCH ONLY
Abstract: This test performs checks of PortInfo attribute and components for the Switch only. 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=Switch.
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_SW_01 | ( | ) |
24.1.5.17.1 PORTINFO FOR SWITCH ONLY - PART 1
Assertions: v1c13-024#01 (cont), v1c13-024#07, v1c14-024.1.1#06.01, v1c14-024.1.1#06.02, v1c14-024.1.1#06.04, v1c14-027#01, v1c14-030#01
Notes:
Developer: Llolsten Kaonga
|
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 |
Tester Procedure:
SendMad (SubnGet(PortInfo))
PORT_INFO_DATA = ReceiveMad (SubnGetResp(PortInfo):MAD- Header:MADData)// v1c14-024.1.1#06.02, v1c14-030#01
Remark: Change RW field LinkWidthEnabled to illegal value - reserved value and value which is not supported according to LinkWidthSupported.
PORT_NFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfowhere MADHeader::AttributeModifier = as specified and MADHeader:MADData = PORT_INFO_DATA1))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA format: v1c14-024.1.1#6.01, v1c14-27#01, v1c14-030#01
Verify SMP_DATA format: v1c14-024.1.1#6.01, v1c14-27#01, v1c14-030#01
Reset DUT PortInfo fields to original values
PORT_NFO_DATA1 = PORT_INFO_DATA
SendMad(SubnSet(PortInfo))
SMP_DATA = ReceiveMad(SubnGetResp(PortInfo))
Verify SMP_DATA format: v1c14-024.1.1#6.01, v1c14-27#01, v1c14-030#01
Verifying RW fields changed
Reset DUT PortInfo fields to original values
PORT_INFO_DATA1 = PORT_INFO_DATA
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA1))
Remark: Test RW fields of PortInfo - Initialize all values as default and test all RW fields for changing correctly.
SMP_DATA = ReceiveMad( SubnGetResp(PortInfo))
Remark: If a SubnGetResp(PortInfo) is not received, then a subsequent SubnGet(PortInfo) will be issued, and a SubnGetResp(PortInfo) should be expected.
Verify SMP_DATA format: // v1c14-024.1.1#06.01, v1c14-024.1.1#06.04, v1c14-030#01
Reset DUT PortInfo fields to original values