From f43090fa018a7b0efddabe96f6512ddeb9b3126d Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 13 Sep 2023 15:07:59 +0200 Subject: [PATCH] CI: Wait for Attachment of UEs in L2sim 4G/5G tests --- ci-scripts/ci_ueinfra.yaml | 6 ++++++ ci-scripts/xml_files/container_4g_l2sim_tdd.xml | 10 +++++----- ci-scripts/xml_files/container_5g_l2sim_tdd.xml | 10 +++++----- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ci-scripts/ci_ueinfra.yaml b/ci-scripts/ci_ueinfra.yaml index 9ddee1d779..fc3cd03149 100644 --- a/ci-scripts/ci_ueinfra.yaml +++ b/ci-scripts/ci_ueinfra.yaml @@ -185,9 +185,12 @@ rfsim4g_enb_nos1: l2sim5g_ue: Host: localhost + AttachScript: docker start l2sim-oai-nr-ue0 + DetachScript: docker stop l2sim-oai-nr-ue0 NetworkScript: docker exec l2sim-oai-nr-ue0 ip a show dev oaitun_ue1 CmdPrefix: docker exec l2sim-oai-nr-ue0 IF: oaitun_ue1 + MTU: 1500 l2sim5g_ext_dn: Host: localhost @@ -196,9 +199,12 @@ l2sim5g_ext_dn: l2sim4g_ue: Host: localhost + AttachScript: docker start l2sim4g-oai-lte-ue1 + DetachScript: docker stop l2sim4g-oai-lte-ue1 NetworkScript: docker exec l2sim4g-oai-lte-ue1 ip a show dev oaitun_ue1 CmdPrefix: docker exec l2sim4g-oai-lte-ue1 IF: oaitun_ue1 + MTU: 1500 l2sim4g_ext_dn: Host: localhost diff --git a/ci-scripts/xml_files/container_4g_l2sim_tdd.xml b/ci-scripts/xml_files/container_4g_l2sim_tdd.xml index 22f4a8be3a..4ce82b54aa 100644 --- a/ci-scripts/xml_files/container_4g_l2sim_tdd.xml +++ b/ci-scripts/xml_files/container_4g_l2sim_tdd.xml @@ -32,7 +32,7 @@ 000001 000002 000003 - 000011 + 000004 200000 020001 020002 @@ -82,10 +82,10 @@ 10 - - IdleSleep - Sleep - 10 + + Attach_UE + Attach OAI UE + l2sim4g_ue diff --git a/ci-scripts/xml_files/container_5g_l2sim_tdd.xml b/ci-scripts/xml_files/container_5g_l2sim_tdd.xml index 6abadf2f4c..53a941a518 100644 --- a/ci-scripts/xml_files/container_5g_l2sim_tdd.xml +++ b/ci-scripts/xml_files/container_5g_l2sim_tdd.xml @@ -32,7 +32,7 @@ 000001 000002 000003 - 000011 + 000004 200000 020001 020002 @@ -80,10 +80,10 @@ 9 - - IdleSleep - Sleep - 10 + + Attach_UE + Attach OAI UE + l2sim5g_ue