-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0d778d
commit 703a5f9
Showing
20 changed files
with
287 additions
and
118 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,94 @@ | ||
# Docker container workspace. | ||
WORKSPACE=/workspaces | ||
|
||
BPF_SAMPLES_DIR="${WORKSPACE}"/build/samples | ||
BPF_BINARY_DIR="${WORKSPACE}"/build/tests | ||
|
||
# Compilation environment variable. | ||
NUM_THREADS= | ||
|
||
# Docker environment variable. | ||
USERNAME=oai-spgwu | ||
IMAGE_TAG=upee | ||
IMAGE_VERSION=v1.0 | ||
DOCKERFILE=Dockerfile | ||
SSH_FOLDER=~/.ssh | ||
SSH_PUBLIC_KEY_FILE=id_rsa.pub | ||
SSH_PRIVATE_KEY_FILE=id_rsa | ||
SSH_CONFIG_FILE=config | ||
GIT_CONFIG=~/.gitconfig | ||
BASH_RC=~/.bashrc | ||
|
||
# TODO navarrothiago - Remove hardcoded https://github.com/navarrothiago/upf-bpf/issues/24 | ||
DEVICE_IN= | ||
DEVICE_OUT_UL= | ||
DEVICE_OUT_DL= | ||
|
||
# TODO navarrothiago - pass as exec param. | ||
GTP_INTERFACE= | ||
UDP_INTERFACE= | ||
SOCKET_BUFFER_ENABLED=0 | ||
|
||
# Test environment variables. | ||
TEST_CASE=hello_world | ||
GTEST_FILTER_ARGS="*.*" | ||
|
||
# Jump server. | ||
JUMP_SERVER_NAME= | ||
JUMP_SERVER_USERNAME= | ||
JUMP_SERVER_IP= | ||
JUMP_SERVER_PORT= | ||
|
||
# Trex version. | ||
TREX_VERSION=v2.87 | ||
TREX_SHA256SUM=290c1be468335a2de2e69f217b139c9b1198732e529bfd069348d05297548b8a | ||
|
||
# Trex server configuration. | ||
TREX_SERVER_NAME= # Warning: Optional - If you set the name, it must be configured on your ssh config. | ||
TREX_SERVER_IP= | ||
TREX_SERVER_ASYNC_PORT= | ||
TREX_SERVER_SYNC_PORT= | ||
TREX_SERVER_USERNAME= | ||
TREX_SERVER_SSH="${TREX_SERVER_NAME}" | ||
# TREX_SERVER_SSH="${TREX_SERVER_USERNAME}"@"${TREX_SERVER_IP}" | ||
TREX_SERVER_UPLOAD_DIR= | ||
TREX_SERVER_DIR="${TREX_SERVER_UPLOAD_DIR}"/"${TREX_VERSION}" | ||
|
||
# Trex client configuration. | ||
TREX_CLIENT_NAME= # Warning: Optional - If you set the name, it must be configured on your ssh config. | ||
TREX_CLIENT_IP= | ||
TREX_CLIENT_USERNAME= | ||
TREX_CLIENT_SSH="${TREX_CLIENT_NAME}" | ||
# TREX_CLIENT_SSH="${TREX_CLIENT_USERNAME}"@"${TREX_CLIENT_IP}" | ||
TREX_CLIENT_UPLOAD_DIR= | ||
TREX_CLIENT_DIR="${TREX_CLIENT_UPLOAD_DIR}"/trex_client | ||
TREX_CLIENT_LIB_DIR="${TREX_CLIENT_DIR}"/interactive | ||
|
||
# DUT - Device Under Test Configuration. | ||
DUT_NAME= # Warning: Optional - If you set the name, it must be configured on your ssh config. | ||
DUT_IP= | ||
DUT_USERNAME= | ||
DUT_UPLOAD_DIR= | ||
|
||
# Test local configuration. | ||
LOCAL_CONFIG_DIR="${WORKSPACE}"/tests/trex/config | ||
LOCAL_TRAFFIC_DIR="${WORKSPACE}"/tests/trex/traffic | ||
LOCAL_TEST_CASES_DIR="${WORKSPACE}"/tests/trex/test_cases | ||
LOCAL_SERVER_UPLOAD_DIR="${WORKSPACE}"/tests/trex | ||
LOCAL_PACKAGE="${WORKSPACE}"/package | ||
|
||
# Test remote configuration | ||
REMOTE_CONFIG_DIR="${TREX_SERVER_UPLOAD_DIR}"/config | ||
REMOTE_TRAFFIC_DIR="${TREX_SERVER_UPLOAD_DIR}"/traffic | ||
REMOTE_TEST_CASES_DIR="${TREX_SERVER_UPLOAD_DIR}"/test_cases | ||
|
||
# SSH port forwarding configuration | ||
LOCAL_HTTP_SSH_PORT_FORWARDING= | ||
LOCAL_TREX_SYNC_SSH_PORT_FORWARDING= | ||
LOCAL_TREX_ASYNC_SSH_PORT_FORWARDING= | ||
API_HTTP_PORT= | ||
|
||
# Programs name | ||
API_PROGRAM_NAME=api | ||
|
||
PYTHONPATH=/workspaces/tests/trex/trex_client/interactive/ |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
bin/bpftool filter=lfs diff=lfs merge=lfs -text | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
|
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ tests/trex/v* | |
tests/trex/trex_client | ||
tests/reports/*.json | ||
*.png | ||
env.sh |
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
Oops, something went wrong.