The command: http://vmware.github.io/vcd-cli/vcd_pvdc_migrate-vms
Usecase: customer has large number of VMs in a resource pool ~300
The query pyvcloud makes is with a limit 25.
We need to implement pagination to get all available vms or wild-card to select a group of vms.
Reproduction steps
1.Make sure there are atleast 30 vms in pvdc on single resource pool
2.Make a query api for the vms on the resource pool with limit 25.
3.Select a VM that is not present in the list.
4.run "vcd pvdc migrate-vms" with that vm
5.Command fails with cannot find vm
...
Expected behavior
VM should be migrated if it is present in the resourepool irrespective of on which page the VM is on in the query result.
Describe the bug
The command: http://vmware.github.io/vcd-cli/vcd_pvdc_migrate-vms Usecase: customer has large number of VMs in a resource pool ~300 The query pyvcloud makes is with a limit 25. We need to implement pagination to get all available vms or wild-card to select a group of vms.
Reproduction steps
Expected behavior
VM should be migrated if it is present in the resourepool irrespective of on which page the VM is on in the query result.
Additional context
No response