]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add option for nova endpoint type
authorJeremy McDermond <mcdermj@xenotropic.com>
Tue, 8 Dec 2015 18:14:09 +0000 (10:14 -0800)
committerJeremy McDermond <mcdermj@xenotropic.com>
Thu, 10 Dec 2015 08:40:36 +0000 (08:40 +0000)
commit7dad96deb4ae66509d968465bcd1c852c6743bc1
treef46d9a2eb5dbec794c640618ba5db68c74505ce5
parentc029fcba7e058c7d58cb071bb0ee0356b292d83b
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.
neutron/common/config.py
neutron/notifiers/nova.py
neutron/tests/unit/notifiers/test_nova.py