AWS Enhancement (#48)

* Fix the path registration after reset

* image id

* Handle lock stuff

* Debug

* Debug

* Update

* Update

* Update

* Update

* Update

* Reorder the reset steps

* Reorder the reset steps

* Reorder the reset steps

* Finish and clean

---------

Co-authored-by: XinyuanWangCS <xywang626@gmail.com>
This commit is contained in:
Tianbao Xie
2024-06-20 19:03:02 +08:00
committed by GitHub
parent 536c92b0ce
commit b4901cdad0
4 changed files with 194 additions and 99 deletions

View File

@@ -60,6 +60,13 @@ class VMManager(ABC):
"""
pass
@abstractmethod
def delete_vm(self, vm_path, **kwargs):
"""
Delete the registration of VM by path.
"""
pass
@abstractmethod
def occupy_vm(self, vm_path, pid, **kwargs):
"""