Task #5837
Updated by ipanova@redhat.com almost 5 years ago
Migration plan will accept pulp2_distributor_repository_id1 ( repo_id of the distributor associated to it). If repo has 2 distributors, we will migrate both of them. Update Migration plan parsing: fetch distributors from the mentioned repos, filter only those that are specified in the Migrator. <pre> { "plugins": [ { "type": "iso", # it should be a pulp2 type "repositories" : [ { "name": "foo", "pulp2_importer_repository_id": "my_repo_id to use to find an importer to migrate" "repository_versions": [ { "pulp2_repository_id": "idA", "distributor_ids": ["pulp2_distributor_repository_id1", "pulp2_distributor_repository_id2"] }, { "pulp2_repository_id": "idB", "distributor_ids": ["pulp2_distributor_repository_id3"] }, ] } ] }, { "type": "docker", } ] } </pre>