Adding stub class of VduTerminateWorkflow
Change-Id: I378fff51241be3ff7c0a97604db0b9fcc7a08931
Signed-off-by: aa <gulsum.atici@canonical.com>
@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