Comments (4)
Hi yhx-coder,
did you build on your own the stratum_bmv2 or you download it form stratum assets? That error seems related to bmv2 switch rather than stratum. https://github.com/p4lang/behavioral-model/search?q=InvalidMirroringOperation
from stratum.
The bmv2 version is not as self-contained as the others. It requires some libraries that have to be manually installed beforehand.
You can check how the bmv2 Docker image built and replicate that locally:
Lines 63 to 85 in 88d02d5
stratum/tools/mininet/Dockerfile
Lines 12 to 71 in 88d02d5
from stratum.
thanks. I try to follow the Dockerfile.build, the previous error is fixed.However, another error happens: stratum_bmv2: undefined symbol: _pi_port_status_get
.Now I guess the the reason is that I don't build the bmv2 or pi correcttly. It's a little difficult for me :( .I decide to use the docker. thanks for your support.
from stratum.
Sorry to hear that. Getting the PI and bmv2 setup right is indeed tricky. That's why we're relying on docker images for it.
I hope you can solve your use case with docker.
If there is anything else, feel free to re-open this issue or create a new one.
from stratum.
Related Issues (20)
- Invalid error code on P4RT write request with unknown device ID HOT 3
- Stratum does not report `FAILED_PRECONDITION` for reads without a pipeline
- Write fix function table when stratum runs HOT 2
- Could I run statum with the functionality to set mirror fixed table? HOT 1
- Build failure, any suggestion pls HOT 1
- Bug : syntax error
- Unable to forward PacketIn messages to ONOS controller from Tofino switch
- How to install stratum on Edgecore Switch??
- bazel build command failed as it does not have root privileges HOT 1
- getting ONOS controller container to communicate with mininet container HOT 3
- Building the stratum_bmv2 package fails at bazel build HOT 4
- Problem with protobuf at start stratum under asterfusion switch HOT 1
- Stratum Source Build Fails Due to Go Related Error HOT 4
- Unable to build stratum on netberg r710 HOT 1
- Stratum failed to run on tofino ASIC
- Connect ONOS with Stratum HOT 9
- Connect ONOS with Tofino using pipeconf fabric-tna HOT 45
- Issues for changing node_id for stratum, how to fix it? HOT 3
- Update dependency versions
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 stratum.