Giter Club home page Giter Club logo

Comments (4)

antoninbas avatar antoninbas commented on July 19, 2024

WARNING: No route found for IPv6 destination :: (no default route?) is not really an error here.
TTransportException: Could not connect to localhost:9090 on the other hand is a real error, and usually means that you do not have the switch running. Which command did you use to start the behavioral model switch?

from p4factory.

antoninbas avatar antoninbas commented on July 19, 2024

BTW, the steps described in the README are as follows:

cd p4factory/targets/basic_routing/
make bm
sudo ./behavioral-model

You want to make sure that sudo ./behavioral-model did not return an error.

from p4factory.

MahadevanMD avatar MahadevanMD commented on July 19, 2024

First of all, Thank you for your answering.
When i start behavioral model itself getting errors are below

~/p4factory/targets/basic_routing$ make bm
cp /home/maha/p4factory/targets/basic_routing/build//bin/bm behavioral-model
cp: cannot create regular file ‘behavioral-model’: Permission denied
/home/maha/p4factory/targets/basic_routing/../../makefiles/bm.mk:115: recipe for target 'bm' failed
make: *** [bm] Error 1

/p4factory/targets/basic_routing$ sudo ./behavioral-model

No PD RPC server address specified, using 127.0.0.1:9090
No listener specified, switch will run in standalone mode

P4 Program: basic_routing

Starting RPC server on port 9090
bmi_port_interface_add(port_mgr, veth_name, n_veth, pcap_filename): ERROR -1 at main.c:434

Can you give the solution for the above mentioned error??

from p4factory.

antoninbas avatar antoninbas commented on July 19, 2024

The make error could mean that the file is busy because another instance is running.
For the bmi_port_interface_add error, you need to run sudo p4factory/tools/veth_setup.sh as indicated in the README. It will create the veth interfaces needed to run the model.

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.