[
https://issues.apache.org/jira/browse/CLOUDSTACK-9600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905195#comment-15905195
]
ASF GitHub Bot commented on CLOUDSTACK-9600:
--------------------------------------------
Github user ustcweizhou commented on the issue:
https://github.com/apache/cloudstack/pull/1999
@resmo VM can be part of any isolated networks, shared networks, vpc tiers.
You can try adding another vpc tier to an existing vm in a vpc.
Anyway, adding Vpcid in NicResponse makes more sense.
> 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)