cores : int (Number of virtual CPUs)
mem: int (GB)
-
- cloud: str (VIM cloud type)
"""
cores: int
mem: int
- cloud: str
@dataclass
charm_info : CharmInfo
constraints: VduComputeConstraints
+
+ cloud: VIM cloud type
+
+ config: Config details of application
"""
vim_uuid: str
model_name: str
charm_info: CharmInfo
constraints: VduComputeConstraints
+ cloud: str
+ config: dict
@dataclass
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