<div dir="ltr"><div>Hi Dan,<br><br></div>Please ignore the previous screenshot and check this.<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div>
<br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 8:49 AM, Shanil S <span dir="ltr"><<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi Dan,<br><br></div>I have attached the screenshot of the console, please check it.<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all">
<div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 4:46 PM, Dan Kenigsberg <span dir="ltr"><<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On Thu, Aug 28, 2014 at 01:50:22PM +0530, Shanil S wrote:<br>
> Hi Aill,<br>
><br>
> We are creating two nics using the api, but it seems the second network is<br>
> not come up and the first one is working. The following xml is used to for<br>
> the nic creation<br>
><br>
> <nic><br>
> <interface>virtio</interface><br>
> <name>eth0</name><br>
> <boot_protocol>static</boot_protocol><br>
> <mac address='".$ip->mac_address."'/><br>
> <network><br>
> <ip address='".$ip->mac_ip."' netmask='255.255.255.0'<br>
> gateway='".$ip->mac_gateway."'/><br>
> </network><br>
> <on_boot>true</on_boot><br>
> <vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' /><br>
> </nic><br>
><br>
> <nic><br>
> <interface>virtio</interface><br>
> <name>eth1</name><br>
> <boot_protocol>static</boot_protocol><br>
> <mac address='".$ip->mac_address."'/><br>
> <network><br>
> <ip address='".$ip->mac_ip."' netmask='255.255.255.0'<br>
> gateway='".$ip->mac_gateway."'/><br>
> </network><br>
> <on_boot>true</on_boot><br>
> <vnic_profile id='037d806f-d76b-4da3-84b6-ac7a5087f836' /><br>
> </nic><br>
><br>
> When i checked the configuration file<br>
> (/etc/sysconfig/network-scripts/ifcfg-eth1) after creating...i find it<br>
> seems the ONBOOT=no.....eventhough we set it true from the api. Is this a<br>
> bug ?<br>
<br>
</div></div>I do not know what "on_boot" means in oVirt API, but it certainly is not<br>
passed to Vdsm or the guest, and as such cannot control what's in the<br>
guest's /etc/sysconfig/network-scripts/ifcfg-eth1.<br>
<br>
The guest may have ifcfg files, it may run NetworkManager, or it may be<br>
Ubunto or Windows. oVirt is responsible to exposing a (virtual) NIC to<br>
the guest, but does not interfere with its configuration.<br>
<span><font color="#888888"><br>
Dan<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>