<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 12:55 PM, Salman Malik <span dir="ltr"><<a href="mailto:salmanmk@live.com" target="_blank">salmanmk@live.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 dir="ltr">
Hi All,<br></div></div></blockquote><div><br></div><div>Hi Salman, </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">
<br>
I am trying to learn the functionality of Quantum plugins used in
OpenStack. I have read through the Quantum Admin Guide and had few
basic/quick question about quantum and OVS interaction with it:<br>
<br><br>
1) OVS can have ports in which vNICS can be plugged, so why does it need
to use an integration bridge for connecting all VMs on the same node to
a network?<br></div></div></blockquote><div><br></div><div>I'm not sure I follow what question you're asking. When OVS is running on a host, it has one or more "bridges", and bridges have "ports". A linux device representing the vNIC must be added as a port of a bridge being managed by the Quantum plugin. We call this bridge the "integration bridge". The Quantum plugin can then configure the ports and bridges appropriately to forward traffic based on the logical model created via the Quantum API. Can you be more precise about what you're asking here? </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">
<br>
2) The OVS quantum plugin seems to implement the core API functions and
(viewing the code) I concluded that it just makes maintains the logical
mappings e.g. b/w net IDs and VLAN IDs in a database. So how is this
mapping implemented on the actual ports of OVS? Is it the OVS quantum
agent responsible for directing the packets to correct input/output
ports based on the updates that it gets from the database?<br></div></div></blockquote><div><br></div><div>In VLAN-mode, its even simpler than that. The agent simply puts each port as a VLAN access port for the right VLAN, based on the database, and then has OVS perform standard L2 learning to forward packets. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">
<br>
3) The quantum admin guide says that the nova client will be the main
user of quantum and will interact with it via REST API, so it would be nice if someone can point me to the code (file path name etc.) where this happens.<br></div></div></blockquote><div><br></div><div>This is the QuantumManager code in Nova: <a href="https://github.com/openstack/nova/tree/master/nova/network/quantum">https://github.com/openstack/nova/tree/master/nova/network/quantum</a></div>
<div><br></div><div>One word of warning: this code will be being simplified and largely removed in Folsom, so while its useful to look at it to learn about Quantum, I'd ask around before investing the time to make significant changes to the code. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><br><br>PS: What is the purpose of Quantum Manager in this architecture and where should I look for its code? <br>
</div></div></blockquote><div><br></div><div>see above :)</div><div><br></div><div>Dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"> </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</div>