Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Primary Requirement ID

Secondary Requirement IDUnit Test IDUnit Test Description
cfg-020cfg-005, cfg-010, cfg-015,cfg-045, cfg-055, cfg-060, cfg-065UT-0005
  • Configure 3 NIDs on the same TCP network.
  • Show the NIDs
  UT-0010
  • Configure 3 NIDs on the same IB network
  • Show the NIDs
  UT-0015
  • Configure 3 NIDs on the same TCP/IB Network
  • Show the NIDs
  • Delete 1 NID from the TCP/IB Network
  • Show the NIDs
  UT-0020
  • Configure 2 NIDs on tcp0/o2ib0
  • Configure 2 NIDs on tcp1/o2ib1
  • Show the NIDs
  • Delete 1st NID from tcp0
  • Delete 2nd NID from tcp0
  • Show NIDs
    • No more tcp 0 should exist
    • o2ib0 should be unaffected
cfg-025cfg-005, cfg-010, cfg-015,cfg-045, cfg-055, cfg-060, cfg-065UT-0025
  • Configure the system to have 4 CPTs
    • options libcfs cpu_npartitions=4 cpu_pattern="0[0] 1[1] 2[2] 3[3]"
  • Configure 2 NIDs on tcp0
    • NID 1 should be on CPTs 0, 3
    • NID 2 should be on CPTs 1, 2
  • Show NIDs
    • proper CPT association should be displayed
cfg-035cfg-040, cfg-045, cfg-055, cfg-060, cfg-065UT-0030
  • Configure the system to have 4 CPTs
    • options libcfs cpu_npartitions=4 cpu_pattern="0[0] 1[1] 2[2] 3[3]"
  • Configure 3 NIDs on tcp0
    • NID 1 should be on CPTs 0, 3
    • NID 2 should be on CPTs 1, 2
    • NID 3 should be on all CPTs
  • Show NIDs
    • proper CPT association should be displayed
    • NID 3 should exist on all CPTs
  UT-0035
  • Configure 1st NID on tcp0 using the legacy ip2nets parameter from DLC
  • Show NIDs
  UT-0040
  • Configure 1st NID on tcp*/o2ib* in the following ip2nets form:
    • tcp(<eth intf>)[<cpt>] <pattern>
  • Show NIDs to ensure that the interface has been added to the correct CPTs
  UT-0045
  • Configure 1st NID on tcp*/o2ib* in the following ip2nets form:
    • tcp(<eth intf>, <eth intf>, ...)[<cpt>] <pattern>
    • [<cpt>] can have only have one value
  • Show NIDs to ensure that the interface has been added to the correct CPTs
  UT-0050
  • Configure 1st NID on tcp*/o2ib* in the following ip2nets form:
    • tcp(<eth intf>[<cpt>], <eth intf>[<cpt>], ...) <pattern>
  • Show NIDs to ensure that the interface has been added to the correct CPTs
cfg-060cfg-065UT-0055

Go through the following lnetctl commands and excercise their parameters:

  • net
  • set num_range

...

Primary Requirement IDSecondary Requirement IDUnit Test IDUnit Test Description
  UT-0090
  • Configure a non-existent NID on tcp0
  • Configuration should fail with INVALID PARAMETER
  UT-0095
  • Configure the system to have 4 CPTs
    • options libcfs cpu_npartitions=4 cpu_pattern="0[0] 1[1] 2[2] 3[3]"
  • Configure 3 NIDs on tcp0
    • NID 1 should be on CPTs 0, 4
    • NID 2 should be on CPTs 1, 2
    • NID 3 should be on all CPTs
  • Show NIDs
    • NID 1 should fail since no CPT 4
  UT-0096
  • Configure 1st NID on tcp*/o2ib* in the following ip2nets form:
    • tcp(<eth intf>, <eth intf>, ...)[<cpt, cpt>] <pattern>
  • Configuration should fail with syntax error
  UT-0100

Go through the following lnetctl commands and excercise their parameters, by providing error values:

  • net
    • Valid net values are: tcp, o2ib, gni
    • Provide any garbage. Return value should be BAD PARAM
  • set num_range
    • valid range is any positive value.
    • Provide a negative value. Return value should be BAD PARAM
  UT-0105

Delete a non-existent network

Should return -EINVAL

  UT-0110

Delete a non existent NID on tcp/o2ib

Should return -EINVAL

...