Drop JSON decoding for supported_instances

JSON encoding for supported_instances in the virt
drivers was a temporary measure that is not needed.
The encoding has been removed for all in tree virt
drivers. This patch remove it for PowerVM.

blueprint mitaka-objects

Change-Id: I86391c80bf733b84c2d4ae6377437b130b7b9087
This commit is contained in:
Kyle L. Henderson
2016-01-07 11:04:08 -06:00
parent 1b5c427a73
commit 1f28d5db85

View File

@@ -40,12 +40,10 @@ LOG = logging.getLogger(__name__)
IBM_POWERVM_HYPERVISOR_VERSION = 8
# The types of LPARS that are supported.
POWERVM_SUPPORTED_INSTANCES = jsonutils.dumps([(arch.PPC64,
hv_type.PHYP,
vm_mode.HVM),
(arch.PPC64LE,
hv_type.PHYP,
vm_mode.HVM)])
POWERVM_SUPPORTED_INSTANCES = [
(arch.PPC64, hv_type.PHYP, vm_mode.HVM),
(arch.PPC64LE, hv_type.PHYP, vm_mode.HVM),
]
# cpu_info that will be returned by build_host_stats_from_entry()
HOST_STATS_CPU_INFO = jsonutils.dumps({'vendor': 'ibm', 'arch': 'ppc64'})