X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-plugin%2Fosm_ro_plugin%2Fvimconn.py;h=bb06037b659762afcc32774575a88c04c7b57565;hb=409d5af00f8c508db5906b696831dd209a2fc633;hp=2baa202299710be80803b0b0c5d5ee84c19713f3;hpb=2e307cf84eabefe994b8fe225bd9c468ecbc2a41;p=osm%2FRO.git diff --git a/RO-plugin/osm_ro_plugin/vimconn.py b/RO-plugin/osm_ro_plugin/vimconn.py index 2baa2022..bb06037b 100644 --- a/RO-plugin/osm_ro_plugin/vimconn.py +++ b/RO-plugin/osm_ro_plugin/vimconn.py @@ -661,7 +661,7 @@ class VimConnector: """Returns the VM instance information from VIM""" raise VimConnNotImplemented("Should have implemented this") - def delete_vminstance(self, vm_id, created_items=None): + def delete_vminstance(self, vm_id, created_items=None, volumes_to_hold=None): """ Removes a VM instance from VIM and its associated elements :param vm_id: VIM identifier of the VM, provided by method new_vminstance @@ -1098,6 +1098,15 @@ class VimConnector: """ raise VimConnNotImplemented("Should have implemented this") + def resize_instance(self, vm_id, flavor_id=None): + """ + resize a vdu + param: + vm_id: ID of an instance + flavor_id: flavor_id to resize the vdu to + """ + raise VimConnNotImplemented("Should have implemented this") + # NOT USED METHODS in current version. Deprecated @deprecated def host_vim2gui(self, host, server_dict):