SoftwareDeployments make servers property updateable

Allow the servers list to be updated, which will cause an update
of the resource group instead of replacing it.

This looks inconvenient to test in the unit tests due to needing
to create a coupled nested stack (which will further impede the
decouple-nested work), so I'll post a followup patch with a
functional test instead, if that's viewed as acceptable.

Change-Id: I1714d2cef2d0edbeb82c16e5a83acc458009bd47
Closes-Bug: #1389178
(cherry picked from commit 218e1038f2)
This commit is contained in:
Steven Hardy 2014-11-19 18:22:57 +00:00
parent 70b0a445c7
commit 6f5dfaa964
1 changed files with 1 additions and 0 deletions

View File

@ -540,6 +540,7 @@ class SoftwareDeployments(resource_group.ResourceGroup):
SERVERS: properties.Schema(
properties.Schema.MAP,
_('A map of Nova names and IDs to apply configuration to.'),
update_allowed=True
),
CONFIG: _sd_ps[CONFIG],
INPUT_VALUES: _sd_ps[INPUT_VALUES],