Versions Compared

Key

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

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

LUTF ID

Unit Test Description




test_udsp_multi_net_01
  • 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



test_udsp_multi_net_02
  • 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



test_udsp_multi_net_03
  • 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



test_udsp_multi_net_04
  • 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



test_udsp_multi_net_05
  • 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 the local network with highest priority was used

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

LUTF ID

Unit Test Description




test_udsp_multi_net_err_01
  • 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



test_udsp_multi_net_err_02
  • 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

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

LUTF ID

Unit Test Description




test_udsp_routed_net_01
  • Configure single local network with two NIDs on the network  (RemoteLayout1)
  • 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 pair of a router and remote peer NIDs as preferred
  • Add UDSP rule that gives the same remote peer NID highest priority
  • Start traffic
  • Stop traffic
  • Verify that the preferred remote peer NID and router NID were used




  • Configure single local network with two NIDs on the network (RemoteLayout1)
  • Configure two routers/gateways each providing access to a remote network
  • Configure remote peer to have access to the remote network with two NIDs
  • Assign higher route priority to the route using gateway 1
  • Add UDSP rule that designates a pair of a router (gateway 2) and remote peer NIDs as preferred
  • Start traffic
  • Stop traffic
  • Verify that the higher priority route was used (gateway 1)




  • Configure two local networks (net1, net2) with two NIDs on each network (RemoteLayout2)
  • Configure remote peer to have access to the remote network with two NIDs
  • On peerA add UDSP rule that designates gateway 1 as preferred for all NIDs on peerB
  • Start traffic (peerA to peerB)
  • Stop traffic
  • Verify that if net1 was used then the paired router was used 

...