Test suite for the Network Configuration subsystem
Purpose
The purpose of this test suite is to verify the functionality of the Network Configuration Subsystem. We will test the ability to add and distribute configurations across nodes as well as how other subsystems use these configurations.
Test Overview
In this test, we use the REST api to add/modify/delete and view network configurations in ONOS. We sill use an ONOS cluster and verify that each node has access to the same configurations, regardless of wether that node was responsible for storing the configuration. In addition, we will test how other subsystems make use of these configurations.
Test Cases # | Description | Pass/Fail Criteria | Implementation Status |
---|---|---|---|
1 | Set up test parameters | pass: If params are set | Production |
2 | Set cell and build, uninstall, and install ONOS | pass: If sets cell correctly and builds, uninstalls, and installs ONOS correctly | Production |
8 | Compare MN topology and ONOS topology | pass: If ONOS topology is the same as the Mininet topology | Production |
10 | Setup Mininet (start mn, assign mastership to switches, and compares topology) | pass: If Mininet, switch assignment and topology comparison all pass | Production |
20 | Add some device configurations for undiscovered devices and then check they are distributed to all nodes | pass: If the given NetCfgs are added and distributed to all ONOS nodes | Production |
21 | Check that devices appear or don't appear in the Network Graph according to the initial NetCfgs | pass: If the allowed devices appear in the network graph and the disallowed devices don't | Production |
22 | Add some device configurations for discovered devices and then check they are distributed to all nodes | pass: If the given NetCfgs are added and distributed to all ONOS nodes | Production |
23 | Check that only disallowed devices disappear from the Network Graph according to the additional NetCfgs | pass: If only the diallowed devices disappear from the network graph | Production |
24 | Remove Network Configurations using different methods. I.E. delete a device, delete multiple devices, delete all configs | pass: If the deleted NetCfgs are deleted from all nodes | Production |