Comments (9)
Someone might have that particular VM image still around in order to make the link work again, but I do not. We will see if someone else responds that has that particular version.
There is a potential issue that a few things have changed in the P4 language examples since the ones given in SIGCOMM 2019, but if you are willing to work through those differences, and maybe even consider updating any README or other instructional material for those differences, there are pre-built VM images from the latest P4 development tools source code available here, as linked in the current README of this repository: https://github.com/jafingerhut/p4-guide/blob/master/bin/README-install-troubleshooting.md
from tutorials.
Thanks for the response!
Given the additional potential issues with changes that you mentioned is there any newer P4 tutorial/exercise I could assign (obviously I don't have a lot of time to research to find one :) )
from tutorials.
I have not gone through all of the steps of the latest version of the code's exercises/basic, exercises/firewall, and exercises/link_monitor directories myself with the latest P4 development tools, but I would not be terribly surprised if they just worked. I also would not be terribly surprised if small issues arose, for which you could ask questions in issues here and others may be able to help.
The link you gave in your original issue also has instructions for creating a VM, which if I recall correctly will attempt to create a VM running Ubuntu 16.04 Linux. I don't know if those instructions still work, but you could try creating a new VM following those steps and see what happens.
from tutorials.
from tutorials.
so .... option 1 link is not working ..... option 2 VM link working but vagrant up not working ...... no USB for option 3 :(
from tutorials.
If you or a TA/grad student/active-talented-student-in-your-class can use a recently built VM from 2023, and the latest version of the p4lang/tutorials repo (not the version on the sigcomm19 branch), I would recommend trying that out. Most things should just work, I expect. If you have trouble, please ask in an issue or comment here.
from tutorials.
FYI, at least for the basic forwarding exercise, I test that every month with the latest version of the VM, and I know it can ping with the solution to the exercise.
from tutorials.
from tutorials.
There is a link to this page from the top level p4lang/tutorials README in the section on setting up the software, but for your convenience here is a direct link to a page I maintain that has a table with pre-built VMs running that can be loaded into VirtualBox on Windows or macOS host systems (I presume also on VirtualBox running on a Linux system, although I have not tested that myself). They were created by running the instructions vagrant up
or vagrant up dev
in the p4lang/tutorials README, so contain the same software you would get following those instructions.
https://github.com/jafingerhut/p4-guide/blob/master/bin/README-install-troubleshooting.md
And here is a direct link to one of the pre-built VMs, the ~2 GBytes release VM created on 2023-Mar-03: https://drive.google.com/file/d/11aFyxC9Bau2y1P60M_NtD4MDxRqsLeV2/view?usp=share_link
from tutorials.
Related Issues (20)
- MRI example,how does the P4 get theinformationof the switch when it is running? HOT 1
- Output format problem of flow table item in mycontroller.py in P4 runtime HOT 2
- IPv6 issue HOT 1
- Connection refused HOT 1
- How to obtain higher-precision processing delay HOT 4
- Get queues length HOT 1
- Test the programs in the exercises folder with PTF HOT 2
- make run mkdir -p build pcaps logs sudo python3 ../../utils/run_exercise.py -t topology.json -j build/ python3: can't open file '/home/chinni12/tutorials/utils/../../utils/run_exercise.py': [Errno 2] No such file or directory make: *** [Makefile:35: run] Error 2 HOT 2
- Building mininet topology. Traceback (most recent call last): File "/home/snsrl3/Documents/tutorials-master/exercises/basic_tunnel/../../utils/run_exercise.py", line 387, in <module> exercise.run_exercise() File "/home/snsrl3/Documents/tutorials-master/exercises/basic_tunnel/../../utils/run_exercise.py", line 195, in run_exercise self.create_network() File "/home/snsrl3/Documents/tutorials-master/exercises/basic_tunnel/../../utils/run_exercise.py", line 256, in create_network self.net = Mininet(topo = self.topo, File "/usr/local/lib/python3.10/dist-packages/mininet/net.py", line 178, in __init__ self.build() HOT 1
- ping issue HOT 1
- n error occurred during make run Traceback (most recent call last): File "../../utils/run_exercise.py", line 28, in <module> import p4runtime_lib.simple_controller File "/home/inspur/p4/tutorials/utils/p4runtime_lib/simple_controller.py", line 22, in <module> from p4.config.v1 import p4info_pb2 ModuleNotFoundError: No module named 'p4.config' HOT 6
- Way to disable the functionality to write the switch logging into a file? HOT 1
- The "behavioral-model" folder can not be found in the P4 tutorial VM HOT 4
- Permission to submit p4_16-mode.el to MELPA HOT 3
- The thrift server did not start in the basic.p4 exercise even when configuring simple_switch_grpc with the "--with-thrift" option. HOT 8
- VM login and password HOT 8
- To what extent can P4 extract attributes/headers/etc from HTTPS packets HOT 1
- cpu_port support HOT 1
- Is it possible to match multiple tables at the same time in P4? HOT 2
- gRPC Error: failed to connect to all addresses (UNAVAILABLE) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutorials.