[Openstack] Multi-Plugin Support for Quantum (Folsom)
Eugene Nikanorov
enikanorov at mirantis.com
Wed Jan 9 07:54:41 UTC 2013
Trinath,
1. We need to update the file once service type is added.
Say, if we add firewall service, we need to add corresponding service type
constant.
2. This constants are keys in the dictionary that keeps loaded plugins.
So currently it's 1 plugin per service type.
E.g. core API can have only 1 plugin.
Regarding running multiple plugins for core API: there is "metaplugin"
plugin that was created for such purpose of running several core plugins
simultaneously.
So metaplugin is that single plugin for core API, but it loads other
quantum plugins and then routes API calls to them according to flavor.
You can find more information here:
https://github.com/openstack/quantum/tree/master/quantum/plugins/metaplugin
Thanks,
Eugene.
On Wed, Jan 9, 2013 at 11:08 AM, Trinath Somanchi <
trinath.somanchi at gmail.com> wrote:
> Hi Eugene-
>
> Thanks a lot for the reply..
>
> I have few doubts regarding the file /quantum/plugins/common/constants.py
>
> [1] Do we need to update this file when any new plugin is added?
>
> [2] How this file and its macros are utilized for servicing the multiple
> plugins?
>
> Also, I'm thinking on using OVS plugin and cisco plugin at a time. Will
> this additions to the Folsom source code, does the same task as I'm
> thinking on?
>
> Can you kindly guide me on how this can be achieve the above setup.....
>
> Can you kindly comment on the above doubts.
>
> Thanks in advance.
>
> -
> Trinath
>
>
>
> On Tue, Jan 8, 2013 at 4:23 PM, Eugene Nikanorov <enikanorov at mirantis.com>wrote:
>
>> Hi Trinath,
>>
>> You might want to check https://review.openstack.org/#/c/15733/
>> It's the patch implementing multi-plugin support that already have been
>> merged into quantum's master branch.
>>
>> Thanks,
>> Eugene.
>>
>>
>> On Tue, Jan 8, 2013 at 2:33 PM, Trinath Somanchi <
>> trinath.somanchi at gmail.com> wrote:
>>
>>> Hi Stackers-
>>>
>>> How to support multiple service plugins in the Quantum (Folsom)?
>>>
>>> I have gone through this link, https://review.openstack.org/#/c/15881/1
>>>
>>> Will checking out this code base and integrating the same to the folsom
>>> code base help me in multi-plugin feature for the Quantum (Folsom)
>>>
>>> Please help me out in this regard.
>>>
>>> --
>>> Regards,
>>> ----------------------------------------------
>>> Trinath Somanchi,
>>> +91 9866 235 130
>>>
>>
>>
>
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130109/49c2af5c/attachment.html>
More information about the Openstack
mailing list