Re: [openstack-dev] [neutron-lbaas] Multiple back-end support for lbaas v2

2016-05-20 Thread Brandon Logan
What Sergey said is absolutely correct.  Additionally, if a user does
not provide "provider" in the request to create a load balancer than the
service_provider that is tagged with the default flag will be chosen.

Thanks,
Brandon
On Fri, 2016-05-20 at 12:23 +0300, Sergey Belous wrote:
> Hi.
> 
> 
> Actually, you can specify multiple providers, but these configuration
> directives are repeatable and are not comma-separated. That's mean you
> should add the another service_provider in the [service_providers]
> section as a separate line.
> 
> 
> And yes, you can try to pass parameter 'provider' to create a
> loadbalancer of specific driver (according to code of lbaas).
> 
> 
> --
> Best Regards,
> Sergey Belous
> 
> > On 20 May 2016, at 11:47, Wilence Yao  wrote:
> > 
> > 
> > 
> > Hi all,
> > 
> > 
> > Can I enable multiple service_providers for lbaas v2  at the same
> > time?
> > such as
> > 
> > 
> > ```
> > service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default,
> >  
> > LOADBALANCER:radware:neutron_lbaas.services.loadbalancer.drivers.radware.driver.LoadBalancerDriver
> > ```
> > 
> > 
> > Then pass parameter 'provider' to create a loadbalancer of specific
> > driver
> > 
> > 
> > ```
> > neutron lbaas-loadbalancer-create --provider radware
> > 
> > ```
> > 
> > 
> > Thanks for any help
> > 
> > 
> > Wilence Yao
> > 
> > 
> > __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > 
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron-lbaas] Multiple back-end support for lbaas v2

2016-05-20 Thread Sergey Belous
Hi.

Actually, you can specify multiple providers, but these configuration 
directives are repeatable and are not comma-separated. That's mean you should 
add the another service_provider in the [service_providers] section as a 
separate line.

And yes, you can try to pass parameter 'provider' to create a loadbalancer of 
specific driver (according to code of lbaas).

--
Best Regards,
Sergey Belous

> On 20 May 2016, at 11:47, Wilence Yao  wrote:
> 
> 
> Hi all,
> 
> Can I enable multiple service_providers for lbaas v2  at the same time?
> such as
> 
> ```
> service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default,
>  
> LOADBALANCER:radware:neutron_lbaas.services.loadbalancer.drivers.radware.driver.LoadBalancerDriver
> ```
> 
> Then pass parameter 'provider' to create a loadbalancer of specific driver
> 
> ```
> neutron lbaas-loadbalancer-create --provider radware
> ```
> 
> Thanks for any help
> 
> Wilence Yao
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron-lbaas] Multiple back-end support for lbaas v2

2016-05-20 Thread Wilence Yao
Hi all,

Can I enable multiple service_providers for lbaas v2  at the same time?
such as

```
service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default,
LOADBALANCER:radware:neutron_lbaas.services.loadbalancer.drivers.radware.driver.LoadBalancerDriver
```

Then pass parameter 'provider' to create a loadbalancer of specific driver

```
neutron lbaas-loadbalancer-create --provider radware
```

Thanks for any help

Wilence Yao
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev