Fix onos sanity tests for ecord-global profile

Change-Id: Ibf8dedfec4d1c02ce27cde66cfa26ef06128a7b8
diff --git a/src/test/diag/verifyCollectDiag.robot b/src/test/diag/verifyCollectDiag.robot
index da8557b..df3e425 100644
--- a/src/test/diag/verifyCollectDiag.robot
+++ b/src/test/diag/verifyCollectDiag.robot
@@ -42,15 +42,22 @@
 
 Verify ONOS
     [Documentation]    Verify ONOS status, applications and logs
-    Run Keyword If    '${CORD_PROFILE}' != 'ecord-global'   Run Keywords
-        Verify ONOS Status    onos-fabric
-        Verify ONOS Applications    onos-fabric    ${CORD_PROFILE}
-        Verify ONOS Logs    onos-fabric
-    Verify ONOS Status    onos-cord
-    Verify ONOS Applications    onos-cord   ${CORD_PROFILE}
-    Verify ONOS Logs    onos-cord
+    Run Keyword If    '${CORD_PROFILE}' != 'ecord-global'   Verify ONOS-Fabric    ${CORD_PROFILE}
+    Verify ONOS-CORD    ${CORD_PROFILE}
 
 *** Keywords ***
+Verify ONOS-Fabric
+    [Arguments]    ${cord_profile}
+    Verify ONOS Status    onos-fabric
+    AND Verify ONOS Applications    onos-fabric    ${cord_profile}
+    AND Verify ONOS Logs    onos-fabric
+
+Verify ONOS-CORD
+    [Arguments]    ${cord_profile}
+    Verify ONOS Status    onos-cord
+    AND Verify ONOS Applications    onos-cord    ${cord_profile}
+    AND Verify ONOS Logs    onos-cord
+
 Verify ONOS Status
     [Arguments]    ${onosName}
     ${onosStatus}    utils.readFile    /home/cord/diag-*/${onosName}/nodes