<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 12/11/2012 11:38 AM, Trinath Somanchi wrote:
<blockquote
cite="mid:CAH8HgmbzGp8m-d+BxGDknxPKsYij0iSjWcqS8qELriZ4aoM5ug@mail.gmail.com"
type="cite">Hi-
<div><br>
</div>
<div>Thanks for the reply. I still have some more doubts ...
please find then inline.</div>
<div><br>
</div>
<div>Kindly help me understand these...<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Tue, Dec 11, 2012 at 2:59 PM, Gary Kotton <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:gkotton@redhat.com" target="_blank">gkotton@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 bgcolor="#FFFFFF" text="#000000">
<div class="im"> On 12/11/2012 09:50 AM, Trinath
Somanchi wrote:
<blockquote type="cite">Hi-
<div><br>
</div>
<div>I have the following first set of doubts
regarding the Folsom Quantum</div>
<div><br>
</div>
<div>[1] With regard of Quantum Plug-in, How does
the RPC communication take place between the Agent
and the plug-n ? In the source code,
ovs_quantum_plugin.py, I find the setup_rpc method
and AgentRPCAPI class what does the reverse RPC
tasks. Can any one guide me on understanding this.</div>
</blockquote>
<br>
</div>
When the OVS detects that a new interface has been added
it will query the plugin for the interface details. This
will enable it to create the relevant networking for the
specific interface, for example tags etc. The agent
requests information from the plugin when it detects
that there is a new resources. <br>
In addition to this there are cases when the plugin will
notify the agent - for example if the admin status of a
port has changed.
<div class="im"><br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div>[2] What is the significance of the file
quantum/db/dhcp_rpc_base.py? Many plugins in the
quantum/plugins directory use the methods in the
class. <br>
</div>
</blockquote>
<br>
</div>
This enables the DHCP agent to request information from
the plugin.
<div class="im"><br>
</div>
</div>
</blockquote>
<div>Trinath>> But then dhcp-agent has to use this
api. But why the plugins are using this api? I see in the
source code that, ryu, nec and ovs plugins use this
dhcp_rpc_base for redirected processing of data. <br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
The DHCP agent makes use of RPC call to access the information. The
plugin needs to treat these calls. Each plugin is responsible for
the persistent data hence the code that you have mentioned.<br>
<br>
<blockquote
cite="mid:CAH8HgmbzGp8m-d+BxGDknxPKsYij0iSjWcqS8qELriZ4aoM5ug@mail.gmail.com"
type="cite">
<div>
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="im"> <br>
<blockquote type="cite">
<div><br>
</div>
<div>[3] With core_plugin configuration being in
place, can we have some other plugin too existing
in Quantum? Can any one guide me on how to achieve
the same, like a Fake plugin?</div>
</blockquote>
<br>
</div>
In V2 there is no fake plugin. There are a number of
different plugins that make sue of the base DB plugin -
for example the linuxbridge, openvswitch, NEC, RYU etc.
<div class="im"><br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div>[4] Why OVS quantum Plug-in doesn't support
create/update/delete of port and subnets? <br>
</div>
</blockquote>
<br>
</div>
The OVS plugin inherits the base plugin. If it does not
need to make any additions then it will use the base
methods implementation. If you look at <a
moz-do-not-send="true"
href="https://review.openstack.org/#/c/16210/"
target="_blank">https://review.openstack.org/#/c/16210/</a>
you will see that in some cases changes need to be made
- for example extending the ports to support security
groups.
<div class="im"><br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div><br>
</div>
<div>Kindly help me understand these ...</div>
</blockquote>
<br>
</div>
It is all pretty complicated. My suggestion would be to
get a evstack installation up and running and playing
around with the configurations and the agents. Once you
start to understand how all of the components interact
it will be easier to follow.<br>
<br>
<blockquote type="cite">
<div class="im">
<div><br>
</div>
<div>Thanks in advance</div>
<div><br>
</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div><a moz-do-not-send="true"
href="tel:%2B91%209866%20235%20130"
value="+919866235130" target="_blank">+91 9866
235 130</a></div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
<pre>_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
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>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div>+91 9866 235 130</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>