neutron: set enable_dvr = False if NeutronEnableDVR is false

This will make neutron-server stop advertising dvr extension if the
cloud is not configured to support this flavor of Neutron routers.

Change-Id: I38c8208edff07f7887887918729beb7710068078
Related-Bug: #1450067
This commit is contained in:
Ihar Hrachyshka 2017-05-15 13:20:25 -07:00
parent d0696b9a9b
commit 9efa81796e
2 changed files with 7 additions and 0 deletions

View File

@ -166,6 +166,7 @@ outputs:
- 9696 - 9696
- 13696 - 13696
neutron::server::router_distributed: {get_param: NeutronEnableDVR} neutron::server::router_distributed: {get_param: NeutronEnableDVR}
neutron::server::enable_dvr: {get_param: NeutronEnableDVR}
# NOTE: bind IP is found in Heat replacing the network name with the local node IP # NOTE: bind IP is found in Heat replacing the network name with the local node IP
# for the given network; replacement examples (eg. for internal_api): # for the given network; replacement examples (eg. for internal_api):
# internal_api -> IP # internal_api -> IP

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Neutron API controller no longer advertises ``dvr`` extension if the
cloud is not configured for DVR. This is achieved by setting ``enable_dvr``
to match ``NeutronEnableDVR`` setting.