neutron/neutron/agent
LIU Yulong e795a3fcf8 Make the HA router state change notification more faster
HA router state change takes too much time to notify neutron server.
It takes almost 16s, by default ha_vrrp_advert_int 2s, for a single
HA router state change.

In this 16s time, assuming that a HA router meets 8 times HA router
state change. After this 16s, the first change dequeue and notify the
neutron server, then the 2nd, 3rd, and so on. Things are now becoming
interesting, after this 16 seconds if you run
`neutron l3-agent-list-hosting-router ha_router_id`, you may see the
router state in one specific agent is alternatively changing in active
and standby. It's not stay in the real state, because of the delay
notification.

This patch sets the BatchNotifier interval to ha_vrrp_advert_int (default
2s) to make the HA router state change notification more faster.

NOTE: the BatchNotifier event queue is needed, because the HA router state
change needs to be sent in a proper order. Then the neutron server could set
the HA state properly.

Closes-Bug: #1612069
Change-Id: Ife687038d31bd1e1ee264ff8b6ae1264fdd05489
2016-10-13 10:00:25 +08:00
..
common Relocate Agent DB model 2016-10-07 14:18:19 -04:00
dhcp Fixes for missing IPs on subnets in DHCP agent 2016-09-25 02:12:35 -07:00
l2 neutron-lib: start using neutron-lib helpers 2016-10-10 01:30:26 -07:00
l3 Make the HA router state change notification more faster 2016-10-13 10:00:25 +08:00
linux Merge "Refactor code to deprecate get_interface_mac" 2016-10-11 22:14:45 +00:00
metadata Add metadata proxy router_update callback handler 2016-09-15 21:28:21 -07:00
ovsdb Merge "Handle uuid references within an ovsdb transaction" 2016-10-05 13:58:25 +00:00
windows Merge "Reuse to_utf8() and jsonutils.dump_as_bytes()" 2016-04-15 23:40:59 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent_extension.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00
agent_extensions_manager.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00
dhcp_agent.py Refactoring config options for dhcp agent 2016-07-06 17:24:23 +00:00
firewall.py Use ICMPV6_TYPE_* constants from neutron-lib 2016-05-28 07:53:35 -07:00
l3_agent.py Refactoring config options for l3 ha agent opts 2016-09-30 15:00:42 -05:00
metadata_agent.py Switch to oslo.cache 2016-06-02 15:22:36 +00:00
rpc.py Don't use exponential back-off for report_state 2016-07-28 14:54:19 +03:00
securitygroups_rpc.py Merge "Refactoring security group config options" 2016-08-17 04:36:21 +00:00