X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fkube_proxy_api_functions.sh;h=eb4600cc6a81cf88d5e7456193daa3e517d34d27;hb=6fc58fd020514c2afce1fc240828bf23f53d8fb6;hp=dcaaf80258d555a52b4b26d5a5c52e8d3e60c88f;hpb=036962c60e1cfa18a689dffa1a8b92d335e6063e;p=nonrtric.git diff --git a/test/common/kube_proxy_api_functions.sh b/test/common/kube_proxy_api_functions.sh index dcaaf802..eb4600cc 100644 --- a/test/common/kube_proxy_api_functions.sh +++ b/test/common/kube_proxy_api_functions.sh @@ -107,6 +107,18 @@ __KUBEPROXY_initial_setup() { use_kube_proxy_http } +# Set app short-name, app name and namespace for logging runtime statistics of kubernets pods or docker containers +# For docker, the namespace shall be excluded +# This function is called for apps managed by the test script as well as for prestarted apps. +# args: - +__KUBEPROXY_statisics_setup() { + if [ $RUNMODE == "KUBE" ]; then + echo "KUBEPROXXY $KUBE_PROXY_APP_NAME $KUBE_SIM_NAMESPACE" + else + echo "KUBEPROXXY $KUBE_PROXY_APP_NAME" + fi +} + ####################################################### ## Access to Kube http proxy