cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Cloudstack <pradeepcloudst...@yahoo.com>
Subject Re: Create VM - find out the NIC on KVM host connected to a Network switch
Date Mon, 23 Dec 2013 06:43:22 GMT
That is fine. But how do we convey this information to the Mgmt Server ?
Without making any enhancements to MgmtSvr/Agent , is it possible to achieve this?

-Pradeep





On Saturday, December 21, 2013 4:19 AM, Chiradeep Vittal <Chiradeep.Vittal@citrix.com>
wrote:
 
On the KVM host you could parse the output of 'brctl show', but that is
awkward to parse.
Or you might be able to iterate through /sys/devices/virtual/net/* and
work backwards from that.


On 12/19/13 10:16 PM, "Pradeep Cloudstack" <pradeepcloudstack@yahoo.com>
wrote:

>Hi Chiradeep,
>the LLDP output on the switch looks something like
>
>*************************************
>Local Interface    Parent Interface    Chassis Id          Port info
>    System Name
>ge-0/0/21.0        -                   00:30:48:c9:54:26   eth1
>    bng-p3-vmm-cloudstack.englab.juniper.net
>ge-0/0/20.0        -                   00:30:48:fd:e4:fc   eth1
>    bng-p3-vmm-vde02-dcbg.englab.juniper.net
>me0.0              -                   78:fe:3d:d7:f4:80   ge-0/0/2.0
>    x2-sw39
>*************************************
>
>
>Here  bng-p3-vmm-cloudstack.englab.juniper.net  and
>bng-p3-vmm-vde02-dcbg.englab.juniper.net  are the KVM hosts connected to
>the switch
>
>
>-Pradeep
>
>
>
>
>On Friday, December 20, 2013 5:54 AM, Chiradeep Vittal
><Chiradeep.Vittal@citrix.com> wrote:
> 
>What does the LLDP output look like?
>
>
>On 12/18/13 11:03 PM, "Pradeep Cloudstack" <pradeepcloudstack@yahoo.com>
>wrote:
>
>>Hi ,
>>on a KVM host, I have a bridge interface - cloudbr1 to which eth1 has
>>been added.
>>This is for guest Network.
>>
>>
>>When we create a VM on the KVM host, the NetworkGuru plugin gets to know
>>about cloudbr1
>>(via the KVM traffic label). But is there any means to figure out the
>>ports (like eth1) that have been
>>attached to the bridge interface(in this case cloudbr1) on the KVM?
>>
>>The reason I want to know this is that the lldp output on the switch
>>gives information about eth1 (and not the bridge interfaces).
>>
>>
>>-Pradeep
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message