-
Notifications
You must be signed in to change notification settings - Fork 18
/
runUDM
executable file
·44 lines (40 loc) · 931 Bytes
/
runUDM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## run AMF COMMUNICATION SERVICE
#(cd ~/5GCORE/AMF/Namf_Communication
#python __init__.py)
#sleep 3
#&
## run SMF PDUSESSION SERVICE
#(cd ~/5GCORE/SMF/Nsmf_PDUSession
#python __init__.py)
#sleep 3
#&
## run AUSF SERVICE
#(cd ~/5GCORE/AUSF
#python __init__.py)
#sleep 3
#&
## run UDM UEAUTHENTICATION SERVICE
#(cd ~/5GCORE/UDM/Nudm_UEAuthentication
#python __init__.py)
#sleep 3
#&
## run UPF
#(cd ~/5GCORE/UPF
#python __init__.py)
#sleep 3
#&
## run AN
#(cd ~/5GCORE/UE
#python AN.py)
#!/bin/bash
trap "exit" 2
exit()
{
ps -ef | grep python | cut -c 9-15| xargs kill -s 9
}
#ps -ef | grep python | cut -c 9-15| xargs kill -s 9
python ~/5GCORE/UDM/Nudm_UEAuthentication/__init__.py \
& python ~/5GCORE/UDM/Nudm_EventExposure/__init__.py \
& python ~/5GCORE/UDM/Nudm_SubscribeDataManagement/__init__.py \
& python ~/5GCORE/UDM/Nudm_UEContextManagement/__init__.py \
& python ~/5GCORE/UDM/Nudm_ParameterProvision/__init__.py