You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/10 08:43:09 UTC
[jira] [Commented] (CLOUDSTACK-9600) listVirtualMachines: return
vpcid if VM is in VPC.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904728#comment-15904728 ]
ASF GitHub Bot commented on CLOUDSTACK-9600:
--------------------------------------------
GitHub user resmo opened a pull request:
https://github.com/apache/cloudstack/pull/1999
CLOUDSTACK-9600: listVirtualMachines: add VPC ID to response
Currently, the listVirtualMachines takes the vpcid as a param but does not return it in a response. It also solves expensive operation for finding out if a VM is in a VPC.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/resmo/cloudstack feature/CLOUDSTACK-9600-vms-vpc-id
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1999.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1999
----
commit 705336af9d03b680c3254d37376ae22b146e97e8
Author: Rene Moser <re...@apache.org>
Date: 2017-03-03T14:34:40Z
CLOUDSTACK-9600: listVirtualMachines: add VPC ID to response
----
> 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)