From: tierno Date: Thu, 2 Jul 2020 09:58:51 +0000 (+0000) Subject: fix at vim_dummy delete network X-Git-Tag: release-v9.0-start~26 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=b54edb578c8c01f46f2646aa132d8480faa45c71;p=osm%2FRO.git fix at vim_dummy delete network Change-Id: I4816a74dcf88ab308680c1c4fda3c0c107397f83 Signed-off-by: tierno --- diff --git a/RO-plugin/osm_ro_plugin/vim_dummy.py b/RO-plugin/osm_ro_plugin/vim_dummy.py index c8f57af5..8e8afd16 100644 --- a/RO-plugin/osm_ro_plugin/vim_dummy.py +++ b/RO-plugin/osm_ro_plugin/vim_dummy.py @@ -120,8 +120,8 @@ class VimDummyConnector(vimconn.VimConnector): def delete_network(self, net_id, created_items=None): if net_id not in self.nets: raise vimconn.VimConnNotFoundException("network with id {} not found".format(net_id)) - return net_id self.nets.pop(net_id) + return net_id def refresh_nets_status(self, net_list): nets = {}