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

PacketReplicationEngineEntry does not support wild card reads #609

Open
fruffy-g opened this issue Mar 7, 2024 · 0 comments · May be fixed by #610
Open

PacketReplicationEngineEntry does not support wild card reads #609

fruffy-g opened this issue Mar 7, 2024 · 0 comments · May be fixed by #610

Comments

@fruffy-g
Copy link

fruffy-g commented Mar 7, 2024

According to the P4Runtime standard wildcard reads should return all the entities of a particular message type:
https://p4.org/p4-spec/docs/p4runtime-spec-working-draft-html-version.html#sec-wildcard-reads

This would imply that when I craft a PacketReplicationEngineEntry I should be able to access all the entries associated with PacketReplication.
However, when trying to read PacketReplicationEngineEntry the PI implementation requires you to be specific, otherwise it throws an error.

RETURN_ERROR_STATUS(Code::INVALID_ARGUMENT, "Invalid PRE operation");

Ideally, the wildcard read should return all configured entries instead.

@fruffy fruffy linked a pull request Mar 21, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant