<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span>Hi Moti,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>ThankYou for your inputs.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>I want a VM to be launched in oVirt, through Nova. i.e., When I
 say,launch new instance in OpenStack, internally VM should get created in oVirt Host, with the same mac address as assigned by OpenStack, get added to the same Network as selected in OpenStack.&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>I am able to spawn a VM &nbsp;and run through the complete the full lifecycle (spawn, pause, reboot, terminate etc).&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new
 york', times, serif; font-style: normal; background-color: transparent;"><span>Now, I am looking at how can I add NIC with the same mac address. I see port is already been created at the OpenStack end.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Should I Hot plug it?</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>or</span></div><div
 style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Prevent Neutron from creating port initially and later use the port created by the oVirt to Neutron?&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span style="background-color: transparent;">Please suggest your thoughts on this.</span><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Regards,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; background-color: transparent;"><span>Udaya Kiran</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, 17 June 2014 2:33 PM, Moti Asayag &lt;masayag@redhat.com&gt; wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><br
 clear="none"><br clear="none">----- Original Message -----<br clear="none">&gt; From: "Udaya Kiran P" &lt;<a shape="rect" ymailto="mailto:ukiran770@yahoo.in" href="mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>&gt;<br clear="none">&gt; To: "Moti Asayag" &lt;<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>&gt;<br clear="none">&gt; Cc: "users" &lt;<a shape="rect" ymailto="mailto:users@ovirt.org" href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br clear="none">&gt; Sent: Tuesday, June 17, 2014 8:46:19 AM<br clear="none">&gt; Subject: Re: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear="none">&gt; <br clear="none">&gt; Hi Moti,<br clear="none">&gt; <br clear="none">&gt; Sorry for the delayed response.<br clear="none">&gt; <br clear="none">&gt; The command neutron agent-list on the neutron server gives the alive status<br clear="none">&gt; as xxx, for the neutron-ovs-agent that
 is installed on the oVirt Host.<br clear="none">&gt; &nbsp;However, I am able to import the network from OpenStack into oVirt.<br clear="none">&gt; <br clear="none">&gt; The port for the mac_address assigned is already created in the neutron<br clear="none">&gt; server. Therefore, when I try to add it again, it gives error, port already<br clear="none">&gt; exists.<br clear="none">&gt; <br clear="none">&gt; How do I attach this port to the VM in oVirt.<br clear="none"><br clear="none">In the ovirt-neutron integration the ports are allocated for the vm by ovirt.<br clear="none">The ovirt-engine creates the port on the neutron server and bind it to the<br clear="none">vm nic:<br clear="none">1. Click on the specific vm<br clear="none">2. Select the 'Vm Interfaces' sub tab<br clear="none">3. Add a vm interface, and select the profile/network of Net1 (the imported neutron<br clear="none">network).<br clear="none"><br clear="none">At this point, you should
 see on your neutron server the created port (by 'neutron port-list').<br clear="none">The mac address for that port will be the one selected by the engine.<br clear="none">You can provide your own custom mac address (as long it is unique).<br clear="none"><br clear="none">Once the vm is started or if the nic was added while the vm is running (hotplug),<br clear="none">the vdsm-hook-openstacknet will wire the port to the integration bridge and<br clear="none">the neutron-ovs-agent will become aware of it.<br clear="none"><br clear="none">Could you elaborate about your use-cases and what would you like to achieve<br clear="none">with ovirt-neutron ? <br clear="none"><br clear="none">You can also ping me (masayag) on #ovirt (oftc.net)<br clear="none"><br clear="none">Regards,<div class="yqt3554842181" id="yqtfd20341"><br clear="none">Moti<br clear="none"><br clear="none">&gt; <br clear="none">&gt; How do I interact with the neutron-ovs-agent to get the
 port and assign to<br clear="none">&gt; oVirt VM.<br clear="none">&gt; <br clear="none">&gt; Please suggest your inputs.<br clear="none">&gt; <br clear="none">&gt; Thank You.<br clear="none">&gt; <br clear="none">&gt; Regards,<br clear="none">&gt; Udaya Kiran<br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; On Wednesday, 28 May 2014 5:54 PM, Moti Asayag &lt;<a shape="rect" ymailto="mailto:masayag@redhat.com" href="mailto:masayag@redhat.com">masayag@redhat.com</a>&gt; wrote:<br clear="none">&gt;&nbsp; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; ----- Original Message -----<br clear="none">&gt; &gt; From: "Udaya Kiran P" &lt;<a shape="rect" ymailto="mailto:ukiran770@yahoo.in" href="mailto:ukiran770@yahoo.in">ukiran770@yahoo.in</a>&gt;<br clear="none">&gt; &gt; To: "users" &lt;<a shape="rect" ymailto="mailto:users@ovirt.org"
 href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br clear="none">&gt; &gt; Sent: Wednesday, May 28, 2014 2:46:00 PM<br clear="none">&gt; &gt; Subject: [ovirt-users] Nova- oVirt Driver : Adding NIC to VM<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; Hi All,<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; I am working on Nova - oVirt driver. I was able to test the VM life cycle<br clear="none">&gt; &gt; successfully - spawn, suspend, resume, shuttof, start and terminate.<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; I am now exploring the Neutron integration in oVirt. I have imported the<br clear="none">&gt; &gt; Network (Net1) form Openstack to oVirt.<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; I get the below error when I try to add a NIC (for imported Net1) to the VM<br clear="none">&gt; &gt; (created by Nova-oVirt driver), having the same MAC address which is<br clear="none">&gt; &gt; assigned in Openstack (Port
 Details page).<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; "Error while executing action Add NIC to VM: Failed to communicate with the<br clear="none">&gt; &gt; external provider."<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; However, I am able to add a NIC with different MAC address.<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; What changes needs to be done to add a NIC with MAC address as assigned by<br clear="none">&gt; &gt; Neutron? Please suggest.<br clear="none">&gt; &gt; <br clear="none">&gt; <br clear="none">&gt; Could you attach the neutron server log (/etc/neutron/server.log) from the<br clear="none">&gt; external network provider ?<br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; &gt; I am using oVirt 3.4.0-1.fc19.<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; Thank you.<br clear="none">&gt; &gt; <br clear="none">&gt; &gt; Regards,<br clear="none">&gt; &gt; Udaya Kiran<br clear="none">&gt; &gt;
 <br clear="none">&gt; &gt; _______________________________________________<br clear="none">&gt; &gt; Users mailing list<br clear="none">&gt; &gt; <a shape="rect" ymailto="mailto:Users@ovirt.org" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br clear="none">&gt; &gt; <a shape="rect" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br clear="none">&gt; &gt;</div><br><br></div>  </div> </div>  </div> </div></body></html>