diff --git a/NG-RO/osm_ng_ro/monitor.py b/NG-RO/osm_ng_ro/monitor.py index b9a590857b1c4feafe13132a99e5ba760a0d55af..529ce0e1a55e885d3a514937b4d0c631ba2c9534 100644 --- a/NG-RO/osm_ng_ro/monitor.py +++ b/NG-RO/osm_ng_ro/monitor.py @@ -419,7 +419,6 @@ class MonitorVms: { "vim_status": "DELETED", "vim_message": "Deleted externally", - "vim_details": None, "vim_id": None, "vim_name": None, "interfaces": None, diff --git a/NG-RO/osm_ng_ro/tests/sample_data.py b/NG-RO/osm_ng_ro/tests/sample_data.py index b631d8c474fd1019e9304e3ff1895d4e98264e14..e85ce35e24b53ed7ecaf8492ea05e63f59e3d042 100644 --- a/NG-RO/osm_ng_ro/tests/sample_data.py +++ b/NG-RO/osm_ng_ro/tests/sample_data.py @@ -46,7 +46,6 @@ server_other_info = { deleted_externally = { "vim_status": "DELETED", "vim_message": "Deleted externally", - "vim_details": None, "vim_id": None, "vim_name": None, "interfaces": None, diff --git a/NG-RO/osm_ng_ro/tests/test_monitor.py b/NG-RO/osm_ng_ro/tests/test_monitor.py index cb61621ae14e0212d6aa623f5e8ef14a82621dd0..23e6d5238fdec4fb2306570c00acc9a87e17adba 100644 --- a/NG-RO/osm_ng_ro/tests/test_monitor.py +++ b/NG-RO/osm_ng_ro/tests/test_monitor.py @@ -1153,7 +1153,6 @@ class TestMonitorVms(unittest.TestCase): vdur_vim_info_update = { "vim_status": "ACTIVE", "vim_message": None, - "vim_details": None, "vim_id": vm1_id, "vim_name": "test7-vnf-hackfest_basic-VM-000000", } diff --git a/releasenotes/notes/keep_vim_details-266dc59a30b62519.yaml b/releasenotes/notes/keep_vim_details-266dc59a30b62519.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0f88597ddf303c7881af5457876a551f69810ec1 --- /dev/null +++ b/releasenotes/notes/keep_vim_details-266dc59a30b62519.yaml @@ -0,0 +1,21 @@ +####################################################################################### +# Copyright ETSI Contributors and Others. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. +####################################################################################### +--- +fixes: + - | + vim_details was set to None while reporting VM deletion by mistake. vim_details are kept by this fix. +