DK101010 commented on pull request #5194:
URL: https://github.com/apache/cloudstack/pull/5194#issuecomment-880517541
> @blueorangutan package
>
> @DK101010 yes, will be great to have a list and import API call/output
added in the PR's description. Though I feel the test you added above is not
for PVLAN broadcast URI type.
@shwstppr you are completely right, wrong vm
```
import unmanagedinstance clusterid=b6dc2477-f3ec-43e2-a405-3605e29aaa42
name=ubuvtst6 displayname=ubuvtst6
projectid=fc61ebe1-6290-4100-98ca-18fb3d950af2
serviceofferingid=15b5681f-08c2-417a-a9ba-4480c229ec03
```
```json
{
"accountid": "226c8611-ff24-11ea-9d07-005056827a97",
"cmd":
"org.apache.cloudstack.api.command.admin.vm.ImportUnmanagedInstanceCmd",
"completed": "2021-07-15T09:42:19+0100",
"created": "2021-07-15T09:42:05+0100",
"jobid": "189390c5-6401-4e62-830f-7ba2b96c174f",
"jobprocstatus": 0,
"jobresult": {
"virtualmachine": {
"affinitygroup": [],
"cpunumber": 1,
"cpuspeed": 0,
"created": "2021-07-15T09:42:19+0100",
"details": {
"cpuNumber": "1",
"dataDiskController": "osdefault",
"deployvm": "true",
"memory": "1024",
"nicAdapter": "Vmxnet3",
"rootDiskController": "pvscsi"
},
"displayname": "ubuvtst6",
"displayvm": true,
"domain": "itelligence",
"domainid": "05dfd7d7-5b11-4f3e-94e4-9569c95f75ee",
"guestosid": "224af937-ff24-11ea-9d07-005056827a97",
"haenable": false,
"hostid": "73676017-b962-4942-bb4c-cf297634b212",
"hostname": "iosvemt01.esx-tst.os.itelligence.de",
"hypervisor": "VMware",
"id": "c13c12de-aa87-413c-8fe3-895a7094af60",
"instancename": "ubuvtst6",
"isdynamicallyscalable": false,
"memory": 1024,
"name": "ubuvtst6",
"nic": [
{
"broadcasturi": "vlan://289",
"extradhcpoption": [],
"id": "c5f110b3-cdc1-492d-be66-c313861942df",
"isdefault": true,
"isolationuri": "vlan://289",
"macaddress": "00:50:56:92:12:41",
"networkid": "c0816fba-bac0-46a7-b749-cc2c36e97f60",
"networkname": "Frontend_289",
"secondaryip": [],
"traffictype": "Guest",
"type": "L2"
},
{
"broadcasturi": "pvlan://63-c289",
"extradhcpoption": [],
"id": "46820c91-c310-4b1e-9383-7a8036e97a8f",
"isdefault": false,
"isolationuri": "pvlan://63-c289",
"macaddress": "02:00:39:f3:00:01",
"networkid": "baad9713-c8a8-4f5f-8ea5-546190db4306",
"networkname": "Backup_63-289",
"secondaryip": [],
"traffictype": "Guest",
"type": "L2"
}
],
"osdisplayname": "Other Ubuntu (64-bit)",
"ostypeid": "224af937-ff24-11ea-9d07-005056827a97",
"passwordenabled": false,
"project": "dev-01",
"projectid": "fc61ebe1-6290-4100-98ca-18fb3d950af2",
"rootdeviceid": 0,
"rootdevicetype": "ROOT",
"securitygroup": [],
"serviceofferingid": "15b5681f-08c2-417a-a9ba-4480c229ec03",
"serviceofferingname": "custom_std-ha-std_fat-fp-std",
"state": "Running",
"tags": [],
"templatedisplaytext": "VM Import Default Template",
"templateid": "59faead6-743e-442f-a964-ffb31da3e785",
"templatename": "system-default-vm-import-dummy-template.iso",
"userid": "22712228-ff24-11ea-9d07-005056827a97",
"username": "admin",
"zoneid": "de1c4b6f-a58b-46e6-9418-1fd55a9f022c",
"zonename": "eu-de-vct5"
}
},
"jobresultcode": 0,
"jobresulttype": "object",
"jobstatus": 1,
"userid": "22712228-ff24-11ea-9d07-005056827a97"
}
```
--
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]