fix at vim_dummy delete network 87/9287/1 v8.0.0rc2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 2 Jul 2020 09:58:51 +0000 (09:58 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 2 Jul 2020 09:58:51 +0000 (09:58 +0000)
Change-Id: I4816a74dcf88ab308680c1c4fda3c0c107397f83
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
RO-plugin/osm_ro_plugin/vim_dummy.py

index c8f57af..8e8afd1 100644 (file)
@@ -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 = {}