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.
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.
PI/proto/frontend/src/device_mgr.cpp
Line 1943 in 24e0a3c
Ideally, the wildcard read should return all configured entries instead.