From: baldoni Date: Thu, 7 Nov 2019 11:50:11 +0000 (+0100) Subject: fix bug 878 X-Git-Tag: v7.0.0rc1~17 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F8129%2F1;p=osm%2FRO.git fix bug 878 Change-Id: I7c7b6b86b02588d2aaee0464d422c0b9e7328ad6 Signed-off-by: baldoni --- diff --git a/osm_ro/vimconn_fos.py b/osm_ro/vimconn_fos.py index fd539ccf..ca550f27 100644 --- a/osm_ro/vimconn_fos.py +++ b/osm_ro/vimconn_fos.py @@ -165,7 +165,7 @@ class vimconnector(vimconn.vimconnector): except Exception as e: raise vimconn.vimconnException("Unable to create network {}. Error {}".format(net_name, e)) # No way from the current rest service to get the actual error, most likely it will be an already existing error - return net_uuid + return net_uuid,{} def get_network_list(self, filter_dict={}): """Obtain tenant networks of VIM @@ -234,7 +234,7 @@ class vimconnector(vimconn.vimconnector): raise vimconn.vimconnNotFoundException("Network {} not found at VIM".format(net_id)) return res[0] - def delete_network(self, net_id): + def delete_network(self, net_id, created_items=None): """Deletes a tenant network from VIM Returns the network identifier or raises an exception upon error or when network is not found """