<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>As I understand it, loadbalancer in v2 is more like pool was in v1. Can we make it such that if you are using the loadbalancer resource and have the mandatory v2 properties that it tries to use v2 api, otherwise its a v1 resource? PoolMember should be
ok being the same. It just needs to call v1 or v2 depending on if the lb its pointing at is v1 or v2. Is monitor's api different between them? Can it be like pool member?<br>
<br>
Thanks,<br>
Kevin <strong>
<div><font face="Tahoma" color="#000000" size="2"> </font></div>
</strong>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Brandon Logan<br>
<b>Sent:</b> Tuesday, September 22, 2015 5:39:03 PM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> Re: [openstack-dev] [neutron][lbaas] - Heat support for LbaasV2<br>
</font><br>
<div></div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">So for the API v1s api is of the structure:<br>
<br>
<neutron-endpoint>/lb/(vip|pool|member|health_monitor)<br>
<br>
V2s is:<br>
<neutron-endpoint>/lbaas/(loadbalancer|listener|pool|healthmonitor)<br>
<br>
member is a child of pool, so it would go down one level.<br>
<br>
The only difference is the lb for v1 and lbaas for v2. Not sure if that<br>
is enough of a different.<br>
<br>
Thanks,<br>
Brandon<br>
On Tue, 2015-09-22 at 23:48 +0000, Fox, Kevin M wrote:<br>
> Thats the problem. :/<br>
> <br>
> I can't think of a way to have them coexist without: breaking old<br>
> templates, including v2 in the name, or having a flag on the resource<br>
> saying the version is v2. And as an app developer I'd rather not have<br>
> my existing templates break.<br>
> <br>
> I haven't compared the api's at all, but is there a required field of<br>
> v2 that is different enough from v1 that by its simple existence in<br>
> the resource you can tell a v2 from a v1 object? Would something like<br>
> that work? PoolMember wouldn't have to change, the same resource could<br>
> probably work for whatever lb it was pointing at I'm guessing.<br>
> <br>
> Thanks,<br>
> Kevin<br>
> <br>
> <br>
> <br>
> ______________________________________________________________________<br>
> From: Banashankar KV [banveerad@gmail.com]<br>
> Sent: Tuesday, September 22, 2015 4:40 PM<br>
> To: OpenStack Development Mailing List (not for usage questions)<br>
> Subject: Re: [openstack-dev] [neutron][lbaas] - Heat support for<br>
> LbaasV2<br>
> <br>
> <br>
> <br>
> Ok, sounds good. So now the question is how should we name the new V2<br>
> resources ? <br>
> <br>
> <br>
> <br>
> Thanks <br>
> Banashankar<br>
> <br>
> <br>
> <br>
> On Tue, Sep 22, 2015 at 4:33 PM, Fox, Kevin M <Kevin.Fox@pnnl.gov><br>
> wrote:<br>
> Yes, hence the need to support the v2 resources as seperate<br>
> things. Then I can rewrite the templates to include the new<br>
> resources rather then the old resources as appropriate. IE, it<br>
> will be a porting effort to rewrite them. Then do a heat<br>
> update on the stack to migrate it from lbv1 to lbv2. Since<br>
> they are different resources, it should create the new and<br>
> delete the old.<br>
> <br>
> Thanks,<br>
> Kevin<br>
> <br>
> <br>
> ______________________________________________________________<br>
> From: Banashankar KV [banveerad@gmail.com]<br>
> Sent: Tuesday, September 22, 2015 4:16 PM <br>
> <br>
> To: OpenStack Development Mailing List (not for usage<br>
> questions)<br>
> Subject: Re: [openstack-dev] [neutron][lbaas] - Heat support<br>
> for LbaasV2<br>
> <br>
> <br>
> <br>
> <br>
> But I think, V2 has introduced some new components and whole<br>
> association of the resources with each other is changed, we<br>
> should be still able to do what Kevin has mentioned ?<br>
> <br>
> Thanks <br>
> Banashankar<br>
> <br>
> <br>
> <br>
> On Tue, Sep 22, 2015 at 3:39 PM, Fox, Kevin M<br>
> <Kevin.Fox@pnnl.gov> wrote:<br>
> There needs to be a way to have both v1 and v2<br>
> supported in one engine....<br>
> <br>
> Say I have templates that use v1 already in existence<br>
> (I do), and I want to be able to heat stack update on<br>
> them one at a time to v2. This will replace the v1 lb<br>
> with v2, migrating the floating ip from the v1 lb to<br>
> the v2 one. This gives a smoothish upgrade path.<br>
> <br>
> Thanks,<br>
> Kevin<br>
> ________________________________________<br>
> From: Brandon Logan [brandon.logan@RACKSPACE.COM]<br>
> Sent: Tuesday, September 22, 2015 3:22 PM<br>
> To: openstack-dev@lists.openstack.org<br>
> Subject: Re: [openstack-dev] [neutron][lbaas] - Heat<br>
> support for LbaasV2<br>
> <br>
> Well I'd hate to have the V2 postfix on it because V1<br>
> will be deprecated<br>
> and removed, which means the V2 being there would be<br>
> lame. Is there any<br>
> kind of precedent set for for how to handle this?<br>
> <br>
> Thanks,<br>
> Brandon<br>
> On Tue, 2015-09-22 at 14:49 -0700, Banashankar KV<br>
> wrote:<br>
> > So are we thinking of making it as ?<br>
> > OS::Neutron::LoadBalancerV2<br>
> ><br>
> > OS::Neutron::ListenerV2<br>
> ><br>
> > OS::Neutron::PoolV2<br>
> ><br>
> > OS::Neutron::PoolMemberV2<br>
> ><br>
> > OS::Neutron::HealthMonitorV2<br>
> ><br>
> ><br>
> ><br>
> > and add all those into the loadbalancer.py of heat<br>
> engine ?<br>
> ><br>
> > Thanks<br>
> > Banashankar<br>
> ><br>
> ><br>
> ><br>
> > On Tue, Sep 22, 2015 at 12:52 PM, Sergey Kraynev<br>
> > <skraynev@mirantis.com> wrote:<br>
> > Brandon.<br>
> ><br>
> ><br>
> > As I understand we v1 and v2 have<br>
> differences also in list of<br>
> > objects and also in relationships between<br>
> them.<br>
> > So I don't think that it will be easy to<br>
> upgrade old resources<br>
> > (unfortunately).<br>
> > I'd agree with second Kevin's suggestion<br>
> about implementation<br>
> > new resources in this case.<br>
> ><br>
> ><br>
> > I see, that a lot of guys, who wants to help<br>
> with it :) And I<br>
> > suppose, that me and Rabi Mishra may try to<br>
> help with it,<br>
> > because we was involvement in implementation<br>
> of v1 resources<br>
> > in Heat.<br>
> > Follow the list of v1 lbaas resources in<br>
> Heat:<br>
> ><br>
> ><br>
> ><br>
> <a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::LoadBalancer">
http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::LoadBalancer</a><br>
> ><br>
> <a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::Pool">
http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::Pool</a><br>
> ><br>
> ><br>
> <a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::PoolMember">
http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::PoolMember</a><br>
> ><br>
> ><br>
> <a href="http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::HealthMonitor">
http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::HealthMonitor</a><br>
> ><br>
> ><br>
> ><br>
> > Also, I suppose, that it may be discussed<br>
> during summit<br>
> > talks :)<br>
> > Will add to etherpad with potential<br>
> sessions.<br>
> ><br>
> ><br>
> ><br>
> > Regards,<br>
> > Sergey.<br>
> ><br>
> > On 22 September 2015 at 22:27, Brandon Logan<br>
> > <brandon.logan@rackspace.com> wrote:<br>
> > There is some overlap, but there was<br>
> some incompatible<br>
> > differences when<br>
> > we started designing v2. I'm sure<br>
> the same issues<br>
> > will arise this time<br>
> > around so new resources sounds like<br>
> the path to go.<br>
> > However, I do not<br>
> > know much about Heat and the<br>
> resources so I'm speaking<br>
> > on a very<br>
> > uneducated level here.<br>
> ><br>
> > Thanks,<br>
> > Brandon<br>
> > On Tue, 2015-09-22 at 18:38 +0000,<br>
> Fox, Kevin M wrote:<br>
> > > We're using the v1 resources...<br>
> > ><br>
> > > If the v2 ones are compatible and<br>
> can seamlessly<br>
> > upgrade, great<br>
> > ><br>
> > > Otherwise, make new ones please.<br>
> > ><br>
> > > Thanks,<br>
> > > Kevin<br>
> > ><br>
> > ><br>
> ><br>
> ______________________________________________________________________<br>
> > > From: Banashankar KV<br>
> [banveerad@gmail.com]<br>
> > > Sent: Tuesday, September 22, 2015<br>
> 10:07 AM<br>
> > > To: OpenStack Development Mailing<br>
> List (not for<br>
> > usage questions)<br>
> > > Subject: Re: [openstack-dev]<br>
> [neutron][lbaas] - Heat<br>
> > support for<br>
> > > LbaasV2<br>
> > ><br>
> > ><br>
> > ><br>
> > > Hi Brandon,<br>
> > > Work in progress, but need some<br>
> input on the way we<br>
> > want them, like<br>
> > > replace the existing lbaasv1 or we<br>
> still need to<br>
> > support them ?<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > Thanks<br>
> > > Banashankar<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Tue, Sep 22, 2015 at 9:18 AM,<br>
> Brandon Logan<br>
> > > <brandon.logan@rackspace.com><br>
> wrote:<br>
> > > Hi Banashankar,<br>
> > > I think it'd be great if<br>
> you got this going.<br>
> > One of those<br>
> > > things we<br>
> > > want to have and people<br>
> ask for but has<br>
> > always gotten a lower<br>
> > > priority<br>
> > > due to the critical things<br>
> needed.<br>
> > ><br>
> > > Thanks,<br>
> > > Brandon<br>
> > > On Mon, 2015-09-21 at<br>
> 17:57 -0700,<br>
> > Banashankar KV wrote:<br>
> > > > Hi All,<br>
> > > > I was thinking of<br>
> starting the work on<br>
> > heat to support<br>
> > > LBaasV2, Is<br>
> > > > there any concerns about<br>
> that?<br>
> > > ><br>
> > > ><br>
> > > > I don't know if it is<br>
> the right time to<br>
> > bring this up :D .<br>
> > > ><br>
> > > > Thanks,<br>
> > > > Banashankar (bana_k)<br>
> > > ><br>
> > > ><br>
> > ><br>
> > > ><br>
> > ><br>
> ><br>
> __________________________________________________________________________<br>
> > > > OpenStack Development<br>
> Mailing List (not<br>
> > for usage questions)<br>
> > > > Unsubscribe:<br>
> > ><br>
> ><br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> > > ><br>
> > ><br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> > ><br>
> > ><br>
> ><br>
> __________________________________________________________________________<br>
> > > OpenStack Development<br>
> Mailing List (not for<br>
> > usage questions)<br>
> > > Unsubscribe:<br>
> > ><br>
> ><br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> > ><br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> __________________________________________________________________________<br>
> > > OpenStack Development Mailing List<br>
> (not for usage<br>
> > questions)<br>
> > > Unsubscribe:<br>
> ><br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> > ><br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
> __________________________________________________________________________<br>
> > OpenStack Development Mailing List<br>
> (not for usage<br>
> > questions)<br>
> > Unsubscribe:<br>
> ><br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for<br>
> usage questions)<br>
> > Unsubscribe:<br>
> ><br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for usage<br>
> questions)<br>
> > Unsubscribe:<br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> ><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> <br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage<br>
> questions)<br>
> Unsubscribe:<br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> <br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage<br>
> questions)<br>
> Unsubscribe:<br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> <br>
> <br>
> <br>
> <br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
> OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
> <br>
> <br>
> <br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</span></font>
</body>
</html>