Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Branch

master, 4.1.0

Purpose

This is functional specification for the feature "Base image update facility", the purpose is that we need to be able to update existing VMs with new base image.

...

The usual way to point out to the new base image is to destroy the machine and recreate with the new disk.

But this causes problem due to the change of ipaddress.This feature persists To persist the network identity of the existing VMs even after base image updation this feature can be used.

Architecture and Design description

  • Some changes to the RestoreVM api can achieve this as this api persists the netowrk identity.
  • Adding the same what we do for the upgrade of system vm template.

web services APIs

restoreVirtualMachine: This api is to reset the virtual machine with new volume (used when existing volume got corrupted).

This API needs to be modified to achieve this featureby which it checks for the updated image before creating the new volume. If the image got updated then this api has to create the volume from the newly updated image.

UI flow

  • need to be updated

...