Gtpu tunnel#1
Open
mtirpak wants to merge 8 commits into
Open
Conversation
Packets can be GTP-U encapsulated and decapsulated by configuring
the tunnel on a port as follows:
tunnel:
type: gtpu
src_address: 10.0.0.1
dst_address: 10.0.0.2
data_file: /etc/gtpu-tunnels.csv
The csv file shall include the list of endpoint-ip,src-teid,dst-teid
tripples.
The script adds the PDP contexts to EDA over gRPC and generates the csv file for gtpu-tunnel configuration.
Comment on lines
+300
to
+303
|
|
||
| if (node.FindValue("tunnel")) { | ||
| mac_info.m_tunnel = Tunnel::Parse(node["tunnel"]); | ||
| } |
There was a problem hiding this comment.
src/platform_cfg.cpp.1.o: In function `operator>>(YAML::Node const&, CMacYamlInfo&)':
/opt/trex/linux/build/../../src/platform_cfg.cpp:302: undefined reference to `Tunnel::Parse(YAML::Node const&)'
collect2: error: ld returned 1 exit status
The change leads to build errors
There was a problem hiding this comment.
Note this only happens when building linux and not linux_dpdk
Collaborator
Author
There was a problem hiding this comment.
The GTP-U encap/decap patch depends on DPDK, it utilizes a DPDK TX/RX callback on the interface. Hence, the PR cannot be compiled without DPDK.
Disabled the check for the iommu kernel parameter because the AWS EC2 instance do not have iommu support.
Randomize UDP src port used in GTPU encapsulation
|
Dear emnify contributor, By the way, if the repo is no longer in use, we can consider to archive this repo (and close all open PRs beforehand). In 4 weeks from now, this PR will be closed automatically. Cheers |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GTP-U tunnel support