]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
LBaaS: fix handling pending create/update members and health monitors
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 12 Dec 2013 08:13:22 +0000 (12:13 +0400)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:11 +0000 (15:20 +0800)
commite28c49670b6e5cfb86e54175bcd8d9067cb4f80e
tree4b1b5378a538f224844af77ea702cf947fc15ad9
parent635c79e19386f9b4f66f9a67e7c2095890539d93
LBaaS: fix handling pending create/update members and health monitors

When agent requests loadbalancer logical config from server,
server returns only active pool members and health_monitors.
Need to make server return also members and monitors which are in pending states.

Also a small refactoring moving ACTIVE_PENDING set to common place

Change-Id: I8e10004f199f982b055da18ea7a0e5e4d11fa7fb
Closes-Bug: #1259965
neutron/plugins/common/constants.py
neutron/services/loadbalancer/drivers/haproxy/cfg.py
neutron/services/loadbalancer/drivers/haproxy/namespace_driver.py
neutron/services/loadbalancer/drivers/haproxy/plugin_driver.py
neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_cfg.py
neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_plugin_driver.py