You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a beginner to P4 and I'm trying to write a program whose the controller plane needs to get access to registers which are defined in data plane with P4 language. I've tried to use SimpleSwitchP4RuntimeAPI to achieve this function. However, it appeared to me that SimpleSwitchP4RuntimeAPI support getting access to table, counter and meter, except register. I'm confused why SimpleSwitchP4RuntimeAPI is designed like this? If I want to achieve controlling registers in control plane, must I use SimpleSwitchThriftAPI? Is there any way else for I can do?
The text was updated successfully, but these errors were encountered:
The P4RuntimeAPI has not been updated for awhile, when we added it 1.5 years ago, there was no support for register reading an writing. That does not depend on us but on the official repos.
Did you find if they added that into the RuntimeAPI?
I'm a beginner to P4 and I'm trying to write a program whose the controller plane needs to get access to registers which are defined in data plane with P4 language. I've tried to use SimpleSwitchP4RuntimeAPI to achieve this function. However, it appeared to me that SimpleSwitchP4RuntimeAPI support getting access to table, counter and meter, except register. I'm confused why SimpleSwitchP4RuntimeAPI is designed like this? If I want to achieve controlling registers in control plane, must I use SimpleSwitchThriftAPI? Is there any way else for I can do?
The text was updated successfully, but these errors were encountered: