add check onos log case

Change-Id: If1097866a65d009d846e908396efef35c29d71df
diff --git a/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.params b/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.params
index 0007680..55a13f9 100644
--- a/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.params
+++ b/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.params
@@ -1,6 +1,6 @@
 <PARAMS>
 
-    <testcases>101, 100, 199, 200, 102, 1, 2, 3, 4</testcases>
+    <testcases>101, 100, 199, 200, 102, 1, 2, 3, 4, 1001</testcases>
     #Environment variables
     <ENV>
         <cellName>Demo</cellName>
diff --git a/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.py b/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.py
index 526d33c..129b378 100644
--- a/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.py
+++ b/TestON/tests/DEMO_SDNIP/DEMO_SDNIP.py
@@ -891,3 +891,27 @@
         main.Functions.pingHostToHost( main,
                         hosts=["host64514", "host64515", "host64516"],
                         expectAllSuccess=True )
+
+    def CASE1001( self, main):
+        '''
+        Check onos node log for ERROR
+        '''
+        import time
+
+        main.case( "Checking onos logs for ERRORs...")
+        main.step( "Checking onos logs for ERRORs ...")
+        main.log.demoSummary( "DEMO:ONOS: Check onos logs for ERRORs")
+
+        onosErrors={}
+        result =  True
+        for node in  [ ONOS1Ip, ONOS2Ip, ONOS3Ip ]:
+            onosErrors[ node ] = main.ONOSbench.logReport(node, ["ERROR", "WARNING", "EXCEPT"] )
+            result  = onosErrors[ node ]  & result
+
+        utilities.assert_equals( \
+            expect=main.TRUE,
+            actual=result,
+            onpass="No onos WARNINGs/ERRORs/Exceptions at the end of the test!",
+            onfail="onos has WARNINGs/ERRORs/Exceptions at the end of the test!" )
+
+        time.sleep( int( main.params['timers']['Readability'] ) )