801room / upf_p4_poc Goto Github PK
View Code? Open in Web Editor NEWThis project is a proof of concept for 5g upf based on p4.
This project is a proof of concept for 5g upf based on p4.
Hi, thanks for sharing.
Nowadays I wanna try this project but face the problem us that I couldn't send gtpu uplink or downlink with code util/mn-cmd h1a python /mininet/send_gtp_uplink.py
.
I have set the environment and also created PDU session.
Could you give me some advice about it?
BTW, the log of failure is "cannot find python" which looks like python problem, but I tried python /mininet/send_gtp_uplink.py
directly in the file, log shows that it sent 5 packet but cannot configure internet(of course this log shows), just wanna say the file works well actually.
Thanks for your help in advance.
Hello Sir,
I am trying to run your example but i don't have the ./cp-upf folder.
How can i get this folder.
Regards,
Getting below error after running the make build , post cloning the repo. The go.mod file is present in the same directory from which I am executing the make build.
@Rahul-Kaushik โ /workspaces/upf_p4_poc (main) $ make build
cp src/datapath/upf.p4 ngsdn-tutorial/p4src/main.p4
cd /workspaces/upf_p4_poc/ngsdn-tutorial && make p4-build
make[1]: Entering directory '/workspaces/upf_p4_poc/ngsdn-tutorial'
*** Building P4 program...
docker run --rm -v /workspaces/upf_p4_poc/ngsdn-tutorial:/workdir -w /workdir opennetworking/p4c:stable
p4c-bm2-ss --arch v1model -o p4src/build/bmv2.json
--p4runtime-files p4src/build/p4info.txt --Wdisable=unsupported
p4src/main.p4
*** P4 program compiled successfully! Output files are in p4src/build
make[1]: Leaving directory '/workspaces/upf_p4_poc/ngsdn-tutorial'
cp ngsdn-tutorial/p4src/build/bmv2.json build/
cp ngsdn-tutorial/p4src/build/p4info.txt build/
cd src/control/ && go build -o cp-upf main.go && mv cp-upf /workspaces/upf_p4_poc/build
go: github.com/antoninbas/[email protected]: missing go.sum entry for go.mod file; to add it:
go mod download github.com/antoninbas/p4runtime-go-client
go: github.com/antoninbas/[email protected]: missing go.sum entry for go.mod file; to add it:
go mod download github.com/antoninbas/p4runtime-go-client
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.