Versions Compared

Key

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

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

Unit Test Description




  • Setup: 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



  • Setup: 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
  • Add UDSP rule that reverses networks priorities
  • Start traffic
  • Stop traffic
  • Verify that NIDs on the new network that has the highest priority were used



  • Setup: configure two networks, two NIDs on each network
  • Add UDSP rule that gives one of the networks highest priority
  • Add UDSP rule that gives the highest priority to one of the NIDs on the network with the highest priority
  • Start traffic
  • Stop traffic
  • Verify that the NID with highest priority on the network with highest priority was used



  • Setup: configure two networks, two NIDs on each network
  • Add UDSP rule that gives one of the networks highest priority
  • Add UDSP rule that gives the highest priority to one of the NIDs on the network with the lowest priority
  • Start traffic
  • Stop traffic
  • Verify that the NIDs on the network with highest priority were used



  • Setup: configure two networks, two NIDs on each network
  • Add UDSP rule that gives one of the networks highest priority
  • On the peer add UDSP rule that gives the highest priority to the other network
  • Start traffic
  • Stop traffic
  • Verify that both networks were the local network with highest priority was used

Out-of-Range UT

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

Unit Test Description




  • Setup: configure two networks, two NIDs on each network 
  • Add UDSP rule that gives highest priority to a network that doesn't exist
  • Execute UDSP "Show" command
  • Verify that the resulting YAML file contains policy description as expected



  • Setup: configure two networks, two NIDs on each network 
  • Add UDSP rule that gives one of the networks highest priority
  • Start traffic
  • Verify that the network with the highest priority was used
  • Bring the highest priority network down
  • Verify that the remaining network is used
  • Stop traffic

...