Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
bbadfb28
Commit
bbadfb28
authored
Apr 05, 2024
by
Jaroslava Fiedlerova
Committed by
sagar arora
May 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused awk scripts
parent
8de02dfa
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
124 deletions
+0
-124
ci-scripts/active_net_interfaces.awk
ci-scripts/active_net_interfaces.awk
+0
-21
ci-scripts/add_user_to_conf_file.awk
ci-scripts/add_user_to_conf_file.awk
+0
-33
ci-scripts/add_user_to_subscriber_list.awk
ci-scripts/add_user_to_subscriber_list.awk
+0
-27
ci-scripts/main.py
ci-scripts/main.py
+0
-4
ci-scripts/ran.py
ci-scripts/ran.py
+0
-1
ci-scripts/tcp_iperf_stats.awk
ci-scripts/tcp_iperf_stats.awk
+0
-38
No files found.
ci-scripts/active_net_interfaces.awk
deleted
100644 → 0
View file @
8de02dfa
#/*
# * 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"
}
ci-scripts/add_user_to_conf_file.awk
deleted
100644 → 0
View file @
8de02dfa
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
]
}
}
}
}
}
ci-scripts/add_user_to_subscriber_list.awk
deleted
100644 → 0
View file @
8de02dfa
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
]
}
}
}
}
}
ci-scripts/main.py
View file @
bbadfb28
...
@@ -611,10 +611,6 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
...
@@ -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
==
''
:
if
RAN
.
eNBIPAddress
==
''
or
RAN
.
eNBUserName
==
''
or
RAN
.
eNBPassword
==
''
or
RAN
.
eNBSourceCodePath
==
''
:
HELP
.
eNBSrvHelp
(
RAN
.
eNBIPAddress
,
RAN
.
eNBUserName
,
RAN
.
eNBPassword
,
RAN
.
eNBSourceCodePath
)
HELP
.
eNBSrvHelp
(
RAN
.
eNBIPAddress
,
RAN
.
eNBUserName
,
RAN
.
eNBPassword
,
RAN
.
eNBSourceCodePath
)
sys
.
exit
(
'Insufficient Parameter'
)
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
:
else
:
if
CiTestObj
.
UEIPAddress
==
''
or
CiTestObj
.
ranRepository
==
''
or
CiTestObj
.
ranBranch
==
''
or
CiTestObj
.
UEUserName
==
''
or
CiTestObj
.
UEPassword
==
''
or
CiTestObj
.
UESourceCodePath
==
''
:
if
CiTestObj
.
UEIPAddress
==
''
or
CiTestObj
.
ranRepository
==
''
or
CiTestObj
.
ranBranch
==
''
or
CiTestObj
.
UEUserName
==
''
or
CiTestObj
.
UEPassword
==
''
or
CiTestObj
.
UESourceCodePath
==
''
:
HELP
.
GenericHelp
(
CONST
.
Version
)
HELP
.
GenericHelp
(
CONST
.
Version
)
...
...
ci-scripts/ran.py
View file @
bbadfb28
...
@@ -366,7 +366,6 @@ class RANManagement():
...
@@ -366,7 +366,6 @@ class RANManagement():
self
.
testCase_id
=
HTML
.
testCase_id
self
.
testCase_id
=
HTML
.
testCase_id
mySSH
=
SSH
.
SSHConnection
()
mySSH
=
SSH
.
SSHConnection
()
cwd
=
os
.
getcwd
()
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
#Get pcap on enb and/or gnb if enabled in the xml
if
self
.
eNB_Trace
==
'yes'
:
if
self
.
eNB_Trace
==
'yes'
:
...
...
ci-scripts/tcp_iperf_stats.awk
deleted
100644 → 0
View file @
8de02dfa
#/*
# * 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"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment