From: Mark Beierl Date: Thu, 23 Mar 2023 10:24:59 +0000 (+0000) Subject: Adding VIM create constants X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a8d016d9d942775d15654a362a1dca97232e0b64;p=osm%2Fcommon.git Adding VIM create constants Change-Id: Id2447738f625fc56f4388fc340fa1e1f9228cd52 Signed-off-by: Mark Beierl --- diff --git a/osm_common/dataclasses/temporal_dataclasses.py b/osm_common/dataclasses/temporal_dataclasses.py index f3eed36..b5718b3 100644 --- a/osm_common/dataclasses/temporal_dataclasses.py +++ b/osm_common/dataclasses/temporal_dataclasses.py @@ -17,10 +17,25 @@ 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 diff --git a/osm_common/temporal_constants.py b/osm_common/temporal_constants.py index aa333f6..7290390 100644 --- a/osm_common/temporal_constants.py +++ b/osm_common/temporal_constants.py @@ -16,3 +16,10 @@ ####################################################################################### 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"