+ async def delete(self, vim_content, order_id):
+
+ # HA tasks and backward compatibility:
+ # If 'vim_content' does not include 'op_id', we a running a legacy NBI version.
+ # In such a case, HA is not supported by NBI, and the HA check always returns True
+ op_id = vim_content.pop('op_id', None)
+ if not self.lcm_tasks.lock_HA('vim', 'delete', op_id):
+ return
+
+ vim_id = vim_content["_id"]