Comments (7)
The ch
attribute to lg
was added in this commit mininet/mininet@2255bc7
I believe your problem is that you have an old version of mininet, try to update it.
PS: can you remove the text crossing, was hard to read.
from p4-utils.
The
ch
attribute tolg
was added in this commit mininet/mininet@2255bc7I believe your problem is that you have an old version of mininet, try to update it.
PS: can you remove the text crossing, was hard to read.
I have slove the problem after I update my mininet from 2.3.0d6 to 2.3.1b1m,but when I try exercise at tutorials,make run faild,it work normal when the version of mininet is 2.3.0d6
wcc@ubuntu:/p4/tutorials/exercises/basic$ make run/p4/tutorials/exercises/basic$ mn --version
mkdir -p build pcaps logs
p4c-bm2-ss --p4v 16 --p4runtime-files build/basic.p4.p4info.txt -o build/basic.json basic.p4
sudo python3 ../../utils/run_exercise.py -t pod-topo/topology.json -j build/basic.json -b simple_switch_grpc
Traceback (most recent call last):
File "../../utils/run_exercise.py", line 28, in
import p4runtime_lib.simple_controller
File "/home/wcc/p4/tutorials/utils/p4runtime_lib/simple_controller.py", line 24, in
from . import bmv2, helper
File "/home/wcc/p4/tutorials/utils/p4runtime_lib/bmv2.py", line 17, in
from .switch import SwitchConnection
File "/home/wcc/p4/tutorials/utils/p4runtime_lib/switch.py", line 21, in
from p4.v1 import p4runtime_pb2, p4runtime_pb2_grpc
File "/usr/local/lib/python3.6/dist-packages/p4/v1/p4runtime_pb2.py", line 17, in
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
File "/usr/local/lib/python3.6/dist-packages/google/rpc/status_pb2.py", line 39, in
_STATUS = DESCRIPTOR.message_types_by_name["Status"]
AttributeError: 'NoneType' object has no attribute 'message_types_by_name'
../../utils/Makefile:35: recipe for target 'run' failed
make: *** [run] Error 1
wcc@ubuntu:
ps: I don't know why there have so many text crossing...
from p4-utils.
How did you install all the other things? Can you try with the p4-utils VM? It is a qcow2 image, but you can translate it to OVA for VirtualBox.
from p4-utils.
How did you install all the other things? Can you try with the p4-utils VM?
I uninstall the old version and install the new version from source,and p4run can work at p4-learning
from p4-utils.
By tutorials, you mean, p4lang tutorials? How is that related to p4-learning and mininet version. There seems to be a problem with p4runtime and the tutorials. Which VM are you using? Our VM or the one from there.
from p4-utils.
By tutorials, you mean, p4lang tutorials? How is that related to p4-learning and mininet version. There seems to be a problem with p4runtime and the tutorials. Which VM are you using? Our VM or the one from there.
yeah,it's p4lang turtorials,it can work normal before I uninstall mininet 2.3.0d6,but faild though I install 2.3.1b1
from p4-utils.
I've run into the same issue. It seems that p4-utils break the p4lang/tutorials installation and even uninstalling doesn't seem to bring things back! Is there a way to revert this? You may want to mention that to installation instructions of p4-utlis.
from p4-utils.
Related Issues (20)
- Problems encountered when using the p4run command HOT 5
- Is the preconfigured p4-utils-vm only has a tty shell when start it? HOT 2
- Bvm2 switch on p4util topo cannot ping between hosts HOT 1
- Hardware Interface
- Using @controller_header
- How to run multiple controllers HOT 6
- How to clone packets more than once back to back? HOT 2
- Tofino Example: no bf_swithcd for one of the switches HOT 3
- Why SimpleSwitchP4RuntimeAPI doesn't support reading and writing register? HOT 1
- Problem with the “sudo p4run --config p4app.json” command regarding ping between hosts HOT 3
- Read and write to registers HOT 6
- Installing issue HOT 6
- Username and password for pre-installed VM HOT 2
- Problem with switch_thrift_API.py file
- Graceful shutdown when stopping with Ctrl+C HOT 1
- Does P4Utils Support IPv6 ? HOT 2
- register cell size HOT 1
- p4run problem HOT 5
- virtualenv problem HOT 2
- Format for providing launch options for a P4 switch HOT 3
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 p4-utils.