Add type hint to logger
[osm/common.git] / osm_common / temporal / workflows / vdu.py
index e7f2f84..181bc75 100644 (file)
@@ -53,3 +53,32 @@ class VduInstantiateWorkflow(BaseWorkflow):
     @abstractmethod
     async def run(self, workflow_input: Input) -> None:
         pass
+
+
+class VduTerminateWorkflow(BaseWorkflow):
+    """Terminate a VDU"""
+
+    @dataclass
+    class Input:
+        """
+        Input dataclass for workflow that terminates a VDU.
+
+        vim_uuid: str
+            The UUID of the VIM as stored in the OSM vim_accounts
+            collection in Mongo.
+
+        model_name: str
+            Name of the model in Juju where the charm to be removed.
+
+        application_name: str
+            Name of the application whose removal is going to be
+            awaited.
+        """
+
+        vim_uuid: str
+        model_name: str
+        application_name: str
+
+    @abstractmethod
+    async def run(self, workflow_input: Input) -> None:
+        pass