andrewonlab | 4a5c447 | 2014-10-09 12:11:41 -0400 | [diff] [blame] | 1 | |
| 2 | #Testing the basic functionality of ONOS Next |
| 3 | #For sanity and driver functionality excercises only. |
| 4 | |
andrewonlab | 7735d85 | 2014-10-09 13:02:47 -0400 | [diff] [blame^] | 5 | import time |
| 6 | import sys |
| 7 | import os |
| 8 | |
andrewonlab | 4a5c447 | 2014-10-09 12:11:41 -0400 | [diff] [blame] | 9 | class ONOSNextTest: |
| 10 | def __init__(self): |
| 11 | self.default = '' |
| 12 | |
| 13 | def CASE1(self, main): |
| 14 | ''' |
| 15 | Startup sequence: |
| 16 | git pull |
| 17 | mvn clean install |
| 18 | onos-package |
| 19 | cell <name> |
| 20 | onos-verify-cell |
| 21 | onos-install -f |
| 22 | onos-wait-for-start |
| 23 | ''' |
andrewonlab | 7735d85 | 2014-10-09 13:02:47 -0400 | [diff] [blame^] | 24 | |
| 25 | |
| 26 | install_result = main.ONOSbench.clean_install() |
| 27 | package_result = main.ONOSbench.onos_package() |
| 28 | |
| 29 | print install_result |
| 30 | print package_result |
| 31 | print (install_result and package_result) |
| 32 | |
andrewonlab | 4a5c447 | 2014-10-09 12:11:41 -0400 | [diff] [blame] | 33 | |
| 34 | |