Rename instance_type to flavor in baremetal virt driver

Goes through the baremetal virt driver and associated classes and tests
and renames instance_type to flavor. This patch does not handle renaming
instance_type in nova.test.utils or the instance_type_id column in the
instance db model so those parts are left unchanged here.

DocImpact: Renames the 'instance_type_extra_specs' option in the
baremetal group to 'flavor_extra_specs'.

Part of blueprint flavor-instance-type-dedup

Change-Id: I4405464aea2b2e2142ed1207fb9c25ed9e863cb0
This commit is contained in:
Matt Riedemann
2013-11-30 13:05:06 -08:00
parent 7e3a41c820
commit 244d52786f

View File

@@ -43,8 +43,8 @@ Additional setting for bare-metal provisioning [nova.conf]
baremetal_driver = {nova.virt.baremetal.tilera.Tilera | nova.virt.baremetal.pxe.PXE}
power_manager = {nova.virt.baremetal.tilera_pdu.Pdu | nova.virt.baremetal.ipmi.Ipmi}
# instance_type_extra_specs this baremetal compute
instance_type_extra_specs = cpu_arch:{tilepro64 | x86_64 | arm}
# flavor_extra_specs this baremetal compute
flavor_extra_specs = cpu_arch:{tilepro64 | x86_64 | arm}
# TFTP root
baremetal_tftp_root = /tftpboot