Add stub for workflow definition
Change-Id: I56d1807abc8c40ee7ea7b444b505220c4de3e329
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
@abstractmethod
async def run(self, workflow_input: Input) -> None:
pass
+
+
+class NsTerminateWorkflow(BaseWorkflow):
+ @dataclass
+ class Input:
+ """
+
+ Attributes:
+ -----------
+ ns_uuid : str
+ The UUID of the NS which is stored in the OSM nsrs
+ collection in Mongo.
+ vim_uuid : str
+ The UUID of the VIM account as stored in the OSM vim
+ collection in Mongo
+ """
+
+ ns_uuid: str
+ vim_uuid: str
+
+ @abstractmethod
+ async def run(self, workflow_input: Input) -> None:
+ pass