[Openstack] [Quantum] Quantum OVS Plugin doubt

Gary Kotton gkotton at redhat.com
Tue Dec 11 09:37:07 UTC 2012


On 12/11/2012 06:56 AM, Trinath Somanchi wrote:
> Hi-
>
> Thanks for the reply Gary..
>
> But with respect to the Quantum_plugin_base_v2.py code, which is the 
> base class for the plugins, We can see the create/update/delete 
> network methods only in the quantum plugin. But then How about 
> create/update/delete ports and subnet  methods. These methods do 
> exists in the ryu/nec/nicira plugins.

The OVS inherits the base plugin:

class OVSQuantumPluginV2(db_base_plugin_v2.QuantumDbPluginV2,
                          l3_db.L3_NAT_db_mixin):

This means that if it does not need to make changes to the methods then 
the base classes methods will be invoked.
Thanks
Gary

>
> Will ovs plugin will not consider the implementation of port and 
> subnet? If it considers, where these are happening?
>
> Kindly help me understand the same.
>
> Thanks in advance
>
> -
> Trinath
>
>
> On Sun, Dec 9, 2012 at 5:19 PM, Gary Kotton <gkotton at redhat.com 
> <mailto:gkotton at redhat.com>> wrote:
>
>     Hi Trina,
>     I am not really sure that I understand your question. The Quantum
>     service marshals the API's to a plugin. The plugin is responsible
>     for providing the virtual network service. In the case of the OVS
>     plugin the ovs_quantum_plugin.py will treat the API calls. That
>     means that it will enable the user to perform CRUD operations on
>     the following: networks, subnets and ports. In order to do this it
>     stores the values in a persistent database.
>     The plugin has a layer 2 agent that performs the actual network
>     configuration.
>     Hope that this help.
>     Thanks
>     Gary
>
>
>     On 12/07/2012 09:10 AM, Trinath Somanchi wrote:
>>     Hi Stackers-
>>
>>     I have a doubt with respect to the Quantum OVS Plugin.
>>
>>     [1] Do all the APIs of Quantum use the Quantum OVS plugin to get
>>     the data from the database. or they directly contact the database.
>>
>>     Since, I have seen ovs_quantum_plugin.py code, it has
>>     create_network, update_network methods which use the db api.
>>
>>     Is that the OVS Quantum Plugin APIs are partially used by the
>>     Quantum APIs for getting data from database?
>>
>>     Kindly help me understand these areas of Quantum.
>>
>>     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 at lists.launchpad.net  <mailto:openstack at lists.launchpad.net>
>>     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 at lists.launchpad.net
>     <mailto:openstack at lists.launchpad.net>
>     Unsubscribe : https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> -- 
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121211/5a3baefa/attachment.html>


More information about the Openstack mailing list