[
https://issues.apache.org/jira/browse/CLOUDSTACK-9600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904941#comment-15904941
]
ASF GitHub Bot commented on CLOUDSTACK-9600:
--------------------------------------------
Github user ustcweizhou commented on the issue:
https://github.com/apache/cloudstack/pull/1999
two questions
(1) is the network id set in response ? It seems not. Why do we set vpcid
but not networkid ?
(2) what if the vm is in multiple vpc tiers ?
I suggest to add vpcid to NicResponse, instead of UserVmResponse.
> listVirtualMachines: return vpcid if VM is in VPC.
> --------------------------------------------------
>
> Key: CLOUDSTACK-9600
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9600
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API, VPC
> Reporter: René Moser
> Labels: instances, vpc
> Fix For: Future
>
>
> listVirtualMachines API does not return vpcid for VMs in VPCs. There is no
> easy way to find out if VM is in not in a VPC.
> This is a requirement for ansible modules.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)