Fix bug 1479 to check conflicts on deleting vnpkg 59/10659/2 branch-bug1511-start v9.1.1 v9.1.1rc1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Sun, 18 Apr 2021 20:54:13 +0000 (20:54 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 19 Apr 2021 22:24:29 +0000 (00:24 +0200)
commitc5c7601a2b7456cc3b1f34568a2958a5e3b02ad8
tree2acb9b41e737f296ea6f5b7cbb9392d6d74ac1e5
parente5a75ba171ea534303e078171934532666c5fc90
Fix bug 1479 to check conflicts on deleting vnpkg

This change affects descriptor_topics.py, specifically the method
check_conflict_on_del of class VnfdTopic. When deleting a NF package,
several checks are required. One of them is the search of NS packages
using that NF package. The filter used for that search was not updated
when moving to SOL006 descriptors. That filter is updated by this
change.

In addition, this change updates the messages returned in case of
conflicts. The terms 'instance' and 'package' are added for
clarification.

Change-Id: I312e9955347c7b79286a0fb33970441edfc17ff0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_nbi/descriptor_topics.py
osm_nbi/tests/test_descriptor_topics.py