-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to PTF framework (#805)
- Loading branch information
1 parent
aec3ca3
commit 82b7a1d
Showing
9 changed files
with
129 additions
and
151 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
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
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
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
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
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
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,29 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2024 Intel Corporation | ||
|
||
from ipaddress import IPv4Address | ||
|
||
# MAC addresses | ||
TREX_SRC_MAC = "b4:96:91:b4:4b:09" # Source MAC address for DL traffic | ||
UPF_CORE_MAC = "b4:96:91:b2:06:41" # MAC address of N6 for the UPF/BESS | ||
UPF_ACCESS_MAC = "b4:96:91:b2:06:40" # MAC address of N3 for the UPF/BESS | ||
|
||
# Port setup | ||
TREX_SENDER_PORT = 1 | ||
TREX_RECEIVER_PORT = 0 | ||
UPF_CORE_PORT = 1 | ||
UPF_ACCESS_PORT = 0 | ||
|
||
# test specs | ||
DURATION = 10 | ||
RATE = 100_000 # 100 Kpps | ||
UE_COUNT = 10_000 # 10k UEs | ||
PKT_SIZE = 64 | ||
PKT_SIZE_L = 1400 # Packet size for MBR test | ||
|
||
# IP addresses | ||
UE_IP_START = IPv4Address("16.0.0.1") | ||
GNB_IP = IPv4Address("11.1.1.129") | ||
N3_IP = IPv4Address("198.18.0.1") | ||
PDN_IP = IPv4Address("6.6.6.6") # Must be routable by route_control | ||
|
Oops, something went wrong.