Updates to ONOS HA Tests

Change-Id: I9f67063f7d31e41316b04b255c9cdd85b307bf33
diff --git a/libraries/k8s.robot b/libraries/k8s.robot
index 4fe057d..20a03c1 100644
--- a/libraries/k8s.robot
+++ b/libraries/k8s.robot
@@ -385,3 +385,10 @@
     ...    kubectl -n ${namespace} get pods -l ${key}=${value} -o json | jq -r ".items[].status.phase" | wc -l
     Should Be Equal as Integers    ${count}    ${number}
 
+
+Get Number of Running Pods Number By Label
+    [Arguments]    ${namespace}    ${key}    ${value}
+    [Documentation]   Returns the number of pods for a given label
+    ${rc}    ${count}    Run and Return Rc and Output
+    ...    kubectl -n ${namespace} get pods -l ${key}=${value} -o name | wc -l
+    [Return]    ${count}