5eb3b5695b
Currently when application get deleted its servers are also get deleted, but all underlying allocated OpenStack resources remain so. This commit makes the following to happen upon deletion: * Exclude OS::Nova::Server resource from the stack * Exclude all FloatingIP and related resources allocated for the server * Exclude Neutron ports allocated to the server * Exclude all Heat Software Configs (in case of HeatSWConfigInstance) created by the app * Exclude all HOT template outputs related to deleted resources Also: * Instance class gets releaseResources method that can be used by apps to explicitly destroy the server. It can be recreated later again using deploy method * The order in which .destroy() methods get called was changed so that the owner's destructor be called before that of the owned object. For example application destructor will be executed prior to its Instance destructor. This allows application to delete all references to the server that is going to be destroyed. Thus Heat template remains consistent. Change-Id: I42d9adf827688232d89b7f01ee1176e3151c65a1 Closes-Bug: #1499563 |
||
---|---|---|
.. | ||
configuration | ||
resources | ||
system | ||
test | ||
Application.yaml | ||
Environment.yaml | ||
Exception.yaml | ||
File.yaml | ||
Object.yaml | ||
SharedIp.yaml | ||
StackTrace.yaml |