[openstack-dev] [Neutron][LBaaS] Continuing on "Calling driver interface on every API request"

Samuel Bercovici SamuelB at Radware.com
Mon Aug 11 13:57:41 UTC 2014


Validations such as "timeout > delay" should be performed on the API level before it reaches the driver.

For a configuration tree (lb, listeners, pools, etc.), there should be one provider.
Having provider defined in multiple places does not make sense.


From: Vijay Venkatachalam [mailto:Vijay.Venkatachalam at citrix.com]
Sent: Monday, August 11, 2014 2:43 PM
To: OpenStack Development Mailing List (openstack-dev at lists.openstack.org)
Subject: [openstack-dev] [Neutron][LBaaS] Continuing on "Calling driver interface on every API request"


Continuing from last week's LBaaS meeting...

Currently an entity cannot be sent to driver unless it is linked to loadbalancer because loadbalancer is the root object and driver information is only available with loadbalancer.

The request to the driver is delayed because of which error propagation becomes tricky.

Let's say a monitor was configured with timeout > delay there would be no error then.
When a listener is configured there will be a monitor creation/deployment error like "timeout configured greater than delay".

Unless the error is very clearly crafted the user won't be able to understand the error.

I am half-heartedly OK with current approach.

But, I would prefer Brandon's Solution - make provider an attribute in each of the entities to get rid of this problem.

What do others think?

Vijay V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140811/661e9613/attachment.html>

More information about the OpenStack-dev mailing list