[one-users] Open vSwitch port of VM instance

Greg Stabler gstable at clemson.edu
Sat Feb 11 17:11:03 PST 2012


Carlos,

Thank you for prompt reply. That was exactly what I was looking for.

Greg


2012/2/10 Carlos Martín Sánchez <cmartin at opennebula.org>

> Hi,
>
> You can return any extra attribute in the polling script [1].
> Modify /var/lib/one/remotes/vmm/kvm/poll, and then exectute 'onehost sync'.
> This will update the contents of /var/lib/one/remotes in the next host
> monitorization cycle.
>
> Cheers
>
> [1] http://opennebula.org/documentation:rel3.2:devel-vmm#poll_information
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Thu, Feb 9, 2012 at 10:50 PM, Greg Stabler <gstable at clemson.edu> wrote:
>
>> Hi,
>>
>> I'm trying to get the port number that my virtual machine is attached to
>> on a bridge from Open vSwitch from within OpenNebula. Ideally, I'd like to
>> have OpenNebula store that information in the Network template of the
>> virtual machine so I could retrieve it later. However, I'm not entirely
>> sure what code to modify to make that happen. I was thinking somewhere in
>> the kvm deploy or polling code.
>>
>> I'm using OpenNebula 3.0 and I have the Open vSwitch hook enabled. Any
>> help or suggestions in the right direction would be greatly appreciated.
>>
>> Thank you,
>> Greg
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120211/01e8a5cf/attachment-0002.htm>


More information about the Users mailing list