Add placeholders for Get VNF record IDs
Change-Id: I44d236056e210b48c9b5b8682a7a434a7ddab165
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
diff --git a/osm_common/dataclasses/temporal_dataclasses.py b/osm_common/dataclasses/temporal_dataclasses.py
index 60dac4e..38dfcfa 100644
--- a/osm_common/dataclasses/temporal_dataclasses.py
+++ b/osm_common/dataclasses/temporal_dataclasses.py
@@ -17,6 +17,7 @@
from dataclasses import dataclass
from enum import auto, IntEnum
+from typing import List
#######################################################################################
@@ -103,27 +104,6 @@
@dataclass
-class NsInstantiateInput:
- """
- Input dataclass for workflow that instantiate NS.
-
- Attributes:
- -----------
- ns_uuid : str
- The UUID of the NS as stored in the OSM nsr
- collection in Mongo
-
- op_id: str
- The operation (task) id for this workflow. This is used
- by the workflow at the end to update the status of the
- operation in Mongo vim collection.
- """
-
- ns_uuid: str
- op_id: str
-
-
-@dataclass
class CharmInfo:
"""
Input dataclass for
@@ -499,3 +479,27 @@
vnfr: dict
vnfd: dict
+
+
+@dataclass
+class GetVnfRecordIdsInput:
+ """
+ Attributes:
+ -----------
+ ns_uuid : str
+ The UUID of the NS from which to retrieve the VNF records.
+ """
+
+ ns_uuid: str
+
+
+@dataclass
+class GetVnfRecordIdsOutput:
+ """
+ Attributes:
+ -----------
+ vnfr_ids : list[str]
+ List of the VNF record IDs associated with the NS.
+ """
+
+ vnfr_ids: List[str]
diff --git a/osm_common/temporal_constants.py b/osm_common/temporal_constants.py
index 54b670d..6de0d28 100644
--- a/osm_common/temporal_constants.py
+++ b/osm_common/temporal_constants.py
@@ -31,6 +31,7 @@
ACTIVITY_UPDATE_VIM_OPERATION_STATE = "update-vim-operation-state"
ACTIVITY_UPDATE_VIM_STATE = "update-vim-state"
ACTIVITY_DEPLOY_NS = "deploy-ns"
+ACTIVITY_GET_VNF_RECORD_IDS = "get-vnf-record-ids"
ACTIVITY_UPDATE_NS_STATE = "update-ns-state"
ACTIVITY_CHECK_NS_INSTANTIATION_FINISHED = "check-ns-instantiation-finish"
ACTIVITY_CREATE_MODEL = "create-model"