summaryrefslogtreecommitdiff
path: root/contrib/rackspace/rackspace/resources/cloud_server.py
diff options
context:
space:
mode:
authorMiguel Grinberg <miguelgrinberg50@gmail.com>2015-06-04 17:13:53 -0700
committerMiguel Grinberg <miguelgrinberg50@gmail.com>2015-06-04 17:16:38 -0700
commitdf48be8809dd8fb98a44ecd34598ac95ecc17e2e (patch)
treeaceb211d0642c5cd5e0623103da2ad4c8a46506e /contrib/rackspace/rackspace/resources/cloud_server.py
parentceda2015e97745909defbe881834a32bfbbfcdb5 (diff)
downloadheat-df48be8809dd8fb98a44ecd34598ac95ecc17e2e.tar.gz
Add support_status to all resources in contrib
This change adds support_status to all the resources that are in the contrib area of the repository that don't have it already. These resources are given the UNSUPPORTED status, to indicate that the Heat team is not responsible for maintaining them. Change-Id: I8835bf3f99774c40da1e8d34a474071a71686cd1
Diffstat (limited to 'contrib/rackspace/rackspace/resources/cloud_server.py')
-rw-r--r--contrib/rackspace/rackspace/resources/cloud_server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/rackspace/rackspace/resources/cloud_server.py b/contrib/rackspace/rackspace/resources/cloud_server.py
index 72e54d853..9c7bf3184 100644
--- a/contrib/rackspace/rackspace/resources/cloud_server.py
+++ b/contrib/rackspace/rackspace/resources/cloud_server.py
@@ -21,6 +21,7 @@ from heat.common.i18n import _LW
from heat.engine import constraints
from heat.engine import properties
from heat.engine.resources.openstack.nova import server
+from heat.engine import support
try:
@@ -39,6 +40,10 @@ class CloudServer(server.Server):
is used for Rackspace Cloud Servers.
"""
+ support_status = support.SupportStatus(
+ status=support.UNSUPPORTED,
+ message=_('This resource is not supported, use at your own risk.'))
+
# Managed Cloud automation statuses
MC_STATUS_IN_PROGRESS = 'In Progress'
MC_STATUS_COMPLETE = 'Complete'