Versions Compared

Key

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

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

Issue

Unit Test Description




pass - manually run

add UDSP rule to interface A

simulate the error by "lctl net_drop_add -s A -d B -i 2"

do lctl ping B from A

check lnetctl net show -v 3 and found send_count is increased on A as well as other interfaces,  the same time, health stats dropped number increased too

delete the rule by "lctl net_drop_del" and do lctl ping again

send_count shows only A increased by 1

*the "health value" doesn't change

  • MR Node with Multiple interfaces
  • Add UDSP rule that gives one of the local interfaces highest priority
  • Send a PING
  • Verify that the NID with the highest priority was used
  • Send a PING
  • Simulate an <error>
  • PING msg should be queued on resend queue
  • PING msg will be resent on a different interface
  • Failed interface's health value will be decremented
  • Failed interface will be placed on the recovery queue
  • Eventually health score should recover so then only the preferred interface will be used (sensitivity > 0)




  • MR Node with Multiple interfaces: configure two networks, two NIDs on each network
  • Add UDSP rule that gives one of the networks highest priority
  • Start traffic
  • Stop traffic
  • Verify that NIDs on the network with the highest priority were used
  • Start traffic
  • Simulate an <error> (drop on one of the NIDs on the highest priority network)
  • Failed interface's health value will be decremented
  • Failed interface will be placed on the recovery queue
  • Verify that the remaining interface on the failed network is used
  • Eventually health score should recover so then only both interface on the preferred network will be used (sensitivity > 0)




  • Configure single local network with two NIDs on the network 
  • Configure two routers/gateways each providing access to a remote network
  • Configure remote peer to have access to the remote network with two NIDs
  • Add UDSP rule that designates a router as preferred for all remote peer NIDs 
  • Start traffic
  • Stop traffic
  • Verify that the preferred router was used
  • Add a PUT drop rule on the router to drop traffic on one of the interfaces.
  • Verify that traffic goes to the other interfaces of the preferred router. There shouldn't be any drop in traffic.
  • Add a PUT drop rule on the router to drop traffic on all interfaces.
  • Verify that traffic goes through the non-preferred router until one of the interfaces of the preferred router recovers.

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

Issue

Unit Test Description




pass - manually

(disable by lnetctl set discovery 0)

  • Setup: configure single network, 2 NIDs on the network, peer with MR disabled 
  • Add UDSP rule that gives one of the interfaces highest priority
  • Start traffic
  • Stop traffic
  • Verify that the NID with the highest priority was used 




  • Setup: configure single network, 2 NIDs on the network, peer incapable of MR ("down-rev")
  • Add UDSP rule that gives one of the interfaces highest priority
  • Start traffic
  • Stop traffic
  • Verify that the NID with the highest priority was used 



pass - manually
  • Setup: configure single network, 2 NIDs on the network, 2 NIDs on the local peer with MR disabled
  • Add UDSP rule that gives the highest priority to one of the local peer NIDs
  • Start traffic
  • Stop traffic
  • Verify that local peer NID with the highest priority was used




  • Setup: configure single network, 2 NIDs on the network, 2 NIDs on the local peer incapable of MR ("down-rev")
  • Add UDSP rule that gives the highest priority to one of the local peer NIDs
  • Start traffic
  • Stop traffic
  • Verify that local peer NID with the highest priority was used

...