InfiniBand Test Specification  1.0.38
Public Member Functions | Protected Member Functions | List of all members
C14_024_15

Inherits MadTest.

Public Member Functions

 C14_024_15 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

14.1.5.10 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - LEDINFO

Abstract: This test performs checks of LedInfo attribute and components. Included are tests for both Read-Only (RO) and Read-Write (RW) attribute components.

Coverage: v1c13-024, v1c14-024.1.1, v1c14-027

Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 2X, 4X, 8X, or 12X; Speed=SDR, DDR, QDR, FDR, EDR, HDR; DUT=Node.

DUT Qualifiers: None, unless specified in algorithm section.

Notes:

  1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.

Test Case Description

◆ C14_024_15()

14.1.5.10.1 14.1.5.10.2 LEDINFO TEST FOR SUPPORTED/UNSUPPORTED ATTRIBUTE

Assertions: v1c13-024#01, v1c14-024.1.1#15.01, v1c14-024.1.1#15.02, v1c14-024.1.1#15.03, v1c14-024.1.1#15.04, v1c14-027#01

Notes:

  1. This TD refers only to the test case in which LedInfo is supported and shell be skipped otherwise.
  2. Variable RO_LED_INFO of type Integer.
  3. Variable LED_STATE of type Integer.
  4. Variable PORT_INFO_CAP_MSK of type Integer.
  5. SMP_DATA is variable of type MadPacketSpec Initialization:
  1. PortInfo:PortState is Initialized, Armed or Active for both MAD Tester and DUT.

Developer: Kevin King

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected
  1. PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.

◆ execute()

boolean execute ( ) throws TestException

Test Procedure:

  1. SendMad (SubnGet(PortInfo) )

  2. PORT_INFO_CAP_MSK = ReceiveMad (SubnGetResp(PortInfo):CapabilityMask)

  3. Verify (PORT_INFO_CAP_MSK.IsLEDInfoSupported) == 1 // v1c14- 024.1.1#15.01
  4. 14.1.5.10.1 LEDINFO TEST FOR SUPPORTED ATTRIBUTE
  5. SendMad (SubnGet(LedInfo))
  6. SMP_DATA = ReceiveMad (SubnGetResp(LedInfo)) // v1c14-024.1.1#15.01
  7. Verify SMP_DATA format: // v1c14-024.1.1#15.02
    • MADHeader:AttributeID == LedInfo // v1c14-024.1.1#15.01
    • MADHeader:AttributeModifier == 0x0 *MADHeader:Status.code == 0 // v1c13-024#01
  8. LED_STATE = SMP_DATA.LedInfo:LedMask
  9. RO_LED_INFO = SMP_DATA:LedInfo[31:1]
  10. SendMad (SubnSet(LedInfo) where (( LedInfo:LedMask = (NOT LED_STATE ) ) and (Led_Info[31:1] = (NOT RO_LED_INFO)))
    • Remark: The values which are written should be different from the values read, the led should flip it’s status and the RO fields should be written with the opposite value.
  11. SMP_DATA = ReceiveMad (SubnGetResp(LEDInfo))
  12. Verify SMP_DATA format : // v1c14-024.1.1#15.04
    • MADHeader:AttributeID == LedInfo
    • MADHeader:AttributeModifier == 0x0
    • MADHeader:Status.code == 0 // v1c13-024#01 (cont)
    • LedInfo:LedMask != LED_STATE // v1c14-024.1.1#15.04
    • SMP_DATA:LedInfo[31:1] == RO_LED_INFO // v1c14-024.1.1#15.03, v1c14-027#01
  13. 24.1.5.10.2 LEDINFO TEST FOR UNSUPPORTED ATTRIBUTE
  14. SendMad (SubnGet(LedInfo))
  15. SMP_DATA = ReceiveMad (SubnGetResp(LEDInfo))
  16. Verify SMP_DATA format:// v1c14-024.1.1#15.01
    • MADHeader:AttributeID == LedInfo
    • MADHeader:AttributeModifier == 0x0
    • MADHeader:Status.code == 7 // v1c13-024#07
  17. SendMad (SubnSet(LedInfo))
  18. SMP_DATA = ReceiveMad (SubnGetResp(LEDInfo))
  19. Verify SMP_DATA format: // v1c14-024.1.1#15.04
    • MADHeader:AttributeID == LedInfo
    • MADHeader:AttributeModifier == 0x0
    • MADHeader:Status.code == 7 // v1c13-024#07

The documentation for this class was generated from the following file: