neutron/neutron/tests
Brian Haley acb5fba408 Only notify nova of port status changes if configured
Although notify_nova_on_port_status_changes defaults to true, it
could be to false, making the nova_notifier attribute unsafe to
use without checking.

This patch checks both the config option and that the attribute
exists, since the config could be changed after the plugin is
already initialized without the nova_notifier attribute being set.

Change-Id: Ide0f93275e60dffda10b7da59f6d81c5582c3849
Closes-bug: #1843269
(cherry picked from commit ab4320edb4)
2020-05-15 19:12:45 +00:00
..
common Kill all processes running in a namespace before deletion 2020-04-20 16:35:04 +02:00
contrib Switch neutron-functional-with-wsgi job to zuul v3 syntax 2019-03-21 15:01:55 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02:00
functional Merge "Kill all processes running in a namespace before deletion" into stable/stein 2020-05-07 20:35:41 +00:00
unit Only notify nova of port status changes if configured 2020-05-15 19:12:45 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 17:51:36 +01:00
post_mortem_debug.py
tools.py Merge "consume UnorderedList from neutron-lib" 2019-03-15 20:54:10 +00:00