User Tools

Site Tools


functest_onos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
functest_onos [2015/10/20 03:10]
Qinglong Lan
functest_onos [2015/10/20 06:39] (current)
Qinglong Lan [Test Cases]
Line 1: Line 1:
-   * ONOS ML2 test content+====== Functest:​ONOS test ====== 
 +  * ONOS ML2 test content 
 +  * Test Design 
 +  * Test Cases 
 +  ​Test principle 
 + 
 +===== ONOS ML2 test content ​=====
  
 ^  Feature ​                       ^  Function ​                                                            ^ ^  Feature ​                       ^  Function ​                                                            ^
Line 9: Line 15:
 | :::                             | VM go online and fullmesh vxlan build/VM can reach each other         | | :::                             | VM go online and fullmesh vxlan build/VM can reach each other         |
  
-   ​* ​Test Plan+===== Test Design ===== 
 +Level 1:Testing NB API.Take the method of sending json message to test network/​subnet/​port api.The testing actions will include post/​get/​delete/​put. ​   
 + 
 +Level 2:Testing OVSDB . This method need to develop a number of api,and call ovsdb features from these api  to check if the ovs config correctly. 
 + 
 +Level 3:Testing VM go online.Using hosts of mininet to simulate the vm of the compute node. 
 +{{:​onos_test_plan.png?​nolink&​600|}} 
 + 
 +===== Test Cases ===== 
 + 
 +Virtual-net northbound test cases, see details: [[https://​wiki.onosproject.org/​plugins/​viewsource/​viewpagesrc.action?​pageId=4163875|Link]] 
 + 
 +Ovsdbtest test cases, see details:​[[https://​wiki.onosproject.org/​plugins/​viewsource/​viewpagesrc.action?​pageId=4163953|Link]] 
 + 
 + 
 + 
 + 
 +===== Test Principle ===== 
 + 
 +1.Test will only use all the functionality related to intents and other sub system in the CLI application 
 + 
 +2.There will be repetitive verification before and after an event 
 + 
 +3.Use of dependency python files to extend the test script functions for code reusability 
 + 
 +4.The test can be extended for more low-level verification 
 + 
 +5.Testing disregards performance of any application or subsystem used and focused entirely on the functionality of the system 
 + 
 +6.Passing criteria of each cases should always include device connectivity
  
functest_onos.1445310620.txt.gz · Last modified: 2015/10/20 03:10 by Qinglong Lan