Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ReadRegisters" function in python #357

Closed
brunofraga-rs opened this issue May 19, 2020 · 1 comment
Closed

"ReadRegisters" function in python #357

brunofraga-rs opened this issue May 19, 2020 · 1 comment

Comments

@brunofraga-rs
Copy link

Hello, everyone.

I'm new in p4 language and I was wondering if anyone could give me a tip.

On p4runtime_lib we have switch.py which presents the functions ReadTableEntries and ReadCounters but I didn't find anywhere else a function for the controller to read data plane registers from the switches.

Is there such a library that does it in python ? I mean, did someone implement a .py code defining a "ReadRegisters" function ?

Thanks in advance.
Bruno Fraga

@brunofraga-rs brunofraga-rs changed the title "ReadCounters" function in python "ReadRegisters" function in python May 19, 2020
@antoninbas
Copy link
Member

This is not implemented yet in the P4Runtime server reference server implementation. There is a Github issue to track this (p4lang/PI#376), but no one has had the time to work on this yet.

@jnfoster jnfoster closed this as completed Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants