Comments (2)
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.
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)
- why is the preconfigured VMs not available now? HOT 6
- Bittorent recognition from packet payload HOT 1
- Problems encountered when using the p4run command HOT 5
- Is the preconfigured p4-utils-vm only has a tty shell when start it? HOT 2
- Bvm2 switch on p4util topo cannot ping between hosts HOT 1
- Hardware Interface
- Using @controller_header
- How to run multiple controllers HOT 6
- How to clone packets more than once back to back? HOT 2
- Tofino Example: no bf_swithcd for one of the switches HOT 3
- Why SimpleSwitchP4RuntimeAPI doesn't support reading and writing register? HOT 1
- Problem with the “sudo p4run --config p4app.json” command regarding ping between hosts HOT 3
- Read and write to registers HOT 6
- Installing issue HOT 6
- Username and password for pre-installed VM HOT 2
- Problem with switch_thrift_API.py file
- Graceful shutdown when stopping with Ctrl+C HOT 1
- Does P4Utils Support IPv6 ? HOT 2
- register cell size HOT 1
- p4run problem HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4-utils.