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

Inherits MadTest.

Public Member Functions

 C14_024_11 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.14 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - RANDOMFORWARDINGTABLE

Abstract: This test performs checks of RandomForwardingTable 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, 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:

  1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.
  2. This TD should be executed for switches only since the attribute is not applicable to xCAs and routers

Test Case Description

◆ C14_024_11()

24.1.5.14.1 24.1.5.14.1 RANDOM FORWARDING TABLE TEST FOR UNSUPPORTED/SUPPORTED ATTRIBUTE

Assertions: v1c13-024#06, v1c14-024.1.1#10.02, v1c14-024.1.1#11.01, v1c14-024.1.1#11.02, v1c14-024.1.1#11.03

Notes:

  1. Variable DUT_FDB_LIN_CAP of type integer
  2. Variable DUT_FDB_RANDOM_CAP of type integer
  3. SMP_DATA is variable of type MadPacketSpec

Developer: Llolsten Kaonga

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

  1. PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.

◆ execute()

boolean execute ( ) throws TestException

Test Procedure:

  1. SendMad (SubnGet(NodeInfo))

  2. LinearFDBCap = ReceiveMad (SubnGetResp(SwitchInfo):LinearFDBCap)

  3. RandomFDBCap = ReceiveMad (SubnGetResp(SwitchInfo):RandomFDBCap)

  4. DUT_FDB_LINEAR_CAP = SMP_DATA.SwitchInfo:LinearFDBCap
  5. Verify (DUT_FDB_RANDOM_CAP == 0) // v1c14-024.1.1#11.01
    • Remark: Random forwarding Table not supported by this switch.
  6. Verify DUT_FDB_LINEAR_CAP != 0. // v1c14-024.1.1#10.02
    • Remark: If Random forwarding Table is not supported then Linear forwarding Table must be supported by the switch.
  7. Repeating steps 8 to 17 for all RandomForwardingTable attribute legal values 0 to 3071.
  8. SendMad (SubnSet(RandomForwardingTable where MADHeader:AttributeModifier as specified))
  9. SMP_DATA = ReceiveMad (SubnGetResp(RandomForwardingTable))
  10. Verify SMP_DATA format: // v1c14-024.1.1#11.03
    • MADHeader:AttributeID == RandomForwardingTable
    • MADHeader:AttributeModifier == with same value as sent above
    • MADHeader:status.code == 3 // v1c13-024#06
  11. SendMad (SubnGet(RandomForwardingTable where MADHeader:AttributeModifier as specified))
  12. SMP_DATA = ReceiveMad (SubnGetResp(RandomForwardingTable))
  13. Verify SMP_DATA format: // v1c14-024.1.1#11.02

    • MADHeader:AttributeID == RandomForwardingTable
    • MADHeader:AttributeModifier == with same value as sent above
    • MADHeader:status.code == 3 // v1c13-024#06
    • MADHeader:MADData all returned data in Mad should be read back as Zero.


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