<div dir="ltr">Hi Vivek,<br><br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 17, 2017 at 11:27 AM Vivek Nirala <<a href="mailto:nirala.vivek@gmail.com">nirala.vivek@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:georgia,serif;color:rgb(68,68,68)">Alternatively can we use a bridge to attach the nic interfaces(of n number of virtual machines) ?</div></div></blockquote><div><br></div><div>Yes, this is exactly what Neutron does by default.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:georgia,serif;color:rgb(68,68,68)">If yes then is there any specific neutron command to add a bridge and attach nics to it, this is required since as far as i know nova needs a network to spawn an instance.</div></div></blockquote><div><br></div><div>There is no specific command at the time of creating the network or of booting any instances. You just need to have your Neutron configured to use one of the drivers or plugins that uses bridging to connect VM interfaces.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:georgia,serif;color:rgb(68,68,68)"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:georgia,serif;color:rgb(68,68,68)">if there is no specific neutron command to add bridge is there any plugin for that ( ML2 ?? )?</div></div></blockquote><div><br></div><div>Yes. The simplest option is the ML2 plugin with the 'linuxbridge' mechanism driver.</div><div><br></div><div>Regards,</div><div> Neil</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:georgia,serif;color:rgb(68,68,68)">..</div></div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Thu, Mar 16, 2017 at 11:21 PM, Kevin Benton <span dir="ltr" class="gmail_msg"><<a href="mailto:kevin@benton.pub" class="gmail_msg" target="_blank">kevin@benton.pub</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">If it's to carry some non-ethernet traffic you will need to setup a tunnel between the VMs yourself with L2TP or something similar.</div><div class="m_-8948653805476139879HOEnZb gmail_msg"><div class="m_-8948653805476139879h5 gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Thu, Mar 16, 2017 at 10:47 AM, Vivek Nirala <span dir="ltr" class="gmail_msg"><<a href="mailto:nirala.vivek@gmail.com" class="gmail_msg" target="_blank">nirala.vivek@gmail.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg">The connection should be like normal Ethernet wire connection, just like we plug an Ethernet wire between two hosts (Host1)nic---etherrnetwire---nic(Host2).<div dir="auto" class="gmail_msg"><br class="gmail_msg"></div></div><div class="m_-8948653805476139879m_-3835003311838663853HOEnZb gmail_msg"><div class="m_-8948653805476139879m_-3835003311838663853h5 gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On 16-Mar-2017 4:40 PM, "Kevin Benton" <kevin@benton.pub> wrote:<br type="attribution" class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="gmail_msg">What kind of cable? What protocol will be carried over it? <div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">Traffic between VMs on different hosts needs to be encapsulated by a protocol like GRE or VXLAN to carry it over the real network so that imposes some limitations on emulating a 'direct wire'. </div><div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">If you need to carry some other l2 protocol between two VMs, I suggest that you just establish and L2TP connection between the hypervisors. </div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Mar 16, 2017 03:56, "Vivek Nirala" <<a href="mailto:nirala.vivek@gmail.com" class="gmail_msg" target="_blank">nirala.vivek@gmail.com</a>> wrote:<br type="attribution" class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div style="font-family:georgia,serif;color:rgb(68,68,68)" class="gmail_msg">I want the connection between the two VMs through nics or anyother way, such that the connection is like direct cable connection.</div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Wed, Mar 15, 2017 at 11:06 AM, Kevin Benton <span dir="ltr" class="gmail_msg"><<a href="mailto:kevin@benton.pub" class="gmail_msg" target="_blank">kevin@benton.pub</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">What type of L2 communication do they need to do? If it's ethernet, then just attaching two ports to a network using one of the reference ML2 drivers (i.e. OVS or LinuxBridge) will give you L2 ethernet connectivity via virtual switches.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">If you want two VMs connected via a direct connect that passes arbitrary frames directly without switching so you can use non-ethernet protocols, then I don't believe any of the plugins support a model like that.</div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg"><div class="m_-8948653805476139879m_-3835003311838663853m_-2944052268599398905m_8893813681480234479m_-7944908638473211767h5 gmail_msg">On Tue, Mar 14, 2017 at 9:46 PM, Vivek Nirala <span dir="ltr" class="gmail_msg"><<a href="mailto:nirala.vivek@gmail.com" class="gmail_msg" target="_blank">nirala.vivek@gmail.com</a>></span> wrote:<br class="gmail_msg"></div></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="m_-8948653805476139879m_-3835003311838663853m_-2944052268599398905m_8893813681480234479m_-7944908638473211767h5 gmail_msg"><div dir="ltr" class="gmail_msg"><div style="font-family:georgia,serif;color:#444444" class="gmail_msg">Hi,</div><div style="font-family:georgia,serif;color:#444444" class="gmail_msg"><br class="gmail_msg"></div><div style="font-family:georgia,serif;color:#444444" class="gmail_msg">I have installed openstack using ansible on Ubuntu 16.04 Server.</div><div style="font-family:georgia,serif;color:#444444" class="gmail_msg">I am able to successfully create VMs and launch instances however the requirement is to add one extra nic on both VMs(default is only once nic) so as the extra nics are connected as if they are physically connected via a wire i.e. L2 connectivity.</div><div style="font-family:georgia,serif;color:#444444" class="gmail_msg"><br class="gmail_msg"></div><div style="font-family:georgia,serif;color:#444444" class="gmail_msg">Please let me know your suggestions.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="m_-8948653805476139879m_-3835003311838663853m_-2944052268599398905m_8893813681480234479m_-7944908638473211767m_2454124707369468950m_3570975154715304849gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><font style="background-color:rgb(255,255,255)" class="gmail_msg">Thanks<div style="font-family:georgia,serif;color:rgb(68,68,68);display:inline" class="gmail_msg">,</div></font></span></div><div dir="ltr" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><font style="background-color:rgb(255,255,255)" class="gmail_msg"><div style="font-family:georgia,serif;color:rgb(68,68,68);display:inline" class="gmail_msg">Vivek</div></font></span><div style="background-color:rgb(255,255,255)" class="gmail_msg"><br class="gmail_msg"></div></div></div>
</div>
<br class="gmail_msg"></div></div>_______________________________________________<br class="gmail_msg">
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="gmail_msg">
Post to : <a href="mailto:openstack@lists.openstack.org" class="gmail_msg" target="_blank">openstack@lists.openstack.org</a><br class="gmail_msg">
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
</blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_-8948653805476139879m_-3835003311838663853m_-2944052268599398905m_8893813681480234479m_-7944908638473211767gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><font style="background-color:rgb(255,255,255)" class="gmail_msg">Thanks,</font></span><div style="background-color:rgb(255,255,255)" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><b class="gmail_msg">Vivek Nirala</b></span></div><div style="background-color:rgb(255,255,255)" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg">Mobile:<a href="tel:+91%2092786%2076843" value="+919278676843" class="gmail_msg" target="_blank">+91-9278676843</a></span></div></div></div>
</div>
</blockquote></div></div>
</blockquote></div></div>
</div></div></blockquote></div><br class="gmail_msg"></div>
</div></div></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_-8948653805476139879gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><font style="background-color:rgb(255,255,255)" class="gmail_msg">Thanks,</font></span><div style="background-color:rgb(255,255,255)" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"><b class="gmail_msg">Vivek Nirala</b></span></div><div style="background-color:rgb(255,255,255)" class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg">Mobile:<a href="tel:+91%2092786%2076843" value="+919278676843" class="gmail_msg" target="_blank">+91-9278676843</a></span></div></div></div>
</div></div>
_______________________________________________<br class="gmail_msg">
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="gmail_msg">
Post to : <a href="mailto:openstack@lists.openstack.org" class="gmail_msg" target="_blank">openstack@lists.openstack.org</a><br class="gmail_msg">
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="gmail_msg">
</blockquote></div></div>