<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>i was looking for root cause of this bug:<br>
<br>
"After creating a vepa network and adding it to a guest, the same
is listed in Actions->Edit. If the guest is poweron, the
interfaces is not listed".<br>
<br>
</p>
<p>When offline, libvirt says vepa interface is "type" (i run a GET
on vm/ifaces, see below): "network". When up, this parameter
change to "macvtap", what is breaking UI:<br>
<br>
<br>
ui/js/src/kimchi.guest_edit_main.js<br>
456
kimchi.getGuestInterfaces(kimchi.selectedGuest, function(data) {<br>
457 for (var i = 0; i < data.length; i++)
{<br>
458 data[i].viewMode = "";<br>
459 data[i].editMode = "hide";<br>
460 data[i].id = i;<br>
461 if (data[i].type == 'network')<br>
462 addItem(data[i]);<br>
463 }<br>
464 });<br>
<br>
So, the if at 461 fails and the interface is not added. Need to
figure out why libvirt is changing it.<br>
</p>
<p>Here is a get at vms/ifaces:<br>
<br>
Poweroff:<br>
{<br>
"source":"eth0",<br>
"mac":"52:54:00:2f:48:f4",<br>
"model":"virtio",<br>
"type":"network",<br>
"mode":"vepa"<br>
}<br>
]<br>
<br>
Poweron<br>
</p>
<p> {<br>
"source":"eth0",<br>
"mac":"52:54:00:2f:48:f4",<br>
"model":"virtio",<br>
"type":"macvtap",<br>
"mode":"vepa"<br>
}<br>
<br>
Anyone know how to proceed? Can i open a bug against libvirt?<br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
<a class="moz-txt-link-abbreviated" href="mailto:ramonn@br.ibm.com">ramonn@br.ibm.com</a> </pre>
</body>
</html>