From b54edb578c8c01f46f2646aa132d8480faa45c71 Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 2 Jul 2020 09:58:51 +0000 Subject: [PATCH] fix at vim_dummy delete network Change-Id: I4816a74dcf88ab308680c1c4fda3c0c107397f83 Signed-off-by: tierno --- RO-plugin/osm_ro_plugin/vim_dummy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- 2.25.1