openconfig / featureprofiles

Feature Profiles are groups of OpenConfig paths and tests which verify their behavior
Apache License 2.0
52 stars 149 forks source link

gNOI-5.3 Update test to fetch artifact #3013

Open dplore opened 5 months ago

dplore commented 5 months ago

Currently copying_debug_files_test.go only fetches artifact headers, but not the actual artifact content.

Add code to the gnoi-5.3 test to download the artifact data by invoking ArtifactRequest to transfer the requested Artifact ID(s) via Artifact RPC

mymanchan commented 5 months ago

Also currently the TestChassisComponentArtifacts contained in copying_debug_files_test.go does not verification of the Artifact Body contents.

Add code to the gnoi-5.3.3 test such that If the ArtifactHeader is of type FileArtifactType and the hash field is populated to check that the hash matches the Artifact Body contents.