[openstack-dev] [neutron][ml2] How to get compute host details

Harshada Kakad harshada.kakad at izeltech.com
Mon Feb 2 09:15:00 UTC 2015


Thanks Kevin for reply.
But 'host' attribute returns me the controller hostname and not compute
host name. I am having multi node setup, and I want to know compute host
where the VM get launch.

On Mon, Feb 2, 2015 at 2:19 PM, Kevin Benton <blak111 at gmail.com> wrote:

> ML2 makes the hostname available in the context it passes to the drivers
> via the 'host' attribute.[1] This is the only thing Neutron knows about the
> compute node using the port.
>
> 1.
> https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/driver_api.py#L776
>
> On Sun, Feb 1, 2015 at 10:11 PM, Harshada Kakad <
> harshada.kakad at izeltech.com> wrote:
>
>> Hi All,
>>
>> I am developing ml2 driver and I want compute host details while creation
>> of ports. I mean to say is, I have multi node setup and when I launch VM I
>> want to get deatils on which compute node does this VM got launced while
>> creation of ports. Can anyone please help me on this.
>>
>> Thanks in Advance.
>>
>> --
>> *Regards,*
>> *Harshada Kakad*
>> *--------------------------------------------------------------------*
>> *Sr. Software Engineer*
>> *C3/101, Saudamini Complex, Right Bhusari Colony, Paud Road, Pune –
>> 411013, India*
>> *Mobile-9689187388*
>> *Email-Id : harshada.kakad at izeltech.com <harshada.kakad at izeltech.com>*
>> *website : www.izeltech.com <http://www.izeltech.com>*
>>
>> *****Disclaimer*****
>> The information contained in this e-mail and any attachment(s) to this
>> message are intended for the exclusive use of the addressee(s) and may
>> contain proprietary, confidential or privileged information of Izel
>> Technologies Pvt. Ltd. If you are not the intended recipient, you are
>> notified that any review, use, any form of reproduction, dissemination,
>> copying, disclosure, modification, distribution and/or publication of this
>> e-mail message, contents or its attachment(s) is strictly prohibited and
>> you are requested to notify us the same immediately by e-mail and delete
>> this mail immediately. Izel Technologies Pvt. Ltd accepts no liability for
>> virus infected e-mail or errors or omissions or consequences which may
>> arise as a result of this e-mail transmission.
>> *****End of Disclaimer*****
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Kevin Benton
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
*Regards,*
*Harshada Kakad*
*--------------------------------------------------------------------*
*Sr. Software Engineer*
*C3/101, Saudamini Complex, Right Bhusari Colony, Paud Road, Pune – 411013,
India*
*Mobile-9689187388*
*Email-Id : harshada.kakad at izeltech.com <harshada.kakad at izeltech.com>*
*website : www.izeltech.com <http://www.izeltech.com>*

-- 
*****Disclaimer*****
The information contained in this e-mail and any attachment(s) to this 
message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information of Izel 
Technologies Pvt. Ltd. If you are not the intended recipient, you are 
notified that any review, use, any form of reproduction, dissemination, 
copying, disclosure, modification, distribution and/or publication of this 
e-mail message, contents or its attachment(s) is strictly prohibited and 
you are requested to notify us the same immediately by e-mail and delete 
this mail immediately. Izel Technologies Pvt. Ltd accepts no liability for 
virus infected e-mail or errors or omissions or consequences which may 
arise as a result of this e-mail transmission.
*****End of Disclaimer*****
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150202/1f0519a7/attachment.html>


More information about the OpenStack-dev mailing list