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
Michael Black
OpenXG-RAN
Commits
917bea36
Commit
917bea36
authored
Feb 15, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve ci_ueinfra.yaml
parent
69fc7b11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
118 additions
and
101 deletions
+118
-101
ci-scripts/ci_ueinfra.yaml
ci-scripts/ci_ueinfra.yaml
+118
-101
No files found.
ci-scripts/ci_ueinfra.yaml
View file @
917bea36
idefix
:
idefix
:
ID
:
idefix
Host
:
idefix
State
:
enabled
InitScript
:
sudo stdbuf -oL /home/oaicicd/quectel-CM/quectel-CM -4 -s oai.ipv4 &> /tmp/quectel-cm.log &
Kind
:
quectel
TermScript
:
sudo -S killall --signal SIGKILL quectel-CM
Process
:
AttachScript
:
sudo python3 ci_ctl_qtel.py /dev/ttyUSB2 wup
Name
:
quectel-CM
DetachScript
:
sudo python3 ci_ctl_qtel.py /dev/ttyUSB2 detach
Cmd
:
/home/oaicicd/quectel-CM/quectel-CM -4 -s
UENetworkScript
:
ip a show dev wwan0
Apn
:
IF
:
wwan0
ltebox
:
oai.ipv4
MTU
:
1500
WakeupScript
:
ci_ctl_qtel.py /dev/ttyUSB2 wup
Trace
:
True
DetachScript
:
ci_ctl_qtel.py /dev/ttyUSB2 detach
LogStore
:
/media/usb-drive/ci_qlogs
LogStore
:
/media/usb-drive/ci_qlogs
PLMN
:
22201
UENetwork
:
wwan0
HostIPAddress
:
172.21.16.135
HostUsername
:
oaicicd
HostPassword
:
oaicicd
HostSourceCodePath
:
none
MTU
:
1500
nrmodule2_quectel
:
nrmodule2_quectel
:
ID
:
nrmodule2_quectel
Host
:
nrmodule2
State
:
enabled
InitScript
:
sudo stdbuf -oL /home/nrmodule2/quectel-CM/quectel-CM -4 -s oai.ipv4 &> /tmp/quecel-cm.log &
Kind
:
quectel
TermScript
:
sudo -S killall --signal SIGKILL quectel-CM
Process
:
AttachScript
:
sudo python3 ci_ctl_qtel.py /dev/ttyUSB2 wup
Name
:
quectel-CM
DetachScript
:
sudo python3 ci_ctl_qtel.py /dev/ttyUSB2 detach
Cmd
:
/home/nrmodule2/quectel-CM/quectel-CM -4 -s
UENetworkScript
:
ip a show dev wwan0
Apn
:
IF
:
wwan0
OAICN5G
:
oai
MTU
:
1500
OAI-Rel14-Docker
:
oai.ipv4
LogStore
:
/media/ci_qlogs
WakeupScript
:
ci_ctl_qtel.py /dev/ttyUSB2 wup
DetachScript
:
ci_ctl_qtel.py /dev/ttyUSB2 detach
LogStore
:
/media/ci_qlogs
PLMN
:
20897
UENetwork
:
wwan0
HostIPAddress
:
172.21.16.139
HostUsername
:
nrmodule2
HostPassword
:
linux
HostSourceCodePath
:
none
StartCommands
:
-
sudo -S ip link set dev wwan1 mtu
1500
MTU
:
1500
# CAUTION: 192.168.18.89 address has to be changed when the server is moved
#single UE single ping
amarisoft_ue_1
:
ID
:
amarisoft_ue_1
State
:
enabled
Kind
:
amarisoft
#not required for AS config but needed for py script
WakeupScript
:
none
DetachScript
:
none
#end
Cmd
:
/root/NV18-06-2022/ue/lteue
Config
:
/root/NV17-12-21/ue/config/oaicicd-ue-Ping-SATest.cfg
Duration
:
60
Ping
:
/tmp/test_ue1.log
UELog
:
/tmp/ue1.log
HostIPAddress
:
172.21.16.144
HostUsername
:
root
HostPassword
:
toor
HostSourceCodePath
:
/tmp
adb_ue_1
:
Host
:
nano
InitScript
:
/home/oaicicd/ci_ctl_adb.sh initialize 5200a933fee93521
TermScript
:
/home/oaicicd/ci_ctl_adb.sh terminate 5200a933fee93521
AttachScript
:
/home/oaicicd/ci_ctl_adb.sh attach 5200a933fee93521
DetachScript
:
/home/oaicicd/ci_ctl_adb.sh detach 5200a933fee93521
CheckStatusScript
:
/home/oaicicd/ci_ctl_adb.sh check 5200a933fee93521
DataEnableScript
:
adb -s 5200a933fee93521 shell "svc data enable"
DataDisableScript
:
adb -s 5200a933fee93521 shell "svc data disable"
UENetworkScript
:
adb -s 5200a933fee93521 shell "ip address show | grep rmnet"
CmdPrefix
:
adb -s 5200a933fee93521 shell
MTU
:
1500
LogStore
:
/media/usb-drive/ci_adb_1-logs
adb_ue_2
:
Host
:
nano
InitScript
:
/home/oaicicd/ci_ctl_adb.sh initialize 5200c00db4413517
TermScript
:
/home/oaicicd/ci_ctl_adb.sh terminate 5200c00db4413517
AttachScript
:
/home/oaicicd/ci_ctl_adb.sh attach 5200c00db4413517
DetachScript
:
/home/oaicicd/ci_ctl_adb.sh detach 5200c00db4413517
CheckStatusScript
:
/home/oaicicd/ci_ctl_adb.sh check 5200c00db4413517
DataEnableScript
:
adb -s 5200c00db4413517 shell "svc data enable"
DataDisableScript
:
adb -s 5200c00db4413517 shell "svc data disable"
UENetworkScript
:
adb -s 5200c00db4413517 shell "ip address show | grep rmnet"
CmdPrefix
:
adb -s 5200c00db4413517 shell
MTU
:
1500
LogStore
:
/media/usb-drive/ci_adb_2-logs
#an other scenario example
amarisoft_ue
:
#notice : this will not work as such, only suggestion for multi ue scenario
Host
:
amariue
InitScript
:
nohup /root/NV18-06-2022/ue/lteue /root/NV18-06-2022/ue/config/oaicicd-ue-ci-test.cfg &
TermScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"quit"}'
amarisoft_ue_1
:
Host
:
amariue
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":1}'
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":1}'
UENetworkScript
:
ip netns exec ue1 ip a show dev pdn0
CmdPrefix
:
ip netns exec ue1
MTU
:
1500
amarisoft_ue_2
:
amarisoft_ue_2
:
ID
:
amarisoft_ue_2
Host
:
amariue
State
:
enabled
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":2}'
Kind
:
amarisoft
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":2}'
#not required for AS config but needed for py script
UENetworkScript
:
ip netns exec ue2 ip a show dev pdn0
WakeupScript
:
none
CmdPrefix
:
ip netns exec ue2
DetachScript
:
none
MTU
:
1500
#end
amarisoft_ue_3
:
Cmd
:
/root/NV18-06-2022/ue/lteue
Host
:
amariue
Config
:
/root/NV17-12-21/ue/config/xxxxxxx.cfg
#to be updated for an other scenario
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":3}'
Duration
:
60
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":3}'
Ping
:
UENetworkScript
:
ip netns exec ue3 ip a show dev pdn0
-
/tmp/test_ue1.log
#to be updated fo an other scenario
CmdPrefix
:
ip netns exec ue3
-
/tmp/test_ue2.log
#could be a list for a multi ue scenario
MTU
:
1500
UELog
:
amarisoft_ue_4
:
-
/tmp/ue1.log
Host
:
amariue
-
/tmp/ue1.log
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":4}'
HostIPAddress
:
192.168.18.89
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":4}'
HostUsername
:
root
UENetworkScript
:
ip netns exec ue4 ip a show dev pdn0
HostPassword
:
toor
CmdPrefix
:
ip netns exec ue4
HostSourceCodePath
:
/tmp
MTU
:
1500
amarisoft_ue_5
:
Host
:
amariue
#do not remove
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":5}'
dummy
:
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":5}'
ID
:
'
'
UENetworkScript
:
ip netns exec ue5 ip a show dev pdn0
State
:
'
'
CmdPrefix
:
ip netns exec ue5
Kind
:
'
'
MTU
:
1500
Process
:
amarisoft_ue_6
:
Name
:
'
'
Host
:
amariue
Cmd
:
'
'
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":6}'
WakeupScript
:
'
'
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":6}'
DetachScript
:
'
'
UENetworkScript
:
ip netns exec ue6 ip a show dev pdn0
PLMN
:
22201
CmdPrefix
:
ip netns exec ue6
UENetwork
:
wwan0
MTU
:
1500
HostIPAddress
:
172.21.16.135
amarisoft_ue_7
:
HostUsername
:
oaicicd
Host
:
amariue
HostPassword
:
oaicicd
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":7}'
HostSourceCodePath
:
none
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":7}'
UENetworkScript
:
ip netns exec ue7 ip a show dev pdn0
CmdPrefix
:
ip netns exec ue7
MTU
:
1500
amarisoft_ue_8
:
Host
:
amariue
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":8}'
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":8}'
UENetworkScript
:
ip netns exec ue8 ip a show dev pdn0
CmdPrefix
:
ip netns exec ue8
MTU
:
1500
amarisoft_ue_9
:
Host
:
amariue
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":9}'
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":9}'
UENetworkScript
:
ip netns exec ue9 ip a show dev pdn0
CmdPrefix
:
ip netns exec ue9
MTU
:
1500
amarisoft_ue_10
:
Host
:
amariue
AttachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_on","ue_id":10}'
DetachScript
:
/root/NV18-06-2022/lteue-linux-2022-06-18/doc/ws.js 127.0.0.1:9002 '{"message":"power_off","ue_id":10}'
UENetworkScript
:
ip netns exec ue10 ip a show dev pdn0
CmdPrefix
:
ip netns exec ue10
MTU
:
1500
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