tacker/tacker
tpatil 33f92086f4 Delete vnf package if operationalState is DISABLED
Presently, vnf package can be deleted when it's operationalState is
'ENABLED'.

As per pre-condition rule, vnf package can be deleted only when
it's operationalState is 'DISABLED' and it's usageState is 'NOT_IN_USE.

This patch fixes this issue and now vnf package will be deleted only
when it's operationalState is 'DISABLED' and it's usageState is 'NOT_IN_USE.

Note: I have fixed windows style line ending issue in vnf_packages.inc.
Also, updated 'Delete VNF Package' API doc to include 409 error.

Change-Id: Id4d50264d1052a09e6ce527b6aab1bb941fdc6af
Closes-Bug: #1862864
2020-02-19 05:30:47 +00:00
..
agent from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
api Delete vnf package if operationalState is DISABLED 2020-02-19 05:30:47 +00:00
cmd from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
common Allow VNF package upload without policies 2019-11-01 06:42:10 +00:00
conductor Allow VNF package upload without policies 2019-11-01 06:42:10 +00:00
conf Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
db Delete VNF should fail with 409 error 2020-01-31 13:54:49 +05:30
extensions Merge "Fix: VNF update_wait always raise exception" 2019-09-26 01:58:49 +00:00
glance_store Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
hacking rename various files of neutron/*.py to tacker/*.py 2014-07-04 18:20:50 +09:00
keymgr Support shared vim for policy action execution 2018-07-29 13:56:45 +08:00
locale Imported Translations from Zanata 2019-10-01 11:19:23 +00:00
mistral Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-18 14:00:58 +00:00
nfvo Fix bug that causes InternalServerError in FT 2020-01-16 14:16:55 +09:00
objects Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
plugins from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
policies Support patch to fix window style line ending 2020-01-23 16:48:19 +09:00
releasenotes/notes Remove infra and mgmt parsing logic from API 2017-01-06 08:39:56 +00:00
services Remove unused import logging 2016-05-12 10:52:23 +08:00
tests Delete vnf package if operationalState is DISABLED 2020-02-19 05:30:47 +00:00
tosca from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
vnfm Delete VNF should fail with 409 error 2020-01-31 13:54:49 +05:30
__init__.py Cleanup vim settings 2016-03-28 13:03:56 +02:00
_i18n.py Remove i18n.enable_lazy() call from tacker.cmd 2018-11-14 14:56:52 +05:30
alarm_receiver.py from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
auth.py Enable UT test_auth.py 2018-11-15 00:19:49 +08:00
context.py Remove deprecation warning messages 2019-09-20 12:27:06 +05:30
manager.py from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
policy.py Implement policy in code 2019-09-19 06:30:04 +00:00
service.py from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
version.py Cleanup vim settings 2016-03-28 13:03:56 +02:00
wsgi.py Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00