Redefinition of checkOnosLog method and modified .topo to use correct driver
diff --git a/TestON/tests/FuncPlatform/FuncPlatform.py b/TestON/tests/FuncPlatform/FuncPlatform.py
index 6b681a7..13f8a24 100644
--- a/TestON/tests/FuncPlatform/FuncPlatform.py
+++ b/TestON/tests/FuncPlatform/FuncPlatform.py
@@ -133,6 +133,17 @@
str(startupClassName) + " from " + str(startupSrc) )
main.cleanup()
main.exit()
+
+ # NOTE: Test only
+ # Unceremoniously kill onos 2
+ main.ONOSbench.onosDie( '10.128.174.2' )
+
+ time.sleep( 30 )
+
+ main.step( 'Sample Onos log check' )
+ logResult = onosLog.checkOnosLog( main.ONOSips[0] )
+ main.log.info( logResult )
+ # TODO: Define assertion pass / fail criteria
# Sample app activation
main.step( 'Activating applications metrics and fwd' )
@@ -143,9 +154,5 @@
onpass= 'App activation of ' + str(appList) + ' successful',
onfail= 'App activation failed ' + str(appResult) )
- main.step( 'Sample Onos log check' )
- logResult = onosLog.getOnosLog( main.ONOSips[0] )
- main.log.info( logResult )
- # TODO: Define assertion pass / fail criteria