Skip to content

PacketReplicationEngineEntry does not support wild card reads  #609

Description

@fruffy-g

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions