Bug 1234: OSM reports successful deployment when a charm relation fails
[osm/LCM.git] / osm_lcm / tests / test_db_descriptors.py
index d02b011..7f47231 100644 (file)
@@ -529,10 +529,11 @@ db_nsrs_text = """
                 type: lxc_proxy_charm
                 vnfd_id: hackfest3charmed-vnf
             -   application: alf-c-ab
-                ee_id: f48163a6-c807-47bc-9682-f72caef5af85.alf-c-ab
+                ee_id: "model_name.application_name.machine_id"
+                ee_descriptor_id: f48163a6-c807-47bc-9682-f72caef5af85.alf-c-ab
                 needed_terminate: True
                 detailed-status: Ready!
-                member-vnf-index: '2'
+                member-vnf-index: hackfest_vnf1
                 model: f48163a6-c807-47bc-9682-f72caef5af85
                 operational-status: active
                 primitive_id: null
@@ -543,6 +544,7 @@ db_nsrs_text = """
                 vdu_name: null
                 type: lxc_proxy_charm
                 vnfd_id: hackfest3charmed-vnf
+                config_sw_installed: true
             VCA-model-name: f48163a6-c807-47bc-9682-f72caef5af85
         modified: 1566823354.3716335
         nsState: INSTANTIATED