entity_url: str
+@dataclass
+class GetVimCloudInput:
+ """
+ Input dataclass for get vim cloud activity.
+
+ Attributes:
+ -----------
+ vnfr_uuid : str
+ The UUID of the VNF which is stored in the OSM vnfrs
+ collection in Mongo.
+
+ """
+
+ vnfr_uuid: str
+
+
+@dataclass
+class GetVimCloudOutput:
+ """
+ Output dataclass for get vim cloud activity.
+
+ Attributes:
+ -----------
+ cloud : str
+ Type of the cloud which is used to Deploy VNF.
+ """
+
+ cloud: str
+
+
+@dataclass
+class VduComputeConstraints:
+ """
+ Input dataclass for VDU constraints
+
+ Attributes:
+ -----------
+ cores : int (Number of virtual CPUs)
+
+ mem: int (GB)
+
+ cloud: str (VIM cloud type)
+ """
+
+ cores: int
+ mem: int
+ cloud: str
+
+
@dataclass
class VduInstantiateInput:
"""
charm_info : CharmInfo
+ constraints: VduComputeConstraints
"""
vim_uuid: str
model_name: str
charm_info: CharmInfo
+ constraints: VduComputeConstraints
@dataclass
ACTIVITY_GET_TASK_QUEUE = "get_task_queue"
ACTIVITY_GET_VNF_DETAILS = "get_vnf_details"
ACTIVITY_SET_VNF_MODEL = "set-vnf-model"
+ACTIVITY_GET_VIM_CLOUD = "get-vim-cloud"
# Workflows
WORKFLOW_NSLCM_NO_OP = "nslcm-no-op"