← Back to team overview

openstack team mailing list archive

Re: Understanding the Folsom-Quantum

 

On 12/11/2012 11:38 AM, Trinath Somanchi wrote:
Hi-

Thanks for the reply. I still have some more doubts ... please find then inline.

Kindly help me understand these...


On Tue, Dec 11, 2012 at 2:59 PM, Gary Kotton <gkotton@xxxxxxxxxx <mailto:gkotton@xxxxxxxxxx>> wrote:

    On 12/11/2012 09:50 AM, Trinath Somanchi wrote:
    Hi-

    I have the following first set of doubts regarding the Folsom Quantum

    [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.

    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.
    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.



    [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.

    This enables the DHCP agent to request information from the plugin.

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.

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.




    [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?

    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.



    [4] Why OVS quantum Plug-in doesn't support create/update/delete
    of port and subnets?

    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
    https://review.openstack.org/#/c/16210/ you will see that in some
    cases changes need to be made - for example extending the ports to
    support security groups.




    Kindly help me understand these ...

    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.


    Thanks in advance



-- Regards,
    ----------------------------------------------
    Trinath Somanchi,
    +91 9866 235 130 <tel:%2B91%209866%20235%20130>



    _______________________________________________
    Mailing list:https://launchpad.net/~openstack  <https://launchpad.net/%7Eopenstack>
    Post to     :openstack@xxxxxxxxxxxxxxxxxxx  <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe :https://launchpad.net/~openstack  <https://launchpad.net/%7Eopenstack>
    More help   :https://help.launchpad.net/ListHelp


    _______________________________________________
    Mailing list: https://launchpad.net/~openstack
    <https://launchpad.net/%7Eopenstack>
    Post to     : openstack@xxxxxxxxxxxxxxxxxxx
    <mailto:openstack@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~openstack
    <https://launchpad.net/%7Eopenstack>
    More help   : https://help.launchpad.net/ListHelp




--
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130



References