InfiniBand Test Specification
1.0.38
|
Inherits C14_024_04_SW_RW.
Public Member Functions | |
C14_024_04_SW_03 () | |
boolean | execute () throws TestException |
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 |
24.1.5.11.3 READ WRITE COMPONENTS PART 2
24.1.5.11 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - SWITCHINFO
Abstract: This test performs checks of SwitchInfo attribute and components, except for SwitchInfo:PortStateChange. 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 or EDR; DUT=Switch.
DUT Qualifiers: None, unless specified in algorithm section.
Notes: 1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.
C14_024_04_SW_03 | ( | ) |
24.1.5.11.3 SWITCHINFO READ WRITE COMPONENTS PART 2
Assertions: v1c13-024#01, v1c13-024#07, v1c14-024.1.1#04.04, v1c14-030#01
Notes:
Developer: Llolsten Kaonga
boolean execute | ( | ) | throws TestException |
Initialization: see Initialization
Test Procedure:
SendMad (SubnGet(SwitchInfo))
SMP_DATA = ReceiveMad()
Verify SMP Data format and FDBCap
If (SWITCH_INFO_DATA.LinearFDBCap != 0 then
See SubnSetRWFields(final String strField, final Field field, final long value, int expectedStatus) for steps 5 - 8
Verify:
For each SwitchInfo:RW_Field, verify that the field has changed ...
Else
See SubnSetRWFields(final String strField, final Field field, final long value, int expectedStatus) for steps 13 - 16
Verify:
End If
|
protectedinherited |
SubnSetRWFields
|
protectedinherited |
SubnSetRWFields
SendMad( SubnSet(SwitchInfo) where MADHeader:SMPData=SWITCH_INFO_DATA1)
SMP_DATA = ReceiveMad(SubnGetResp(PortInfo))
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().
SMP_DATA = ReceiveMad( SubnGetResp(SwitchInfo))
|
protectedinherited |
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.
Get Number of Ports