Versions Compared

Key

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

...

TestSteps
Configure route
  • Configure the gateway node with at least 4 interfaces
  • Configure 2 gateway interfaces on tcp and 2 interfaces on tcp2
  • Configure 2 peers. Peer A on tcp and Peer B on tcp2
  • Configure a route on Peer A using the primary NID of the gateway
  • Configure a route on Peer B using the primary NID on the gateway
  • Show peers on Peer A and B and make sure that all 4 gateway interfaces have been discovered
Verify Discovery interval
  • Configure as above
  • Monitor net stats "lnetctl net show"
  • Verify that route is discovered every approx 60 seconds by enable the net on debug and check log(look for TRACE)
  • Change the alive_router_check_interval to 30 seconds and verify router is discovered every 30 seconds
Verify route UP
  • Configure as above
  • lnetctl route show -v
  • Verify route is up on both Peer A and Peer B
Verify route DOWN with avoid_asym_router_failure = 0
  • Configure as above
  • "lnetctl route show -v" should show Up in stat
  • set avoid_asym_router_failure = 0 on Peer A and bring it down
  • Verify route stat shows Down after alive_router_check_interval on Peer B
Verify multiple router
  • Configure similar as above but add another router for a total of > 2 gateways
  • Ensure that all routers are discovered at regular intervals of alive_router_check_interval

...