[
https://issues.apache.org/jira/browse/CLOUDSTACK-9600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906126#comment-15906126
]
ASF GitHub Bot commented on CLOUDSTACK-9600:
--------------------------------------------
Github user remibergsma commented on the issue:
https://github.com/apache/cloudstack/pull/1999
@resmo we use this i production so @ustcweizhou is right. From a test
environment I just made some screenshots to demonstrate this. It's actually
prety cool :-)
This VM is part of 4 VPCs:

Network details show VPCid:

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