Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-fed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
cn5g
oai-cn5g-fed
Commits
1bfefb47
Commit
1bfefb47
authored
7 months ago
by
Raphael Defosseux
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_ul_cl_tutorial_for_qos' into 'develop'
Fix UL CL Scenario for QoS See merge request
!178
parents
c725b85f
0e786d3e
No related branches found
Branches containing commit
Tags
2024.w31
Tags containing commit
1 merge request
!178
Fix UL CL Scenario for QoS
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose/policies/ulcl/pcc_rules/pcc_rules.yaml
+1
-1
1 addition, 1 deletion
docker-compose/policies/ulcl/pcc_rules/pcc_rules.yaml
docs/DEPLOY_SA5G_ULCL.md
+66
-69
66 additions, 69 deletions
docs/DEPLOY_SA5G_ULCL.md
with
67 additions
and
70 deletions
docker-compose/policies/ulcl/pcc_rules/pcc_rules.yaml
+
1
−
1
View file @
1bfefb47
...
...
@@ -7,7 +7,7 @@ internet-rule:
edge-rule-restricted
:
flowInfos
:
-
flowDescription
:
permit out ip from 1
.1.1.2
to assigned
-
flowDescription
:
permit out ip from 1
92.168.76.160
to assigned
precedence
:
9
refTcData
:
-
edge-scenario
...
...
This diff is collapsed.
Click to expand it.
docs/DEPLOY_SA5G_ULCL.md
+
66
−
69
View file @
1bfefb47
...
...
@@ -260,32 +260,32 @@ docker-compose-host $: ../ci-scripts/checkTsharkCapture.py --log_file /tmp/oai/u
This capture contains all the UP network interfaces.
Then, we generate ICMP traffic to
`1
.1.1.1`
and
`1.1.1.2`
:
Then, we generate ICMP traffic to
`1
92.168.75.160`
(ext-dn internet) and
`192.168.76.160`
(ext-dn edge)
:
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp ping
-I
12.1.1.2
-c4
1
.1.1.2
PING 1
.1.1.2 (1.1.1.2
) from 12.1.1.2 : 56(84) bytes of data.
64 bytes from 1
.1.1.2
: icmp_seq=1 ttl=
54
time=
10.
7 ms
64 bytes from 1
.1.1.2
: icmp_seq=2 ttl=
54
time=
1
0.
9
ms
64 bytes from 1
.1.1.2
: icmp_seq=3 ttl=
54
time=
9.28
ms
64 bytes from 1
.1.1.2
: icmp_seq=4 ttl=
54
time=
9.12
ms
docker-compose-host $
: docker
exec
-it
gnbsim-vpp ping
-I
12.1.1.2
-c4
1
92.168.75.160
PING 1
92.168.75.160 (192.168.75.160
) from 12.1.1.2 : 56(84) bytes of data.
64 bytes from 1
92.168.75.160
: icmp_seq=1 ttl=
63
time=
9.8
7 ms
64 bytes from 1
92.168.75.160
: icmp_seq=2 ttl=
63
time=0.
368
ms
64 bytes from 1
92.168.75.160
: icmp_seq=3 ttl=
63
time=
0.401
ms
64 bytes from 1
92.168.75.160
: icmp_seq=4 ttl=
63
time=
0.423
ms
--- 1
.1.1.2
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
0
3ms
rtt min/avg/max/mdev =
9.116/10.005/10.93
4/
0
.8
15
ms
--- 1
92.168.75.160
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
4
3ms
rtt min/avg/max/mdev =
0.368/2.76
4/
9
.8
67/4.100
ms
```
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp ping
-I
12.1.1.2
-c4
1.1.1.1
PING 1
.1.1.1 (1.1.1.1
) from 12.1.1.2 : 56(84) bytes of data.
64 bytes from 1
.1.1.1
: icmp_seq=1 ttl=
54
time=
12
.7 ms
64 bytes from 1
.1.1.1
: icmp_seq=2 ttl=
54
time=
11.0
ms
64 bytes from 1
.1.1.1
: icmp_seq=3 ttl=
54
time=
9.73
ms
64 bytes from 1
.1.1.1
: icmp_seq=4 ttl=
54
time=
17.2
ms
PING 1
92.168.76.160 (192.168.76.160
) from 12.1.1.2 : 56(84) bytes of data.
64 bytes from 1
92.168.76.160
: icmp_seq=1 ttl=
63
time=
5
.7
1
ms
64 bytes from 1
92.168.76.160
: icmp_seq=2 ttl=
63
time=
0.487
ms
64 bytes from 1
92.168.76.160
: icmp_seq=3 ttl=
63
time=
0.459
ms
64 bytes from 1
92.168.76.160
: icmp_seq=4 ttl=
63
time=
0.468
ms
--- 1
.1.1.1
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
0
5ms
rtt min/avg/max/mdev =
9.725/12.668/17.231/2.843
ms
--- 1
92.168.76.160
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 305
0
ms
rtt min/avg/max/mdev =
0.459/1.781/5.710/2.268
ms
```
<!--
...
...
@@ -294,10 +294,10 @@ For CI purposes please ignore these lines
*
192.168.76.160 is oai-ext-dn-edge
```
shell
docker-compose-host
$:
docker
exec
gnbsim-vpp /bin/bash
-c
'traceroute -4 -T -s 12.1.1.2 1
.1.1.1
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue0-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp /bin/bash
-c
'traceroute -4 -T -s 12.1.1.2 1
.1.1.2
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue0-test1.log
docker-compose-host
$:
grep
192.168.75.160
/tmp/oai/ulcl-scenario/ue0-test0.log
docker-compose-host
$:
grep
192.168.76.160
/tmp/oai/ulcl-scenario/ue0-test1.log
docker-compose-host
$:
docker
exec
gnbsim-vpp /bin/bash
-c
'traceroute -4 -T -s 12.1.1.2 1
92.168.75.160
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue0-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp /bin/bash
-c
'traceroute -4 -T -s 12.1.1.2 1
92.168.76.160
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue0-test1.log
docker-compose-host
$:
tail
-1
/tmp/oai/ulcl-scenario/ue0-test0.log
|
grep
192.168.75.160
docker-compose-host
$:
tail
-1
/tmp/oai/ulcl-scenario/ue0-test1.log
|
grep
192.168.76.160
```
-->
...
...
@@ -351,43 +351,42 @@ docker-compose-host $: ../ci-scripts/checkTsharkCapture.py --log_file /tmp/oai/u
```
-->
Then, as before, we ping
`1.1.1.1`
and
`1.1.1.2`
.
Now we ping
`192.168.76.160`
(ext-dn edge) and
`8.8.8.8`
(any IP)
.
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp2 ping
-I
12.1.1.3
-c4
1
.1.1.2
PING 1
.1.1.2 (1.1.1.2
) from 12.1.1.3 : 56(84) bytes of data.
64 bytes from 1
.1.1.2
: icmp_seq=1 ttl=
114
time=
29.3
ms
64 bytes from 1
.1.1.2
: icmp_seq=2 ttl=
114
time=
18.8
ms
64 bytes from 1
.1.1.2
: icmp_seq=3 ttl=
114
time=
25.4
ms
64 bytes from 1
.1.1.2
: icmp_seq=4 ttl=
114
time=
15.2
ms
docker-compose-host $
: docker
exec
-it
gnbsim-vpp2 ping
-I
12.1.1.3
-c4
1
92.168.76.160
PING 1
92.168.76.160 (192.168.76.160
) from 12.1.1.3 : 56(84) bytes of data.
64 bytes from 1
92.168.76.160
: icmp_seq=1 ttl=
63
time=
0.577
ms
64 bytes from 1
92.168.76.160
: icmp_seq=2 ttl=
63
time=
0.402
ms
64 bytes from 1
92.168.76.160
: icmp_seq=3 ttl=
63
time=
0.405
ms
64 bytes from 1
92.168.76.160
: icmp_seq=4 ttl=
63
time=
0.411
ms
--- 1
.1.1.2
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 300
3
ms
rtt min/avg/max/mdev =
15.200/22.169/29.265/5.48
4 ms
--- 1
92.168.76.160
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
8
0ms
rtt min/avg/max/mdev =
0.402/0.448/0.577/0.07
4 ms
```
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp2 ping
-I
12.1.1.3
-c4
1.1.1.1
PING
1.1.1.1 (1.1.1.1
) from 12.1.1.3 : 56(84) bytes of data.
64 bytes from
1.1.1.1
: icmp_seq=1 ttl=
55
time=
15.7
ms
64 bytes from
1.1.1.1
: icmp_seq=2 ttl=
55
time=
19
.8 ms
64 bytes from
1.1.1.1
: icmp_seq=3 ttl=
55
time=
9.77
ms
64 bytes from
1.1.1.1
: icmp_seq=4 ttl=
55
time=
12.3
ms
---
1.1.1.1
ping statistics ---
docker-compose-host $
: docker
exec
-it
gnbsim-vpp2 ping
-I
12.1.1.3
-c4
8.8.8.8
PING
8.8.8.8 (8.8.8.8
) from 12.1.1.3 : 56(84) bytes of data.
64 bytes from
8.8.8.8
: icmp_seq=1 ttl=
112
time=
28.9
ms
64 bytes from
8.8.8.8
: icmp_seq=2 ttl=
112
time=
22
.8 ms
64 bytes from
8.8.8.8
: icmp_seq=3 ttl=
112
time=
22.6
ms
64 bytes from
8.8.8.8
: icmp_seq=4 ttl=
112
time=
21.4
ms
---
8.8.8.8
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev =
9.766/14.397/19.823/3.785
ms
rtt min/avg/max/mdev =
21.407/23.939/28.871/2.899
ms
```
<!--
For CI purposes please ignore these lines
we use 1.1.1.1 and 1.1.1.2 as it serves HTTP, so we can verify if the UL CL works properly in the generated traces
*
192.168.76.160 is oai-ext-dn-edge
```
shell
docker-compose-host
$:
docker
exec
gnbsim-vpp2 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.3 1
.1.1.1
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue1-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp2 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.3 1.1.1.
2
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue1-test1.log
docker-compose-host
$:
grep
192.168.76.160
/tmp/oai/ulcl-scenario/ue1-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp2 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.3 1
92.168.76.160
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue1-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp2 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.3 1.1.1.
1
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue1-test1.log
docker-compose-host
$:
tail
-1
/tmp/oai/ulcl-scenario/ue1-test0.log
|
grep
192.168.76.160
docker-compose-host
$:
grep
192.168.76.160 /tmp/oai/ulcl-scenario/ue1-test1.log
```
-->
...
...
@@ -433,43 +432,41 @@ docker-compose-host $: ../ci-scripts/checkTsharkCapture.py --log_file /tmp/oai/u
```
-->
Again, w
e generate traffic using pings to 1
.1.1.2 and 1.1.1.1
.
W
e generate traffic using pings to 1
92.168.75.160 (ext-dn Internet) and 8.8.8.8
.
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp3 ping
-I
12.1.1.4
-c4
1.1.1.2
PING 1.1.1.2 (1.1.1.2) from 12.1.1.4 : 56(84) bytes of data.
64 bytes from 1.1.1.2: icmp_seq=1 ttl=114 time=29.3 ms
64 bytes from 1.1.1.2: icmp_seq=2 ttl=114 time=18.8 ms
64 bytes from 1.1.1.2: icmp_seq=3 ttl=114 time=25.4 ms
64 bytes from 1.1.1.2: icmp_seq=4 ttl=114 time=15.2 ms
docker-compose-host $
: docker
exec
-it
gnbsim-vpp3 ping
-I
12.1.1.4
-c4
192.168.75.160
64 bytes from 192.168.75.160: icmp_seq=1 ttl=63 time=0.690 ms
64 bytes from 192.168.75.160: icmp_seq=2 ttl=63 time=0.451 ms
64 bytes from 192.168.75.160: icmp_seq=3 ttl=63 time=0.560 ms
64 bytes from 192.168.75.160: icmp_seq=4 ttl=63 time=0.419 ms
--- 1
.1.1.2
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
03
ms
rtt min/avg/max/mdev =
15.200/22.169/29.265/5.484
ms
--- 1
92.168.75.160
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 30
66
ms
rtt min/avg/max/mdev =
0.419/0.530/0.690/0.106
ms
```
```
console
docker-compose-host $
: docker
exec
-it
gnbsim-vpp3 ping
-I
12.1.1.4
-c4
1.1.1.1
PING
1.1.1.1 (1.1.1.1
) from 12.1.1.4 : 56(84) bytes of data.
64 bytes from
1.1.1.1
: icmp_seq=1 ttl=
55
time=
15.7
ms
64 bytes from
1.1.1.1
: icmp_seq=2 ttl=
55
time=
19.8
ms
64 bytes from
1.1.1.1
: icmp_seq=3 ttl=
55
time=
9.77
ms
64 bytes from
1.1.1.1
: icmp_seq=4 ttl=
55
time=
12.3
ms
---
1.1.1.1
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 300
5
ms
rtt min/avg/max/mdev =
9.766/14.397/19.823/3.78
5 ms
docker-compose-host $
: docker
exec
-it
gnbsim-vpp3 ping
-I
12.1.1.4
-c4
8.8.8.8
PING
8.8.8.8 (8.8.8.8
) from 12.1.1.4 : 56(84) bytes of data.
64 bytes from
8.8.8.8
: icmp_seq=1 ttl=
112
time=
24.6
ms
64 bytes from
8.8.8.8
: icmp_seq=2 ttl=
112
time=
22.4
ms
64 bytes from
8.8.8.8
: icmp_seq=3 ttl=
112
time=
21.3
ms
64 bytes from
8.8.8.8
: icmp_seq=4 ttl=
112
time=
21.8
ms
---
8.8.8.8
ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 300
4
ms
rtt min/avg/max/mdev =
21.264/22.507/24.612/1.27
5 ms
```
<!--
For CI purposes please ignore these lines
we use 1.1.1.1 and 1.1.1.2 as it serves HTTP, so we can verify if the UL CL works properly in the generated traces
*
192.168.75.160 is oai-ext-dn-internet
```
shell
docker-compose-host
$:
docker
exec
gnbsim-vpp3 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.4 1
.1.1.1
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue2-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp3 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.4 1.1.1.
2
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue2-test1.log
docker-compose-host
$:
grep
192.168.75.160
/tmp/oai/ulcl-scenario/ue2-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp3 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.4 1
92.168.75.160
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue2-test0.log
docker-compose-host
$:
docker
exec
gnbsim-vpp3 /bin/bash
-c
'traceroute -4 -T -s 12.1.1.4 1.1.1.
1
'
2>&1 |
tee
/tmp/oai/ulcl-scenario/ue2-test1.log
docker-compose-host
$:
tail
-1
/tmp/oai/ulcl-scenario/ue2-test0.log
|
grep
192.168.75.160
docker-compose-host
$:
grep
192.168.75.160 /tmp/oai/ulcl-scenario/ue2-test1.log
```
-->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment