Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C497D200C36 for ; Fri, 10 Mar 2017 17:33:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C31A9160B85; Fri, 10 Mar 2017 16:33:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 19C7A160B67 for ; Fri, 10 Mar 2017 17:33:08 +0100 (CET) Received: (qmail 95031 invoked by uid 500); 10 Mar 2017 16:33:08 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 95019 invoked by uid 500); 10 Mar 2017 16:33:08 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 95011 invoked by uid 99); 10 Mar 2017 16:33:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 16:33:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B82CAC1FE3 for ; Fri, 10 Mar 2017 16:33:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ccCfrdDbhdmD for ; Fri, 10 Mar 2017 16:33:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DACEB60FBA for ; Fri, 10 Mar 2017 16:33:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 40AF4E0A75 for ; Fri, 10 Mar 2017 16:33:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9406C243BC for ; Fri, 10 Mar 2017 16:33:04 +0000 (UTC) Date: Fri, 10 Mar 2017 16:33:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9600) listVirtualMachines: return vpcid if VM is in VPC. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Mar 2017 16:33:09 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9600?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15905369#comment-15905369 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9600: -------------------------------------------- Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1999 =20 @resmo I still think vpcid should not be added to UserVmResponse, becau= se vm can be added to multiple vpc tiers (same as networks, this is why I a= sked about networkid at the beginning), I just confirmed yes. =20 I am not clear what your issue is. Anyway, if you want to know which vp= c the vm belongs to, you can still get the vpcid from NicResponse (even now= , if you get networkid of nic, then you can get the vpcid from networkid vi= a ListNetworks). > listVirtualMachines: return vpcid if VM is in VPC. > -------------------------------------------------- > > Key: CLOUDSTACK-9600 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-960= 0 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: API, VPC > Reporter: Ren=C3=A9 Moser > Labels: instances, vpc > Fix For: Future > > > listVirtualMachines API does not return vpcid for VMs in VPCs. There is n= o 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)