<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;white-space:nowrap;background-color:rgb(255,255,255)">Trinath</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap;background-color:rgb(255,255,255)">,</span><div>
<font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">1. We need to update the file once service type is added.</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Say, if we add firewall service, we need to add corresponding service type constant.</span></font></div><div><br></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">2. This constants are keys in the dictionary that keeps loaded plugins.</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">So currently it's 1 plugin per service type. </span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">E.g. core API can have only 1 plugin.</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Regarding running multiple plugins for core API: there is "metaplugin" plugin that was created for such purpose of running several core plugins simultaneously.</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">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.</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">You can find more information here: <a href="https://github.com/openstack/quantum/tree/master/quantum/plugins/metaplugin">https://github.com/openstack/quantum/tree/master/quantum/plugins/metaplugin</a> </span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Thanks,</span></font></div>
<div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Eugene.</span></font></div><div><br></div><div><div class="gmail_quote">On Wed, Jan 9, 2013 at 11:08 AM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Eugene-<div><br></div><div>Thanks a lot for the reply..</div><div><br></div><div>I have few doubts regarding the file /quantum/plugins/common/constants.py </div>
<div><br></div><div>[1] Do we need to update this file when any new plugin is added?</div>
<div><br></div><div>[2] How this file and its macros are utilized for servicing the multiple plugins?</div><div><br></div><div>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?</div>
<div><br></div><div>Can you kindly guide me on how this can be achieve the above setup.....</div><div><br></div><div>Can you kindly comment on the above doubts.</div><div><br></div><div>
Thanks in advance.</div><div><br></div><div>-</div><div>Trinath</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 4:23 PM, Eugene Nikanorov <span dir="ltr"><<a href="mailto:enikanorov@mirantis.com" target="_blank">enikanorov@mirantis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Trinath,<div><br></div><div>You might want to check <a href="https://review.openstack.org/#/c/15733/" target="_blank">https://review.openstack.org/#/c/15733/</a></div>
<div>It's the patch implementing multi-plugin support that already have been merged into quantum's master branch.</div>
<div><br></div><div>Thanks,</div><div>Eugene.<div><div><br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 2:33 PM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Stackers-<div><br></div><div>How to support multiple service plugins in the Quantum (Folsom)? </div>
<div>
<br></div><div>I have gone through this link, <a href="https://review.openstack.org/#/c/15881/1" target="_blank">https://review.openstack.org/#/c/15881/1</a></div>
<div><br></div><div>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)</div><div><br></div><div>Please help me out in this regard.</div>
<span><font color="#888888">
<div><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
</div></font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div>
</div>
</div></div></blockquote></div><br></div>