Add placeholders for Get VNF record IDs
[osm/common.git] / osm_common / dataclasses / temporal_dataclasses.py
index a780243..38dfcfa 100644 (file)
@@ -17,6 +17,7 @@
 
 from dataclasses import dataclass
 from enum import auto, IntEnum
+from typing import List
 
 
 #######################################################################################
@@ -102,27 +103,6 @@ class NsLcmOperationInput:
     nslcmop: dict
 
 
-@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:
     """
@@ -171,25 +151,12 @@ class VnfInstantiateInput:
         The UUID of the VNF which is stored in the OSM vnfrs
         collection in Mongo.
 
-    """
-
-    vnfr_uuid: str
-
-
-@dataclass
-class PrepareVnfInput:
-    """
-    Input dataclass for workflow that prepares a VNF.
-
-    Attributes:
-    -----------
-    vnfr_uuid : str
-        The UUID of the VNF which is stored in the OSM vnfrs
-        collection in Mongo.
+    model_name: str
 
     """
 
     vnfr_uuid: str
+    model_name: str
 
 
 #######################################################################################
@@ -413,7 +380,7 @@ class CheckCharmStatusInput:
 
 
 @dataclass
-class ChangeNFStateInput:
+class ChangeVnfStateInput:
     """
     Input dataclass for changing VNF State.
 
@@ -512,3 +479,27 @@ class GetVnfDetailsOutput:
 
     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]