[openstack-dev] [heat] update_allowed vs. immutable

Praveen Yalagandula ypraveen at avinetworks.com
Mon May 2 16:55:18 UTC 2016


What is the difference between "update_allowed" and "immutable" parameters
for a property? According to the plugin guide at
http://docs.openstack.org/developer/heat/developing_guides/pluginguide.html:

update_allowed:
True if an existing resource can be updated, False means update is
accomplished by delete and re-create. Default is False.

immutable:
True means updates are not supported, resource update will fail on every
change of this property. False otherwise. Default is False.

Since any resource can be deleted and then re-created, it seems
"update_allowed" is the right parameter to define. Why do we need
"immutable"?

Thanks,
Praveen Yalagandula
Avi Networks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160502/9db7e360/attachment.html>


More information about the OpenStack-dev mailing list