----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9157/ -----------------------------------------------------------
(Updated Feb. 1, 2013, 12:41 p.m.) Review request for cloudstack, Abhinandan Prateek and Koushik Das. Changes ------- added Unit tests Description ------- CLOUDSTACK-745: Reset a VM on reboot To have a method to reset the vm on its reboot. So on reboot, the vm's disk is discarded and creates a new root disk using the template. The use cases for this are -> Secure environments that need a fresh start on every boot -> Desktops that should not retain state This addresses bug CLOUDSTACK-745. Diffs (updated) ----- api/src/com/cloud/offering/ServiceOffering.java b13346c api/src/org/apache/cloudstack/api/ApiConstants.java f704aec api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java 54151fe server/src/com/cloud/configuration/ConfigurationManager.java 09e8ac9 server/src/com/cloud/configuration/ConfigurationManagerImpl.java c8acf3b server/src/com/cloud/migration/ServiceOffering21VO.java fdec30e server/src/com/cloud/service/ServiceOfferingVO.java c199a86 server/src/com/cloud/vm/UserVmManagerImpl.java a53e132 server/test/com/cloud/vm/UserVmManagerTest.java PRE-CREATION server/test/com/cloud/vpc/MockConfigurationManagerImpl.java 17ad2e1 setup/db/create-schema.sql beb9103 setup/db/db/schema-40to410.sql 39b686e Diff: https://reviews.apache.org/r/9157/diff/ Testing ------- Did the manual testing locally Thanks, Harikrishna Patnala