Allow sdn-port-mapping insertion at vim creation with config:sdn-port-mapping
[osm/RO.git] / osm_ro / httpserver.py
index 0497bba..6c7e720 100644 (file)
@@ -1551,7 +1551,7 @@ def http_get_instance_id(tenant_id, instance_id):
         except (nfvo.NfvoException, db_base_Exception) as e:
             logger.warn("nfvo.refresh_instance couldn't refresh the status of the instance: %s" % str(e))
         # obtain data with results upated
-        instance = mydb.get_instance_scenario(instance_id, tenant_id)
+        instance = mydb.get_instance_scenario(instance_id, tenant_id, verbose=True)
         # Workaround to SO, convert vnfs:vms:interfaces:ip_address from ";" separated list to report the first value
         for vnf in instance.get("vnfs", ()):
             for vm in vnf.get("vms", ()):