<div dir="ltr">Eugene,<div><br></div><div>I quickly went through your wiki and I think most of it makes total sense to me.</div><div style>I would just consider renaming "Service Groups" to "Service Offering" because it's less ambiguous.</div>
<div style>This concept, at least for reading, is made available to tenant. Exposing it as an "Offering" of services that can be deployed makes more sense.</div><div style><br></div><div style>I see you also have two todos: for the first, I'd say let's keep it open to future implementation with multiple plugins (if we don't do that, we might end up in a pickle), for the second, I'd say it's a cool feature, but probably not worth the hassle. </div>
<div style><br></div><div style>I would keep the insertion model out for now; not because I do not agree with it, but because we might incur the same problem we had with Service Type, and also the LB API.</div><div style>
Since we did it without a backing implementation, we then had to tweak it. We can always augment the service type once the service insertion/chaining framework will be ready.<br></div><div style>And as you know, steering the discussion onto service insertion kills productivity.</div>
<div style>I like the idea anyway - and we already proposed to include it into the servicetypespec in Grizzly - for instance it could be used to say whether the corresponding implementation is backed by a service VM, an ADC with context, or whether it's a physical device attached at L2, and so on. <br>
</div><div style><br></div><div style>On the REST call dispatching section, I don't see anything wrong with your idea, the only change I would propose is that when you create a VIP you specify the service offering, not the service provider. You do not want to expose that kind of detail.</div>
<div style><br></div><div style><br></div><div style><br></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 May 2013 21:32, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Salvatore, folks,<div><br></div><div>Friday also works for me. To have something concrete to discuss, I've created a page with a summary of the ideas in my first email:</div>
<div><a href="https://wiki.openstack.org/wiki/Quantum/ServiceTypeFramework" target="_blank">https://wiki.openstack.org/wiki/Quantum/ServiceTypeFramework</a><br>
</div><div><br></div><div>May be if everyone is ok with this proposal then our meeting will be short (if we even need one) :)</div><div><br></div><div>Thanks,</div><div>Eugene.</div><div><br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, May 1, 2013 at 6:15 PM, Salvatore Orlando <span dir="ltr"><<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im"><div>Eugene,</div>I did not see this message and I replied on the other post.<div>
I will not be available tomorrow between 6AM PST and 1PM PST. Friday would work for me, but honestly I think we might want to flesh out ideas and terminology a little bit better offline before going into a meeting; I think having a clearer picture will boost the productivity of the meeting.</div>
<div><br></div><div>You've set the discussion on the right tracks with your first email.</div></div><span><font color="#888888"><div><br></div><div>Salvatore</div></font></span></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div class="im"><div><div>
On 1 May 2013 15:04, Eugene Nikanorov <span dir="ltr"><<a href="mailto:enikanorov@mirantis.com" target="_blank">enikanorov@mirantis.com</a>></span> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div><div class="im">
<div dir="ltr">So folks,<div><br></div><div>How about meet tomorrow, Thursday, 10 AM PST at #quantum-lbaas and discuss these things?</div><div><br></div><div>Thanks,</div><div>Eugene.</div></div></div><div><div>
<div class="gmail_extra">
<br><br><div class="gmail_quote"><div class="im">On Tue, Apr 30, 2013 at 8:31 PM, Sumit Naiksatam <span dir="ltr"><<a href="mailto:sumitnaiksatam@gmail.com" target="_blank">sumitnaiksatam@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Hi Eugene,<div><br></div><div>Thanks for bringing this up. We tried to discuss some of these in the "services chaining, insertion, and steering" session during the summit. Based on the discussion and feedback (and also from implementing a prototype involving multiple service "types") my responses inline.</div>
<div><br></div></div><div>~Sumit.<br><br><div class="gmail_quote"><div><div class="im">On Tue, Apr 30, 2013 at 8:34 AM, Eugene Nikanorov <span dir="ltr"><<a href="mailto:enikanorov@mirantis.com" target="_blank">enikanorov@mirantis.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="im">Hi folks,<div><br></div>
<div>One of the major features that we need to implement during Havana (H-1 at best) is true flexible multivendor support.</div>
<div>There could be different ways of giving tenant ability to choose vendor of requested loadbalancer, but we need to evaluate how service types could help us on this way.</div>
<div><br></div><div>The reason I'm writing this is that I'd like to make some terminology cleanup and set up key design points to discuss and move forward.</div><div><br></div><div>Let's start with what we have on service types today:</div>
<div>1) Description of the feature: <a href="https://wiki.openstack.org/wiki/Quantum/ServiceInsertion" target="_blank">https://wiki.openstack.org/wiki/Quantum/ServiceInsertion</a></div><div>2) Code: <a href="https://github.com/openstack/quantum/blob/master/quantum/db/servicetype_db.py" target="_blank">https://github.com/openstack/quantum/blob/master/quantum/db/servicetype_db.py</a></div>
<div>3) seems to be framework is not used (and doesn't have respective CLI code) so changing it would not be painfull if we want to.</div><div><br></div></div><div class="im"><div><b>I'd like to set service insertion problem aside and focus on service types as a way to choose vendor.</b></div>
<div><br></div></div><div class="im"><div>So, on terminology side we have the following enitities (from code and docs):</div><div>- Service Type - defines a set of service providers (plugins:drivers)</div><div>- Service Definition - defines one service provider</div>
<div>- Service Class - a type of service (?!) (LB, FW, VPN)</div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div></div>
<div>1) So, first of all terminology seems to be quite confusing, especially word "type" is overloaded.</div><div class="im"><div>
I think we need to propose better names for the these entities just to simplify our thinking about the integration with services.</div><div><br></div></div></div></blockquote><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div></div><div>So, my proposal would be: </div><div>- Service Type - LB, FW, VPN</div>
<div>- Service Type Provider - defines one service provider (former Service Definition) (alt: Service Type Definition)</div><div>- Service Group - what used to be Service Type. (alt: Service Set, ??)</div><div>
<br></div></div></blockquote><div><br></div></div></div><div class="im"><div>Sumit: How about a top level "service_type" class (consistent with current definition) with attributes like:</div><div>- Category, e.g. LB, FW, VPN</div>
<div>
- Vendor, e.g. XYZ</div>
<div>- Insertion Model, e.g. L3, L2, Bump-in-the-wire, Tap (I know you mentioned that you want to keep this aside for now, but I am stating it here for completeness)</div><div>- Provider, name of the class which implements this service (one per type as you suggest later)</div>
</div><div>
<div><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div>
<div>Until agreed, I'll use old terminology.</div><div><br></div><div>2) The relationship between Service Types and Service Definitions.<br>
</div><div>It is not obvious (nowhere stated or enforced) but Service Type must have just one Service Definition of the same Service Class,</div>
<div>otherwise, Service Type is useless for API call dipatching. E.g. there should be 1:1 mapping between Service Type and Service Definition for certain Service Class.</div><div><br></div></div></blockquote><div><br></div>
</div></div><div class="im"><div>Sumit: We also need a base service class definition that can be used across services. This should support a contract for creating multiple logical instances of the service (e.g. one more logical Firewalls devices/instances as requested by a tenant). It should also support the attributes required to help service insertion (since the service implementor knows how the service will attach to the network).</div>
<div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>3) API calls dispatching. The most important question: whether or not to support multiple plugins per Service Class.</div>
<div>In other words, whether to have several Service plugins (several lbaas plugins, for ex) loaded simultaneosly.</div><div>My opinion is that we don't need that as multi-vendor support could be implemented more simple plugin-side drivers.</div>
<div>To make this shorter, I'll skip explanation for now.</div><div><br></div></div></blockquote><div><br></div></div></div><div class="im"><div>Sumit: A complementary part of this discussion is the ability for one plugin to support multiple services. We discussed this briefly during the summit, and I believe we agreed to fix this in the current implementation.</div>
</div><div>
<div><br></div><div><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div></div><div>So in order to move forward I'd suggest we have a meeting with the following agenda:</div>
<div>1. Terminology</div>
<div>2. Service type framework refactoring.</div><div>3. API calls dispatching: hints and control flow.</div><div>I'll prepare some suggestions/diagrams about this.</div><div><br></div><div>
We could have a meeting someday this week at 8:00 - 10:00 AM PST, late evening PST will also work for me.</div><div><br></div></div></blockquote><div><br></div></div></div><div class="im"><div>Sumit: 8 - 10 AM PST sounds good to me! ;-)</div>
<div> </div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>Thanks,</div><div>Eugene.</div>
</div>
</blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br></div></div><div class="im"><div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></div></div></blockquote></div><br></div><div class="im">
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></div></blockquote></div><br></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div>