nova-powervm/nova_powervm/tests
mdrabe 9e553a8659 Persist existing LPAR wrapper attributes in DefaultStandardize on resize
The DefaultStandardize object in pypowervm defaults the proc units
factor, max virtio slots, uncapped weight, spp, availability
priority, srr, and proc compat (note that the enable lpar metric
parameter isn't included in this stable/pike commit as the minimum
pypowervm requirement for Pike does not support that parameter).
nova-powervm does not pass in these parameters when resizing.

This results in these attributes being set to the default defined
by the DefaultStandardize object for every resize operation. This
change passes those parameters into the DefaultStandardize object.

Note that if the attributes were passed in as part of the flavor
then the flavor's values would be set later in the DefaultStandardize
object by the LPARBuilder.

Closes-Bug: #1722923
Change-Id: I0e9ad0dbbc35658e096636a454ad493492025420
(cherry picked from commit 4bad1ec165)
2017-11-07 10:56:36 -06:00
..
conf Better config option validation and testing 2016-01-15 16:09:13 -06:00
virt Persist existing LPAR wrapper attributes in DefaultStandardize on resize 2017-11-07 10:56:36 -06:00
__init__.py Update tox.ini flake8 rules 2016-01-22 08:37:46 -05:00