zzxwill
zzxwill

Reputation: 536

How to delete a resource type in openstack?

I created a resource type with random_string.py. https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/random_string.py

# heat resource-type-list
+------------------------------------------+
| resource_type                            |
+------------------------------------------+
| CN::CLOUD::RandomString                   |

But I don't know how to delete it. Please help provide the solution. Thanks.

Upvotes: 2

Views: 2345

Answers (1)

Athafoud
Athafoud

Reputation: 3000

I am not 100% certain but this is as far as I know.

Heat resource_types is a part of a heat/provider plugin, so in order to 'delete' the resource type you need to 'unistall' the pluging. In your case I thing this particular resource type is an example used for development purposes.

You can also find the already implement resources types here

Upvotes: 1

Related Questions