def list_extensions(self, kind=None):
        if kind is None:
            return self.extensions.values()
        if kind not in self.extension_kinds:
            raise ValueError('Unknown extension type: {}'.format(kind))
        return self._get_store(self.extension_kinds[kind]).values()
Confirms a resize, destroying the source VM.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/extension_loader.py/ExtensionLoader.list_extensions--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.confirm_migration