[ovirt-users] Ovirt Guest VM network | vnet to id

Jiri Belka jbelka at redhat.com
Fri Oct 30 17:20:16 UTC 2015


> I have an query regarding guest VM network name...in the host every VM
> network has the name of vnet0,vnet1 etc...is there any way to change to them
> from vnet to interface id ??

I understand your point but in "cloud"(-like) environments there's no
use for explicit hardcoded names.

You better use different approach:

- use engine's restapi and query for VM network and than for its underlying
  hosts/netifaces
- use libvirt directly

I would go with the former as you already use oVirt.

See http://www.ovirt.org/REST-Api or
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/chap-REST_API_Quick_Start_Example.html

Have fun.

j.



More information about the Users mailing list