Giter Club home page Giter Club logo

Comments (2)

edgar-costa avatar edgar-costa commented on June 26, 2024

I am not sure what are you asking.

I honestly never used tables with timeout, and thus I am not sure I will be able to help you with what you need. But lets try.

You have a p4 program with tables that have timeouts enabled right? And you say that they can only be configured with the normal CLI? you mean simple_switch_CLI? I guess that feature could be easily added to the controller if its not working.

What do you mean by intercept those packets? Is there any event being triggered when an entry expires? Or what are those packets you are expecting to intercept.

And last thing, we are actually working on adding P4runtime support to p4-utils, it is currently under junota branch: https://github.com/nsg-ethz/p4-utils/tree/junota

from p4-utils.

machadoatz avatar machadoatz commented on June 26, 2024

Sorry.

Yes, the simple_switch_CLI.

When an entry expires its possible to observe in the switch log warnings like:

- Sending ageing notification for table 'MyIngress.forward' (0)
- Ageing entry 0 in table 'MyIngress.forward'

If I'm not mistaken the timeouts should also trigger some kind of message from the switch to the controller warning about the expired entry, correct?
By intercepting packets, I meant to intercept these messages at the controller where I would then proceed to delete the corresponding entries.

I will check the branch features, thank you very much @edgar-costa

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.