Skip to content

Commit

Permalink
add trace example for NF deploy on different machines
Browse files Browse the repository at this point in the history
  • Loading branch information
calee0219 committed Dec 31, 2020
1 parent cc30f12 commit 7118936
Show file tree
Hide file tree
Showing 5 changed files with 9,861 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/free5gc-compose/README.md
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 added doc/free5gc-compose/free5gc-compose.pcap
Binary file not shown.
8,368 changes: 8,368 additions & 0 deletions doc/free5gc-compose/free5gc-compose_full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,410 changes: 1,410 additions & 0 deletions doc/free5gc-compose/free5gc-compose_simple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions doc/free5gc-compose/server.yaml
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"

0 comments on commit 7118936

Please sign in to comment.