Skip to content

PacketReplicationEngineEntry does not support wild card reads  #609

@fruffy-g

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.

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