summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2015-04-01 11:33:49 +1300
committerSteve Baker <sbaker@redhat.com>2015-04-01 11:33:49 +1300
commit2b4a4010821ebb242806ae6ff4fc1ad4db62fecb (patch)
treea16ca242ba10166d9bf5c8147c34e4fd5ecc12d1
parent051cb7a015f5129bdb405d25b266406a83cd0b27 (diff)
downloadheat-2b4a4010821ebb242806ae6ff4fc1ad4db62fecb.tar.gz
OS::Neutron::Port default replacement_policy=AUTO
Now that nova bug 1158684 has been fixed heat can assume that a port won't be deleted by nova during a stack update. REPLACE_ALWAYS as a default caused its share of issues, including servers not handling the port churn on stack updates. REPLACE_ALWAYS is left as an option for standalone heat orchestrating older OpenStack releases. Change-Id: Ie9b2ebe8b29bd5ed6006dfb59c6dccd4a595832f Closes-Bug: #1393376 Related-Bug: #1158684
-rw-r--r--heat/engine/resources/openstack/neutron/port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/engine/resources/openstack/neutron/port.py b/heat/engine/resources/openstack/neutron/port.py
index 61d02b79a..2a17ec1be 100644
--- a/heat/engine/resources/openstack/neutron/port.py
+++ b/heat/engine/resources/openstack/neutron/port.py
@@ -181,7 +181,7 @@ class Port(neutron.NeutronResource):
'REPLACE_ALWAYS will replace the port regardless of any '
'property changes. AUTO will update the existing port for any '
'changed update-allowed property.'),
- default='REPLACE_ALWAYS',
+ default='AUTO',
constraints=[
constraints.AllowedValues(['REPLACE_ALWAYS', 'AUTO']),
],