removes the VirtualSystemType kwarg when fetching VMs
A VM can be either "Realized" or "Planned", but not both. Thus,
using the VirtualSystemType as a filter is not useful.
Because of this, the "is_planned_vm" argument from vmutils
methods will no longer be unused, and will be removed once it is
no longer used.
This will make vmutils easier to use for Planned VMs, which will
be used for cold migration in the future. Plus, not all vmutils
methods have the "is_planned_vm" argument, which would have been
necessary in order to update the Planned VM (e.g.: get_vm_config_dir method).
Reviewed: https:/ /review. openstack. org/429901 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=6c5d895ba49 84464e1e11a4fcd 6e83d82a3d6893
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6c5d895ba498446 4e1e11a4fcd6e83 d82a3d6893
Author: Claudiu Belu <email address hidden>
Date: Tue Feb 7 00:08:18 2017 +0200
removes the VirtualSystemType kwarg when fetching VMs
A VM can be either "Realized" or "Planned", but not both. Thus,
using the VirtualSystemType as a filter is not useful.
Because of this, the "is_planned_vm" argument from vmutils
methods will no longer be unused, and will be removed once it is
no longer used.
This will make vmutils easier to use for Planned VMs, which will
be used for cold migration in the future. Plus, not all vmutils
methods have the "is_planned_vm" argument, which would have been
necessary in order to update the Planned VM (e.g.: get_vm_config_dir method).
Partial-Bug: #1663238
Change-Id: Ic153dcfd621a1e 6235dd3a7524127 4ee7d7c868b