Skip to content

Gtpu tunnel#1

Open
mtirpak wants to merge 8 commits into
masterfrom
gtpu-tunnel
Open

Gtpu tunnel#1
mtirpak wants to merge 8 commits into
masterfrom
gtpu-tunnel

Conversation

@mtirpak

@mtirpak mtirpak commented Aug 24, 2020

Copy link
Copy Markdown
Collaborator

GTP-U tunnel support

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.
@mtirpak mtirpak requested a review from a team September 16, 2020 11:34
Comment thread src/platform_cfg.cpp
Comment on lines +300 to +303

if (node.FindValue("tunnel")) {
mac_info.m_tunnel = Tunnel::Parse(node["tunnel"]);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this only happens when building linux and not linux_dpdk

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@alexschwartz

Copy link
Copy Markdown

Dear emnify contributor,
this PR seems to be rather old. Can we either close this PR, or merge it?

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
Alex

@alexschwartz alexschwartz added the elderly PR This PR is a bit older; might be automatically closed during a cleanup label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

elderly PR This PR is a bit older; might be automatically closed during a cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants