Giter Club home page Giter Club logo

Comments (2)

antoninbas avatar antoninbas commented on July 19, 2024

The switch target README (https://github.com/p4lang/p4factory/tree/master/targets/switch#running-tests) gives some information on how to run the docker tests.
I believe every test script contains some information about which network topology the test is using (e.g https://github.com/p4lang/p4factory/blob/master/mininet/swl_l2.py#L18).

from p4factory.

hamkuu avatar hamkuu commented on July 19, 2024

@antoninbas Thanks for your suggestion.

I studied the switch target README file several times and built the soft switch under different command.(as suggested in #building-soft-switch)

I got a question on #building-soft-switch:

Except for docker-image building command:

make docker-image

Is that the soft-switches built under different make command cannot coexist with one another? Because the "behavioral-model" file seems to be overwritten each time I ran different make command.

And another question on #running-tests:

sudo ./run_tests.py --test-dir tests/ptf-tests/pd-tests switch

What does "switch" mean in this command? Should I change it under specific circumstance?

from p4factory.

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.