neutron/neutron/tests/unit/agent
Brian Haley 922cd0a938 Change ha_state property to always return a value
Right now, ha_state could return any value that is in
the state file, or even '' if the file is empty.  Instead,
return 'unknown' if it's empty.

We also need to update the translation map in the HA code
to deal with this new value to avoid a KeyError.

Related-bug: #1755243

Change-Id: I94a39e574cf4ff5facb76df352c14cbaba793e98
2018-04-17 14:23:23 +00:00
..
common ovsfw: Use bundle when adding security group rules 2018-03-05 15:38:05 +00:00
dhcp Spawn/stop metadata proxies upon adding/deleting router interfaces 2018-03-06 12:10:24 +01:00
l2 use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
l3 Change ha_state property to always return a value 2018-04-17 14:23:23 +00:00
linux Merge "Use cidr during tenant network rule deletion" 2018-04-05 19:09:05 +00:00
metadata Merge "Add iptables metadata marking rule on router init" 2018-03-28 21:57:36 +00:00
ovsdb Merge "Kill _connection_to_manager_uri dummy" 2018-02-22 00:30:24 +00:00
windows Fix pep8 errors 2018-04-11 01:10:49 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Fix arguments to oslo_context.RequestContext() 2018-02-13 13:43:54 -05:00
test_securitygroups_rpc.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00