Merge "Improve docstrings for software deployment properties"
This commit is contained in:
commit
1db54fd3de
@ -139,8 +139,8 @@ class SoftwareDeployment(signal_responder.SignalResponder):
|
|||||||
),
|
),
|
||||||
DEPLOY_ACTIONS: properties.Schema(
|
DEPLOY_ACTIONS: properties.Schema(
|
||||||
properties.Schema.LIST,
|
properties.Schema.LIST,
|
||||||
_('Which stack actions will result in this deployment being '
|
_('Which lifecycle actions of the deployment resource will result '
|
||||||
'triggered.'),
|
'in this deployment being triggered.'),
|
||||||
update_allowed=True,
|
update_allowed=True,
|
||||||
default=[resource.Resource.CREATE, resource.Resource.UPDATE],
|
default=[resource.Resource.CREATE, resource.Resource.UPDATE],
|
||||||
constraints=[constraints.AllowedValues(ALLOWED_DEPLOY_ACTIONS)]
|
constraints=[constraints.AllowedValues(ALLOWED_DEPLOY_ACTIONS)]
|
||||||
@ -158,9 +158,10 @@ class SoftwareDeployment(signal_responder.SignalResponder):
|
|||||||
'keypair signed URL. TEMP_URL_SIGNAL will create a '
|
'keypair signed URL. TEMP_URL_SIGNAL will create a '
|
||||||
'Swift TempURL to be signaled via HTTP PUT. HEAT_SIGNAL '
|
'Swift TempURL to be signaled via HTTP PUT. HEAT_SIGNAL '
|
||||||
'will allow calls to the Heat API resource-signal using the '
|
'will allow calls to the Heat API resource-signal using the '
|
||||||
'provided keystone credentials. NO_SIGNAL will result in the '
|
'provided keystone credentials. ZAQAR_SIGNAL will create a'
|
||||||
'resource going to the COMPLETE state without waiting for '
|
'dedicated zaqar queue to be signaled using the provided '
|
||||||
'any signal.'),
|
'keystone credentials. NO_SIGNAL will result in the resource '
|
||||||
|
'going to the COMPLETE state without waiting for any signal.'),
|
||||||
default=cfg.CONF.default_deployment_signal_transport,
|
default=cfg.CONF.default_deployment_signal_transport,
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.AllowedValues(SIGNAL_TRANSPORTS),
|
constraints.AllowedValues(SIGNAL_TRANSPORTS),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user