<div dir="ltr">Hi Jiri,<div><br></div><div>Thanks for the update...actually i want to use collectd to collect the usages report of the VM's...as the ovirt DWH/Reports tool is not good...so in the begnning all good with colellctd and graph,as all the VM resides on the same HV and get the guest interface in the sequence :- </div><div><br></div><div>HV1 :- Has 2 VM (A & B) with 1 Nic each means VM A allign with vnet0 and VM B allign with vnet1</div><div>HV2 :- Has 2 VM (C & D) with 1 Nic each means VM C allign with vnet0 and VM D allign with vnet1</div><div><br></div><div>Now in any case when the VM A migrate from HV1 to HV2..VM A Nic will change with vnet2...i want to remove this behavior,if it's with uuid instead of vnet ,in any case vm migrate to any HV,the nic name will remain same...and all the rrd data will also remain the same for graph...</div><div><br></div><div>Now if it change to vnet2,in the collectd-web it displays two rrd (vnet0 and vnet2)...is there any way to change it with uuid instead of vnet...</div><div><br></div><div>Thanks,</div><div>Punit</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 1:20 AM, Jiri Belka <span dir="ltr"><<a href="mailto:jbelka@redhat.com" target="_blank">jbelka@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I have an query regarding guest VM network name...in the host every VM<br>
> network has the name of vnet0,vnet1 etc...is there any way to change to them<br>
> from vnet to interface id ??<br>
<br>
</span>I understand your point but in "cloud"(-like) environments there's no<br>
use for explicit hardcoded names.<br>
<br>
You better use different approach:<br>
<br>
- use engine's restapi and query for VM network and than for its underlying<br>
hosts/netifaces<br>
- use libvirt directly<br>
<br>
I would go with the former as you already use oVirt.<br>
<br>
See <a href="http://www.ovirt.org/REST-Api" rel="noreferrer" target="_blank">http://www.ovirt.org/REST-Api</a> or<br>
<a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/chap-REST_API_Quick_Start_Example.html" rel="noreferrer" target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/chap-REST_API_Quick_Start_Example.html</a><br>
<br>
Have fun.<br>
<span class="HOEnZb"><font color="#888888"><br>
j.<br>
</font></span></blockquote></div><br></div>