Make Server CONFIG_DRIVE property a boolean

There's no reason for CONFIG_DRIVE to be a string.  It only accepts a
boolean.

Related change in python-novaclient:
https://review.openstack.org/#/c/91169

Change-Id: I2ff588537fbe72fefed0163b69e68c4f484a38e7
This commit is contained in:
Jason Dunsmore 2014-04-23 16:04:47 -05:00
parent 2d41233814
commit d477d3566b

View File

@ -273,8 +273,8 @@ class Server(stack_user.StackUser):
_('A UUID for the set of servers being requested.') _('A UUID for the set of servers being requested.')
), ),
CONFIG_DRIVE: properties.Schema( CONFIG_DRIVE: properties.Schema(
properties.Schema.STRING, properties.Schema.BOOLEAN,
_('value for config drive either boolean, or volume-id.') _('If True, enable config drive on the server.')
), ),
DISK_CONFIG: properties.Schema( DISK_CONFIG: properties.Schema(
properties.Schema.STRING, properties.Schema.STRING,