I want to sync different file types (e.g., manifests, tarballs, git repo, iso) in Pulp using download policies such as immediate
, on_demand
, or streamed
.
I tried to set the policy
field using a POST
request to the endpoint: /pulp/api/v3/content/file/files/
However, I encountered an error stating ‘policy’: unexpected field
On the API page also I couldn’t find any option to specify the download policy.
Additionally, I tried creating a pulp file remote with policy ‘on_demand’. The remote got created successfully:
but the sync operation failed with below error:
Even the content upload doesn’t have any option for defining policy:
Is there any other way I can sync files based on download policy?