[openstack-dev] [Quantum][LBaaS] is it possible to get the context of pool in update_vip() of the driver?

Gavin Mu gavin.mu at gmail.com
Wed Jan 2 07:24:14 UTC 2013


Hi, all,

I am trying to write a driver to let LBaaS support our load balancing
device. But I found that there are some gaps between the design of
LBaaS and our device. For example:

in LBaaS, "session_persistence" is an attribute of vip, but in our
device, "session_persistence" is configured together with "lb_method"
in pool.

so if the attribute "session_persistence" is changed in method
update_vip(), we need to update the algorithm on device of the
associate pool.

then is it possible to get the context of pool in update_vip (new_vip:
Vip, old_vip: Vip)?

and another gap is the health monitor. the health monitor of our
device is targeted a pool member, not the pool. I am wondering if we
can get the context of the health monitor and the pool member in
method associate_health_monitor_with_pool (health_monitor:
HealthMonitor, pool: Pool), then can we add separate health monitors
to each pool member in the driver to fill the gap?

Regards,
Gavin



More information about the OpenStack-dev mailing list