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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
zzha zzha
OpenXG-RAN
Commits
41131bf9
Commit
41131bf9
authored
Sep 15, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating testcase for ping
parent
9c2785a7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+2
-0
ci-scripts/epc.py
ci-scripts/epc.py
+0
-5
ci-scripts/xml_files/fr1_sa_quectel.xml
ci-scripts/xml_files/fr1_sa_quectel.xml
+4
-2
No files found.
ci-scripts/cls_oaicitest.py
View file @
41131bf9
...
...
@@ -1539,6 +1539,8 @@ class OaiCiTest():
#target address is different depending on EPC type
if
re
.
match
(
'OAI-Rel14-Docker'
,
EPC
.
Type
,
re
.
IGNORECASE
):
Target
=
EPC
.
MmeIPAddress
elif
re
.
match
(
'OAICN5G'
,
EPC
.
Type
,
re
.
IGNORECASE
):
Target
=
'8.8.8.8'
else
:
Target
=
EPC
.
IPAddress
#ping from module NIC rather than IP address to make sure round trip is over the air
...
...
ci-scripts/epc.py
View file @
41131bf9
...
...
@@ -235,11 +235,6 @@ class EPCManagement():
mySSH
.
command
(
'mkdir -p '
+
self
.
SourceCodePath
+
'/scripts'
,
'\$'
,
5
)
mySSH
.
command
(
'cd /opt/oai-cn5g-fed/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
'./core-network.sh start nrf spgwu'
,
'\$'
,
60
)
#time.sleep(10)
#response = mySSH.command3('docker inspect --format=\'{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}\' oai-amf', 5)
#self.MmeIPAddress = str(response[0],'utf-8')
#self.MmeIPAddress.rstrip()
#logging.debug('AMF IP Address ' + self.MmeIPAddress)
else
:
logging
.
error
(
'This option should not occur!'
)
mySSH
.
close
()
...
...
ci-scripts/xml_files/fr1_sa_quectel.xml
View file @
41131bf9
...
...
@@ -31,6 +31,8 @@
010000
000001
050000
000002
050001
000001
010002
080000
...
...
@@ -81,7 +83,7 @@
<desc>
Ping: 20pings in 20sec
</desc>
<id>
nrmodule2_quectel
</id>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
0
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"050001"
>
...
...
@@ -89,7 +91,7 @@
<desc>
Ping: 100pings in 20sec
</desc>
<id>
nrmodule2_quectel
</id>
<ping_args>
-c 100 -i 0.2
</ping_args>
<ping_packetloss_threshold>
5
0
</ping_packetloss_threshold>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"070000"
>
...
...
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