forked from telekom/5g-trace-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add trace example for NF deploy on different machines
- Loading branch information
Showing
5 changed files
with
9,861 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 5g-trace-visualizer with free5gc-compose | ||
|
||
This is a example using 5g-trace-visualizer to trace message call flow on free5gc-compose | ||
|
||
The different between compose version and origin version is that free5gc originally run on localhost. It's difficultly to trace the sender of 5g call flow. | ||
|
||
With the compose version (NF deploy on different container), we can easily trace message flow sending procedure. | ||
|
||
## Related IP | ||
|
||
server.yaml shows the related IP address for each NF and interfaces. | ||
|
||
## Command | ||
|
||
The command used to generate the svg file as below: | ||
|
||
``` | ||
python3 5g-trace-visualizer/trace_visualizer.py -wireshark "OS" -http2ports "29507,38408,29504,29531,29509,29502,29510,29503,29518" -show_selfmessages True -openstackservers ./server.yaml -limit 300 ./f5gc5.pcap | ||
python3 5g-trace-visualizer/trace_visualizer.py -wireshark "OS" -http2ports "29507,38408,29504,29531,29509,29502,29510,29503,29518" -simple_diagrams True -show_selfmessages True -openstackservers ./server.yaml -limit 300 ./free5gc-compose.pcap # Simplify version | ||
``` | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
servers: | ||
'RAN': | ||
interfaces: | ||
n2: | ||
fixed: "10.100.200.1" | ||
n3: | ||
fixed: "10.100.200.1" | ||
'UE': | ||
interfaces: | ||
n1: | ||
fixed: "60.60.0.1" | ||
'DN': | ||
interfaces: | ||
n6: | ||
fixed: "60.60.0.101" | ||
'AMF': | ||
interfaces: | ||
n1: | ||
fixed: "10.100.200.11" | ||
n2: | ||
fixed: "10.100.200.11" | ||
namf: | ||
fixed: "10.100.200.11" | ||
'AUSF': | ||
interfaces: | ||
nausf: | ||
fixed: "10.100.200.6" | ||
'NRF': | ||
interfaces: | ||
nnrf: | ||
fixed: "10.100.200.4" | ||
'NSSF': | ||
interfaces: | ||
nnssf: | ||
fixed: "10.100.200.10" | ||
'PCF': | ||
interfaces: | ||
npcf: | ||
fixed: "10.100.200.7" | ||
'SMF': | ||
interfaces: | ||
nsmf: | ||
fixed: "10.100.200.9" | ||
n4: | ||
fixed: "10.100.200.9" | ||
'UDM': | ||
interfaces: | ||
nudm: | ||
fixed: "10.100.200.8" | ||
'UDR': | ||
interfaces: | ||
nudr: | ||
fixed: "10.100.200.12" | ||
'UPF': | ||
interfaces: | ||
n4: | ||
fixed: "10.100.200.3" | ||
n3: | ||
fixed: "10.100.200.3" | ||
n6: | ||
fixed: "10.100.200.3" |