Account age: 11 years
Pushed 2065 commits
Submitted 309 pull requests
Received 41 stars
Own 27 repositories
Contributed to 18 public repositories
Demonstration of VPP managment using API bindings with various languages
Account age: 11 years
Pushed 2065 commits
Submitted 309 pull requests
Received 41 stars
Own 27 repositories
Contributed to 18 public repositories
Hi marosmars,
Thanks for sharing your blog and example scripts. I'm currently trying to use the GO version VPP api from https://github.com/fdio/govpp. I've installed the VPP binaries on Ubuntu 20 (including the vpp-dev optional package) and followed their official github repo to install the GO package. But I can't successfully run neither their quick start script nor your example script.
There are mainly two problems:
Seems the API structure is broken. I successfully installed binapi-generator and generated the GO bindings, and then put the generated files under $GOROOT/vppapi (/usr/local/go/src/vppapi). After that, when importing package "interfaces" and "l2", it shows error "cannot find package std/std/vppapi/ethernet_types" and several other packages like "ip_types" and "vpe". These packages indeed exist under $GOROOT/vppapi, but GO seems can't find it because they automatically add the "std/std" prefix before module name. How can I fix it?
The package "interfaces" actually does not exist (you can check it in their official example and repo files), but there do exist a package called "interface". I don't know how it can be imported.
Their official repo does not provide the issue function and there are almost no materials I can find online to use VPP api in GO. So I ask the question here. I would really appreciate it if you can give me some insights. Thanks!
https://www.marosmars.com/blog/category/vpp
Your blog about VPP is invalid. Could you please send the tutorial to my email:[email protected]
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.