OSMENG-1048 Implement day1 configuration for VDU
[osm/common.git] / osm_common / dataclasses / temporal_dataclasses.py
index 26797a6..de541f2 100644 (file)
@@ -182,6 +182,8 @@ class VduInstantiateInput:
     constraints: VduComputeConstraints
 
     cloud: VIM cloud type
+
+    config: Config details of application
     """
 
     vim_uuid: str
@@ -189,6 +191,7 @@ class VduInstantiateInput:
     charm_info: CharmInfo
     constraints: VduComputeConstraints
     cloud: str
+    config: dict
 
 
 @dataclass
@@ -210,6 +213,37 @@ class VnfInstantiateInput:
     model_name: str
 
 
+@dataclass
+class GetNsRecordInput:
+    """
+    Input dataclass for getting NS record activity.
+
+    Attributes:
+    -----------
+    nsr_uuid :
+        The UUID of the NS record which is stored in the OSM nsrs
+        collection in Mongo.
+
+    """
+
+    nsr_uuid: str
+
+
+@dataclass
+class GetNsRecordOutput:
+    """
+    Output dataclass for getting NS record activity.
+
+    Attributes:
+    -----------
+    nsr : dict
+        NS record retrieved from Database..
+
+    """
+
+    nsr: dict
+
+
 #######################################################################################
 # Activity Dataclasses