diff --git a/ci-scripts/active_net_interfaces.awk b/ci-scripts/active_net_interfaces.awk deleted file mode 100644 index 6d1174c1cc913c5fcff490a33abdc96829e611cf..0000000000000000000000000000000000000000 --- a/ci-scripts/active_net_interfaces.awk +++ /dev/null @@ -1,21 +0,0 @@ -#/* -# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more -# * contributor license agreements. See the NOTICE file distributed with -# * this work for additional information regarding copyright ownership. -# * The OpenAirInterface Software Alliance licenses this file to You under -# * the OAI Public License, Version 1.1 (the "License"); you may not use this file -# * except in compliance with the License. -# * You may obtain a copy of the License at -# * -# * http://www.openairinterface.org/?page_id=698 -# * -# * Unless required by applicable law or agreed to in writing, software -# * distributed under the License is distributed on an "AS IS" BASIS, -# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# * See the License for the specific language governing permissions and -# * limitations under the License. -# *------------------------------------------------------------------------------- -# * For more information about the OpenAirInterface (OAI) Software Alliance: -# * contact@openairinterface.org -# */ -/inet.*brd/{print "interfaceToUse="$NF"done"} diff --git a/ci-scripts/add_user_to_conf_file.awk b/ci-scripts/add_user_to_conf_file.awk deleted file mode 100644 index b338d5e7ac073cc7cc31b5d7b50a36d682feb88c..0000000000000000000000000000000000000000 --- a/ci-scripts/add_user_to_conf_file.awk +++ /dev/null @@ -1,33 +0,0 @@ -BEGIN{lineIdx=0;captureUEDesc=0} -{ - if ($0 ~/UE0/) { - captureUEDesc = 1 - } - if (captureUEDesc == 1) { - captureLine[lineIdx] = $0 - lineIdx = lineIdx + 1 - } - print $0 -} -END { - for (ueIdx = 1; ueIdx < num_ues; ueIdx++) { - print "" - for (k = 0; k < lineIdx; k++) { - if (captureLine[k] ~/UE0/) { - mLine = captureLine[k] - gsub("UE0", "UE"ueIdx, mLine) - print mLine - } else { - if (captureLine[k] ~/MSIN=/) { - mLine = captureLine[k] - MSIN=sprintf("%08d", 1111+int(ueIdx)) - gsub("00001111", MSIN, mLine) - print mLine - } else { - print captureLine[k] - } - } - - } - } -} diff --git a/ci-scripts/add_user_to_subscriber_list.awk b/ci-scripts/add_user_to_subscriber_list.awk deleted file mode 100644 index 1e25990f59ff1c37d1094fc80041cc65824b147b..0000000000000000000000000000000000000000 --- a/ci-scripts/add_user_to_subscriber_list.awk +++ /dev/null @@ -1,27 +0,0 @@ -BEGIN{lineIdx=0} -{ - captureLine[lineIdx] = $0 - lineIdx = lineIdx + 1 - print $0 -} -END{ - for (ueIdx = 1; ueIdx < num_ues; ueIdx++) { - for (k = 0; k < lineIdx; k++) { - if (captureLine[k] ~/UserName=/) { - mLine = captureLine[k] - MSIN=sprintf("%08d", 1111+int(ueIdx)) - gsub("00001111", MSIN, mLine) - print mLine - } else { - if (captureLine[k] ~/SubscriptionIndex/) { - mLine = captureLine[k] - MSIN=sprintf("%d", 111+int(ueIdx)) - gsub("111", MSIN, mLine) - print mLine - } else { - print captureLine[k] - } - } - } - } -} diff --git a/ci-scripts/main.py b/ci-scripts/main.py index ad93646de910901b2e1b6194513fa8ef30f73d5f..2387032e378c7e831bab31e4859782dfc0d16a1c 100644 --- a/ci-scripts/main.py +++ b/ci-scripts/main.py @@ -611,10 +611,6 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re if RAN.eNBIPAddress == '' or RAN.eNBUserName == '' or RAN.eNBPassword == '' or RAN.eNBSourceCodePath == '': HELP.eNBSrvHelp(RAN.eNBIPAddress, RAN.eNBUserName, RAN.eNBPassword, RAN.eNBSourceCodePath) sys.exit('Insufficient Parameter') - - if (EPC.IPAddress!= '') and (EPC.IPAddress != 'none'): - SSH.copyout(EPC.IPAddress, EPC.UserName, EPC.Password, cwd + "/tcp_iperf_stats.awk", "/tmp") - SSH.copyout(EPC.IPAddress, EPC.UserName, EPC.Password, cwd + "/active_net_interfaces.awk", "/tmp") else: if CiTestObj.UEIPAddress == '' or CiTestObj.ranRepository == '' or CiTestObj.ranBranch == '' or CiTestObj.UEUserName == '' or CiTestObj.UEPassword == '' or CiTestObj.UESourceCodePath == '': HELP.GenericHelp(CONST.Version) diff --git a/ci-scripts/ran.py b/ci-scripts/ran.py index 52b9c79abf0c1ed97fce6262652e32faeedc783f..afa6036c7ea9e3a3c7c0e98732b9d0a3d8b19e78 100644 --- a/ci-scripts/ran.py +++ b/ci-scripts/ran.py @@ -366,7 +366,6 @@ class RANManagement(): self.testCase_id = HTML.testCase_id mySSH = SSH.SSHConnection() cwd = os.getcwd() - mySSH.copyout(lIpAddr,lUserName,lPassWord, cwd + "/active_net_interfaces.awk", "/tmp") #Get pcap on enb and/or gnb if enabled in the xml if self.eNB_Trace=='yes': diff --git a/ci-scripts/tcp_iperf_stats.awk b/ci-scripts/tcp_iperf_stats.awk deleted file mode 100644 index b21bf16a2ff7e2b2b0f8c85759671766fd501f24..0000000000000000000000000000000000000000 --- a/ci-scripts/tcp_iperf_stats.awk +++ /dev/null @@ -1,38 +0,0 @@ -#/* -# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more -# * contributor license agreements. See the NOTICE file distributed with -# * this work for additional information regarding copyright ownership. -# * The OpenAirInterface Software Alliance licenses this file to You under -# * the OAI Public License, Version 1.1 (the "License"); you may not use this file -# * except in compliance with the License. -# * You may obtain a copy of the License at -# * -# * http://www.openairinterface.org/?page_id=698 -# * -# * Unless required by applicable law or agreed to in writing, software -# * distributed under the License is distributed on an "AS IS" BASIS, -# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# * See the License for the specific language governing permissions and -# * limitations under the License. -# *------------------------------------------------------------------------------- -# * For more information about the OpenAirInterface (OAI) Software Alliance: -# * contact@openairinterface.org -# */ -BEGIN{max=0;min=10000} -{ - if ($0 ~/Mbits/) { - if ($0 ~/KBytes/) { - split($0,a,"KBytes") - } else { - split($0,a,"MBytes") - } - split(a[2],b) - if (b[1]>max) { - max=b[1] - } - if (b[1]<min) { - min=b[1] - } - } -} -END{print "Avg Bitrate : " b[1] " Mbits/sec Max Bitrate : " max " Mbits/sec Min Bitrate : " min " Mbits/sec"}