From a8d016d9d942775d15654a362a1dca97232e0b64 Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Thu, 23 Mar 2023 10:24:59 +0000 Subject: [PATCH] Adding VIM create constants Change-Id: Id2447738f625fc56f4388fc340fa1e1f9228cd52 Signed-off-by: Mark Beierl --- osm_common/dataclasses/temporal_dataclasses.py | 15 +++++++++++++++ osm_common/temporal_constants.py | 7 +++++++ 2 files changed, 22 insertions(+) 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" -- 2.25.1