TEST METHODOLOGY

TEST SCENARIOS (SINGLE INSTANCE OF SDN-IP/ONOS AND BGP SPEAKER)

 

Case1:


Environment:

Using the same mininet script for Dec.5 demo, which includes 4 BGP peers.

All bgp routers/speakers are quagga before Dec.5

(We may also use bird after Dec.5)


Test steps:

Each BGP peer advertises 10 routes

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route

(For each route, we will create an relative IP address on the host behind router)


All BGP peers withdraw all routes

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route

 

 

Case2:

Repeat Case1 with cycles of 1000 times


Note: each cycle, insert different routes, doing so is just to make it easier to check if something wrong happens.

 

 

Case3:


Environment:

Using the same mininet script for Dec.5 demo, but add up to 100 peers


Test steps:

Each BGP peer advertises 1000 routes

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


All BGP peers withdraw all routes

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


 

 

Case4:

Based on Case3, add a route server and a new router and a new host to mininet

The route server advertises 10 routes each time as other BGP peers

 


TEST SCENARIOS (MULTIPLE INSTANCES OF SDN-IP/ONOS AND BGP SPEAKERS)

 

Case5:


Environment:

Using the same mininet script for Dec.5 demo, which includes 4 external BGP peers

Running 2 ONOS instances and 1 BGP speaker

Some switches connect to ONOS 1, some to ONOS 2


Test Steps:

Insert routes from BGP peers and do not stop

Kill primary ONOS/SDN-IP instance

List all routes and intents through CLI of the second ONOS instance

Continue inserting the routes from BGP peers

Stop inserting the routes from BGP peers

Check the routes and intents in the second ONOS instance

Ping test for each route

 

Case 6:

Environment:

Using the same mininet script for Dec.5 demo

Running 2 ONOS instances and 2 BGP speaker

Some switches connect to ONOS 1, some to ONOS 2


Test Steps:

Check BGP/ICMP path intents

Use ping to check the connectivity of BGP peers in dataplane.


Insert routes from BGP peers and do not stop

Kill primary ONOS/SDN-IP instance

Continue inserting routes from BGP peers

Stop inserting the routes from BGP peers

Check the routes and intents in the ONOS instance

Ping test for each route

 


 

Case7:

Same environment with Case 6


Test Steps:

Insert routes from BGP peers and do not stop

Kill one BGP speaker

Continue inserting routes from BGP peers

Stop inserting the routes from BGP peers

Check the routes and intents in the ONOS instance

Ping test for each route

 


 

Case 8:


Environment:

Using the same mininet script for Dec.5 demo


Test Steps:

Each BGP peer advertise 10 routes

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


Bring down a link

Wait 20 seconds

Check the correctness of routes from ONOS CLI

Ping test for each route


Bring down a router

Wait 20 seconds

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


Bring up the link

Wait 20 seconds

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


Bring up the router

Wait 20 seconds

Check the correctness of routes from ONOS CLI

Check the correctness of intents from ONOS CLI

Ping test for each route


Then do it (bring down link/router, bring up link/router) in a loop for nightly testing.

 


PERFORMANCE TEST

 The purpose of the performance is to check:

 

Case 9:


Environment:

Using the same mininet script for Dec.5 demo, but add up to 100 peers


Test steps:

Insert 10,000->100,000-> 1000,000 routes from all BGP peers, check what will happen.