Change-Id: Ife0e665abeb71fa820894db5251112f22e60699e
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
@abstractmethod
async def run(self, workflow_input: Input) -> None:
pass
+
+
+class VnfDeleteWorkflow(BaseWorkflow):
+ """Delete a VNF.
+
+ Workflow Identifier:
+ It is recommended that the ID for the VNF is referred as a workflow
+ ID when invoking this workflow.
+ """
+
+ @dataclass
+ class Input:
+ """
+ Input dataclass for workflow that deletes a VNF.
+
+ Attributes:
+ -----------
+ vnfr_uuid : str
+ The UUID of the VNF which is stored in the OSM vnfrs
+ collection in Mongo.
+
+ """
+
+ vnfr_uuid: str
+
+ @abstractmethod
+ async def run(self, workflow_input: Input) -> None:
+ pass