NS Instantiate Worklows (DRAFT) 28/13128/2
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Fri, 31 Mar 2023 11:21:04 +0000 (11:21 +0000)
committerMark Beierl <mark.beierl@canonical.com>
Thu, 6 Apr 2023 02:55:19 +0000 (02:55 +0000)
Change-Id: I0b077c0d6c6b938591b1b7ea8d737ecfd01294c0
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
osm_nbi/temporal/nbi_temporal.py

index 9f4e4d9..c29a66d 100644 (file)
@@ -24,6 +24,7 @@ from osm_common.temporal_constants import (
     WORKFLOW_VIM_DELETE,
     WORKFLOW_VIM_UPDATE,
     WORKFLOW_NSLCM_NO_OP,
+    WORKFLOW_NS_INSTANTIATE,
 )
 from osm_common.wftemporal import WFTemporal
 
@@ -55,7 +56,7 @@ class NbiTemporal:
             )
 
     lcm_workflow_mappings = {
-        "instantiate": WORKFLOW_NSLCM_NO_OP,
+        "instantiate": WORKFLOW_NS_INSTANTIATE,
         "terminate": WORKFLOW_NSLCM_NO_OP,
         "vca_status_refresh": WORKFLOW_NSLCM_NO_OP,
         "action": WORKFLOW_NSLCM_NO_OP,