ravening opened a new pull request #4275:
URL: https://github.com/apache/cloudstack/pull/4275


   ## Description
   <!--- Describe your changes in detail -->
   The "hypervisor" field in listvmsnapshot response will
   be used in primate to enable/disable creating a snapshot
   from VM snapshot functionality.
   
   Creating snapshot from VM snapshot will be enabled only if
   the hypervisor is KVM
   
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [X] Enhancement (improves an existing feature and functionality)
   
   
   ## Screenshots (if appropriate):
   
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   Cloudmonkey output
   
   ```
   (local) 🐵 > list vmsnapshot
   {
     "count": 2,
     "vmSnapshot": [
       {
         "account": "admin",
         "created": "2020-08-18T11:12:11+0000",
         "current": true,
         "displayname": "i-2-5-VM_VS_20200818111211",
         "domain": "ROOT",
         "domainid": "f47-c10d-11ea-8715-063381",
         "hypervisor": "KVM",
         "id": "d34f9-df5a-4510-985a-e7f508ad",
         "name": "i-2-5-VM_VS_20200818111211",
         "state": "Ready",
         "tags": [],
         "type": "DiskAndMemory",
         "virtualmachineid": "52cfd-e8d6-4c85-a7e0-f603f151",
         "zoneid": "d0802-be7b-4345-8b55-1612c0b"
       },
       {
         "account": "admin",
         "created": "2020-08-17T15:48:08+0000",
         "current": true,
         "description": "second",
         "displayname": "second",
         "domain": "ROOT",
         "domainid": "f4702-c10d-11ea-8715-0623381",
         "hypervisor": "KVM",
         "id": "c953-0836-4d75-83a7-f805f8ad",
         "name": "i-2-8-VM_VS_20200817154808",
         "state": "Ready",
         "tags": [],
         "type": "DiskAndMemory",
         "virtualmachineid": "3c34-99d2-491c-b1a1-228ec87cb",
         "zoneid": "d0802-be7b-4345-8b55-1612fe0b"
       }
     ]
   }
   ```
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to