metadata_validation_test - bstoll/featureprofiles GitHub Wiki
Validate the P4RT server handles Metadata set in Table Entry correctly.
- Enable P4RT on a single FAP by configuring an ID on the device and one or more interfaces.
- Instantiate a
primaryP4RT client and execute Client Arbitration and Set the Forwarding Pipeline using thewbb.p4info.pb.txtfile. - Write a
TableEntrywithMetadatafield set and validate correctMetadatais retrieved inReadRequestfor the below scenarios:- Using Update Type as
INSERT, Write a TableEntry with theMetadatafield set, and then validate correctMetadatais returned using Read. - Using Update Type as
MODIFY, update the existing TableEntry with a change in theMetadatafield, and then validate correctMetadatais returned using Read. - Using Update Type as
DELETE, delete the existing TableEntry and then validate the deletion of the TableEntry using Read.
- Using Update Type as