Fix Pre and Post Scale operations 89/10489/1
authorlimon <alimonj@indra.es>
Mon, 15 Mar 2021 08:39:43 +0000 (09:39 +0100)
committerlimon <alimonj@indra.es>
Mon, 15 Mar 2021 08:39:43 +0000 (09:39 +0100)
Change-Id: If865dec846b0d28e31f272d512cb47ad62b2948a
Signed-off-by: limon <alimonj@indra.es>
osm_lcm/ns.py

index ca85661..7f73c19 100644 (file)
@@ -3896,7 +3896,7 @@ class NsLcm(LcmBase):
                                                                           vdu_count_index=None,
                                                                           ee_descriptor_id=ee_descriptor_id)
                             result, result_detail = await self._ns_execute_primitive(
-                                ee_id, primitive_name, primitive_params, vca_type)
+                                ee_id, primitive_name, primitive_params, vca_type=vca_type)
                             self.logger.debug(logging_text + "vnf_config_primitive={} Done with result {} {}".format(
                                 vnf_config_primitive, result, result_detail))
                             # Update operationState = COMPLETED | FAILED
@@ -4161,7 +4161,7 @@ class NsLcm(LcmBase):
                                                                           vdu_count_index=None,
                                                                           ee_descriptor_id=ee_descriptor_id)
                             result, result_detail = await self._ns_execute_primitive(
-                                ee_id, primitive_name, primitive_params, vca_type)
+                                ee_id, primitive_name, primitive_params, vca_type=vca_type)
                             self.logger.debug(logging_text + "vnf_config_primitive={} Done with result {} {}".format(
                                 vnf_config_primitive, result, result_detail))
                             # Update operationState = COMPLETED | FAILED