Add initial codes
[it/test.git] / test_scripts / endc_x2_setup / show_log_e2mgr
diff --git a/test_scripts/endc_x2_setup/show_log_e2mgr b/test_scripts/endc_x2_setup/show_log_e2mgr
new file mode 100755 (executable)
index 0000000..5d94423
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+#kubectl -n ricplt logs r0-e2mgr-766fc459cb-c5m8n | grep -E --color 'gnb|10.2.0.22|successfulOutcome|initiatingMessage|e2agent|'
+
+#kubectl -n ricplt logs r0-e2mgr-59f98778b7-8vbv2
+
+kubectl -n ricplt logs $(kubectl -n ricplt get pods | grep -o 'deployment-r0-e2mgr[^ ]*') $1 | grep -E --color '|successfulOutcome_t|initiatingMessage_t|saved to rNib|'