[VOL-2023] Verify OLT/ONU authentication after radius restart

Change-Id: I9b2fcd963f351fbf6f6025adcc5dab61af8568c2
diff --git a/libraries/k8s.robot b/libraries/k8s.robot
index 765a31b..4ae2f1b 100644
--- a/libraries/k8s.robot
+++ b/libraries/k8s.robot
@@ -41,3 +41,11 @@
     ...    kubectl get svc -n ${namespace} ${name} -o jsonpath={.spec.ports[0].port}
     Should Be Equal as Integers    ${rc}    0
     [Return]    ${port}
+
+Restart Pod
+    [Arguments]    ${namespace}    ${name}
+    [Documentation]    Uses kubectl to force delete pod
+    ${rc}    ${restart_pod_name}=    Run and Return Rc and Output    kubectl get pods --template $'{{range .items}}{{.metadata.name}}{{"\\n"}}{{end}}', -n ${namespace} | grep ${name}
+    Log    ${restart_pod_name}
+    ${rc}    ${output}=    Run and Return Rc and Output    kubectl delete pod ${restart_pod_name} -n ${namespace} --grace-period=0 --force  
+    Log    ${output}