neutron/neutron/plugins
Brian Haley 5832292d9d 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:14:06 +00:00
..
common use log api plugin const from neutron-lib 2017-11-30 11:07:06 -07:00
ml2 Only notify nova of port status changes if configured 2020-05-15 19:14:06 +00:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00