Giter Club home page Giter Club logo

Comments (2)

antoninbas avatar antoninbas commented on July 19, 2024 1

Before looking any further, could you try running the following and see if it fixes your issue:

sudo mn -c 
sudo killall behavioral-model 
redis-cli FLUSHALL

The No handlers could be found for logger message can be safely ignored.
Looks like the behavioral-model executable is not starting properly. The most likely explanation is that the redis-server is not running. You may want to try running redis-cli ping in a terminal. If you get an error, you will need to figure out how to start the redis-server. If the command returns successfully (i.e. if you get a PONG), then try running sudo /home/antonin/Documents/p4lang/p4factory/targets/simple_router/behavioral-model --name s1 --dpid 0000000000000001 --listener 127.0.0.1:11111 --pd-server 127.0.0.1:22222 and look at the output to check for an error.

Note that the software you are trying to use is deprecated and we are hardly maintaining it anymore. We now use the second version of the behavioral-model, aka bmv2, instead of the initial version, which you are trying to use now. We also no longer use p4factory as a place to develop new P4 programs. See this p4-dev thread: http://lists.p4.org/pipermail/p4-dev_lists.p4.org/2017-March/000794.html

from p4factory.

cool-leng avatar cool-leng commented on July 19, 2024

Hi,antoninbas

Thank you very much for your method,I tried the cli
sudo mn -c
sudo killall behavioral-model
redis-cli FLUSHALL

It's does work well,thank you,again!

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.