diff options
author | Jeremy McDermond <mcdermj@xenotropic.com> | 2015-12-08 10:14:09 -0800 |
---|---|---|
committer | Jeremy McDermond <mcdermj@xenotropic.com> | 2015-12-10 08:40:36 +0000 |
commit | 7dad96deb4ae66509d968465bcd1c852c6743bc1 (patch) | |
tree | f46d9a2eb5dbec794c640618ba5db68c74505ce5 /neutron/notifiers | |
parent | c029fcba7e058c7d58cb071bb0ee0356b292d83b (diff) | |
download | neutron-7dad96deb4ae66509d968465bcd1c852c6743bc1.tar.gz |
Add option for nova endpoint type
When the neutron notification to nova was updated to use novaclient the
nova_url parameter was disabled. This prevents administrators from
using anything but the publicURL as the proper endpoint to notify nova.
This patch adds an option to pass on to novaclient for the
endpoint_type so that the administrator can set the notification url to
public, internal or admin.
Change-Id: I405f761944449cab6b8c8895f98419f79cd74cad
Closes-Bug: #1478471
DocImpact: Need to add a new option to the neutron configuration
reference.
Diffstat (limited to 'neutron/notifiers')
-rw-r--r-- | neutron/notifiers/nova.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/neutron/notifiers/nova.py b/neutron/notifiers/nova.py index 2f9cfabb2c..9abe6bcc90 100644 --- a/neutron/notifiers/nova.py +++ b/neutron/notifiers/nova.py @@ -60,6 +60,7 @@ class Notifier(object): NOVA_API_VERSION, session=session, region_name=cfg.CONF.nova.region_name, + endpoint_type=cfg.CONF.nova.endpoint_type, extensions=extensions) self.batch_notifier = batch_notifier.BatchNotifier( cfg.CONF.send_events_interval, self.send_events) |