InfiniBand Test Specification
1.0.38
|
Inherits MadTest.
Public Member Functions | |
C14_024_06_CA_04 () | |
boolean | execute () throws TestException |
Protected Member Functions | |
boolean | initialize () throws TestException |
24.1.5.4.4 PORTINFO FOR XCA AND ROUTER ONLY - PART 4
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_04 | ( | ) |
24.1.5.4.4 PORTINFO FOR XCA AND ROUTER ONLY - PART 4
Assertions: v1c14-024.1.1#06.01, v1c14-024.1.1#06.02, v1c14-024.1.1#06.07, v1c14-024.1.1#06.08, v1c14-029#01.02, v1c14-029#02.02, v1c14-030#01
Notes:
Developer: Kevin King
|
protected |
Initialization:
PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.
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
Get the M_KeyViolations value of the local port which participates in the iteration to M_KEY_VIOLATIONS.
Set local port PortInfo:M_Key to the same value as all remote ports Port-Info:M_Key.
Get the M_KeyViolations value of the remote port which participates in the iteration to M_KEY_VIOLATIONS1.
Set local port PortInfo:M_Key to value different than all remote ports Port-Info:M_Key.
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#02.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS) on the local port , which had mismatch in M_Key check. // v1c14-024.1.1#06.08 Remark: Due to the try to access the port with invalid M_Key.
SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#02.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS1) on the remote port , which had mismatch in M_Key check. // v1c14-024.1.1#06.08
// 13. SendMad (SubnSet(PortInfo where MADHeader:AttributeModifier = as specified, where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#02.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS and M_KEY_VIOLATIONS1) on the ports which had mismatch in M_Key check. v1c14-024.1.1#06.08
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#01.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS) on the local port , which had mismatch in M_Key check. // v1c14-024.1.1#06.08
endMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#01.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS1) on the remote port , which had mismatch in M_Key check. // v1c14-024.1.1#06.08
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified , where MADHeader:MADData = PORT_INFO_DATA))
VerifyNoReceiveMad(SubnGetResp(PortInfo)) // v1c14-029#01.02, v1c14-024.1.1#06.08
Verify M_KeyViolations increased (in compare to M_KEY_VIOLATIONS and M_KEY_VIOLATIONS1) on the ports which had mismatch in M_Key check. v1c14-024.1.1#06.08