Adding VIM create constants 79/13079/4
authorMark Beierl <mark.beierl@canonical.com>
Thu, 23 Mar 2023 10:24:59 +0000 (10:24 +0000)
committerMark Beierl <mark.beierl@canonical.com>
Thu, 23 Mar 2023 11:02:47 +0000 (11:02 +0000)
Change-Id: Id2447738f625fc56f4388fc340fa1e1f9228cd52
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
osm_common/dataclasses/temporal_dataclasses.py
osm_common/temporal_constants.py

index f3eed36..b5718b3 100644 (file)
 
 from dataclasses import dataclass
 
+# Workflow Dataclasses
+
+
+@dataclass
+class VimCreateInput:
+    vim_uuid: str
+
+
+# Activity Dataclasses
+
 
 @dataclass
 class TestVimConnectivityInput:
 
     """Docstring for why we use this"""
+
     vim_uuid: str
 
+
+@dataclass
+class UpdateVimStatusInput:
+    db_update_info: dict
index aa333f6..7290390 100644 (file)
 #######################################################################################
 
 LCM_TASK_QUEUE = "lcm-task-queue"
+
+# Activities
+ACTIVITY_TEST_VIM_CONNECTIVITY = "test-vim-connectivity"
+ACTIVITY_UPDATE_VIM_STATUS = "update-vim-status"
+
+# Workflows
+WORKFLOW_VIM_CREATE = "vim-create"