InfiniBand Test Specification
1.0.38
|
24.1.5.11.1 READ ONLY COMPONENTS More...
Inherits C14_024_04_SW.
Public Member Functions | |
C14_024_04_SW_01 () | |
boolean | execute () throws TestException |
Protected Member Functions | |
boolean | initialize () throws TestException |
Private Member Functions | |
void | SubnSetROFields (String strField, Field field, long value) throws TestException |
24.1.5.11.1 READ ONLY COMPONENTS
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:
C14_024_04_SW_01 | ( | ) |
24.1.5.11.1 SWITCHINFO READ ONLY COMPONENTS
Assertions: v1c13-024#01 (cont), v1c14-024.1.1#04.01, v1c14-024.1.1#04.02, v1c14-024.1.1#04.03, v1c14-027#01, v1c14-030#01
Notes:
Variable RO_COMP_LIST is the set of SwitchInfo read-only components consisting of:
Developer:: Llolsten Kaonga
boolean execute | ( | ) | throws TestException |
Initialization: see Initialization
Test Procedure:
SendMad (SubnGet(SwitchInfo))
SMP_DATA = ReceiveMad()
Verify SMP Data format and FDBCap
SWITCH_INFO_DATA1 = SWITCH_INFO_DATA
For each SwitchInfo RO component, do
See SubnSetROFields for steps 6-9
For each component in RO_COMP_LIST do:
|
private |
SubnSetROFields
SendMad( SubnSet(SwitchInfo) where MADHeader:SMPData=SWITCH_INFO_DATA1)
SMP_DATA = ReceiveMad(SubnGetResp(PortInfo))
SendMad ( SubnGet(SwitchInfo) ) // TD says this step is unnecessary but it is done in TCL anyway
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