]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't update floating IP status if no change
authorKevin Benton <blak111@gmail.com>
Fri, 17 Apr 2015 11:03:38 +0000 (04:03 -0700)
committerKevin Benton <blak111@gmail.com>
Sat, 30 May 2015 04:04:32 +0000 (21:04 -0700)
commitc44506bfd60b2dd6036e113464f1ea682cfaeb6c
tree80690bba31bf9e3cf5f42db5e64d9b32cc5c43bf
parent8c7bc3536b38350cffcc2932b576f4ace1e7b91c
Don't update floating IP status if no change

The floating IP status was going through all of the
status update code every time the L3 agent sent in
an update, even if the status didn't change.

This patch skips sending updates to the server if the
agent doesn't change the status.

Change-Id: Ic3736bed3dc3e4ccb91f4acfabbf033949e09ce0
Partial-Bug: #1445412
neutron/agent/l3/agent.py
neutron/agent/l3/router_info.py
neutron/tests/unit/agent/l3/test_agent.py
neutron/tests/unit/agent/l3/test_router_info.py