Giter Club home page Giter Club logo

Comments (2)

edgar-costa avatar edgar-costa commented on July 24, 2024

Hi!

I believe this is because we did a big update to the entire codebase some months ago and several things are not backwards compatible.

For example to load the topology you can use:
https://github.com/nsg-ethz/p4-learning/blob/master/exercises/08-Simple_Routing/thrift/solution/routing-controller.py#L8

If you check the helper, right now the topology object is called different.

https://github.com/nsg-ethz/p4-utils/blob/master/p4utils/utils/helper.py#L279 NetworkGraph

Looks like that github you sent me is using the old version of p4-utils.

https://github.com/nsg-ethz/p4-utils/releases/tag/v0.0 Here you can find the old version. But be careful, it will only work if python is python2.

Otherwise you can check what are the differences, now everything is way more documented. You will only have to change some small things in the controller and maybe p4app.json but it will be minimal.(and use the new vm). For reference, check all the exercises in p4-learning

from p4-utils.

caopeirui avatar caopeirui commented on July 24, 2024

Oh, Thanks for your useful help.
It works well after I follow your advice.
And I am looking at p4-learning which is a good course. Wonderful !

from p4-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.