Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
Proposed SAMPstarterTemplate2
Note: add standard license and author header in all TestON case files:
""" Created on 26-Oct-2012 author: John Doe (joe@anemail.org) TestON is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or ( at your option ) any later version. TestON is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with TestON. If not, see <http://www.gnu.org/licenses/>. """
CASE | Step | Details | Pass/Fail Criteria | Status |
---|---|---|---|---|
11 | Single-node ONOS startup | |||
1 | set cell definition with minimum APPS i.e. drivers | |||
2 | using stc setup to install onos and check summary status (retry check summary until pass) | |||
Some sort of "sanity" check, TBD (No warnings/exceptions, ...) | ||||
3 | set mn switches to connect with onos and check topology | |||
4 | configuring apps from .param json string (make sure it is an app with configuration parameters) | |||
12 | single-node onos forwarding app test | |||
1 | configuring fwd apps from .param json string with parameter configured; check if configuration successful | |||
2 | run pingall to check connectivity | |||
3 | check onos log for warning, error, exceptions | |||
31 | scale up onos to 3 nodes | |||
1 | shutdown and clean onos cell | |||
2 | configure cell definition to 3 nodes with minimum APPS, i.e. driver | |||
3 | using stc setup to install onos as cluster and check summary status (retry summary until pass) | |||
4 | set mn switches to connect with onos, balance master and check topology | |||
5 | configuring apps from .param json string (make sure it is an app with configuration parameters) | |||
6 | check onos log for warning, error, exceptions | |||
32 | ||||
1 | configuring fwd apps from .param json string with parameter configured; check if configuration successful | |||
2 | run pingall to check connectivity | |||
3 | check onos log for warning, error, exceptions | |||
900 | Shutdown and clean up steps | |||
1 | ||||
Sample tests are for new users to get to know how to use and author a test plan. Test name/class should be "SAMP*", for example, a starting template sample is "SAMPstartTemplate".