Add "phyp" hypervisor type support in powervc compute

nova community has strictly limitted hypervisor support list to a
pre-defined list. We need to support "phyp" type, which is an equivalent
of previous "powervm"

Change-Id: Ia0ee2eabfb5230255fe80409998bf148593e0f7d
Closes-Bug: #1373293
This commit is contained in:
Yi Ming Yin 2014-09-24 16:38:45 +08:00
parent 40fd682c61
commit f270b99710
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ SCG_KEY = "powervm:storage_connectivity_group"
EXTRA_SPECS = "extra_specs"
IS_PUBLIC = "os-flavor-access:is_public"
POWERVC_SUPPORTED_INSTANCES = [('ppc64', 'powervm', 'hvm')]
POWERVC_SUPPORTED_INSTANCES = [('ppc64', 'powervm', 'hvm'),
('ppc64', 'phyp', 'hvm')]
# Suffix to append to sync event notifications
SYNC_EVENT_SUFFIX = 'sync'