zap51 commented on issue #6447:
URL: https://github.com/apache/cloudstack/issues/6447#issuecomment-1150250498

   @nvazquez The results through the API are below and is successful.
   
   ```
   (cs-4.17.0.0) 🐱 > deploy virtualmachine 
networkids=bb0ab32f-b6a3-4f6a-a613-ad3e9bb1ef48 
templateid=efd8c38f-36f4-48e1-9f81-84ae8e5801df 
serviceofferingid=232f42ef-3844-4b10-ab27-9656a56bc35a 
diskofferingid=c13cde39-351d-4e41-bd6e-75d432689666 
zoneid=d5601a3e-ad22-4c60-af71-a5d6d03106ec hypervisor=KVM size=6 rootdisksize=6
   {
     "virtualmachine": {
       "account": "admin",
       "affinitygroup": [],
       "cpunumber": 1,
       "cpuspeed": 1000,
       "created": "2022-06-08T18:21:19+0000",
       "details": {
         "rootdisksize": "6"
       },
       "diskofferingid": "c13cde39-351d-4e41-bd6e-75d432689666",
       "diskofferingname": "Custom",
       "displayname": "VM-39ba2f9e-2687-4d4c-bb2c-f0b2f52c6102",
       "displayvm": true,
       "domain": "ROOT",
       "domainid": "7b078fde-e698-11ec-b1ed-aa0844d5f780",
       "guestosid": "7b12be68-e698-11ec-b1ed-aa0844d5f780",
       "haenable": false,
       "hasannotations": false,
       "hostid": "8904c92b-f4c9-4800-b74e-08119a184468",
       "hostname": "cs-2",
       "hypervisor": "KVM",
       "id": "39ba2f9e-2687-4d4c-bb2c-f0b2f52c6102",
       "instancename": "i-2-50-VM",
       "isdynamicallyscalable": false,
       "isodisplaytext": "Endeavour OS ISO",
       "isoid": "efd8c38f-36f4-48e1-9f81-84ae8e5801df",
       "isoname": "Endeavour OS ISO",
       "jobid": "6fa5d761-2432-462d-aec4-46f97a2a0fd3",
       "jobstatus": 0,
       "lastupdated": "2022-06-08T18:21:25+0000",
       "memory": 1024,
       "name": "VM-39ba2f9e-2687-4d4c-bb2c-f0b2f52c6102",
       "nic": [
         {
           "broadcasturi": "vxlan://700005",
           "deviceid": "0",
           "extradhcpoption": [],
           "gateway": "172.16.5.1",
           "id": "a2ac399e-de54-4473-9a73-64fc3cfb30e9",
           "ipaddress": "172.16.5.86",
           "isdefault": true,
           "isolationuri": "vxlan://700005",
           "macaddress": "02:00:01:bc:00:06",
           "netmask": "255.255.255.0",
           "networkid": "bb0ab32f-b6a3-4f6a-a613-ad3e9bb1ef48",
           "networkname": "net",
           "secondaryip": [],
           "traffictype": "Guest",
           "type": "Isolated"
         }
       ],
       "osdisplayname": "Other Linux (64-bit)",
       "ostypeid": "7b12be68-e698-11ec-b1ed-aa0844d5f780",
       "passwordenabled": false,
       "pooltype": "RBD",
       "receivedbytes": 0,
       "rootdeviceid": 0,
       "rootdevicetype": "ROOT",
       "securitygroup": [],
       "sentbytes": 0,
       "serviceofferingid": "232f42ef-3844-4b10-ab27-9656a56bc35a",
       "serviceofferingname": "Medium Instance",
       "state": "Running",
       "tags": [],
       "templatedisplaytext": "Endeavour OS ISO",
       "templateid": "efd8c38f-36f4-48e1-9f81-84ae8e5801df",
       "templatename": "Endeavour OS ISO",
       "userid": "8ddf2175-e698-11ec-b1ed-aa0844d5f780",
       "username": "admin",
       "zoneid": "d5601a3e-ad22-4c60-af71-a5d6d03106ec",
       "zonename": "hpe-ec3"
     }
   }
   ```
   
   
![image](https://user-images.githubusercontent.com/45934027/172689905-d8221875-5db4-4a45-9b12-b88753ff92cf.png)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to