Fix extension_drivers check in ml2

Use neutron_extension_drivers to add the option only when
a extension_driver is enabled.

Change-Id: I44a4e8c95c331fff0b66d18c11566211408fbb85
Closes-Bug: #1665258
This commit is contained in:
Eduardo Gonzalez 2017-02-16 07:54:02 +00:00
parent adfb956729
commit 50232c3b18

@ -15,7 +15,7 @@ mechanism_drivers = openvswitch,l2population
mechanism_drivers = linuxbridge,l2population
{% endif %}
{% if extension_drivers %}
{% if neutron_extension_drivers %}
extension_drivers = {{ neutron_extension_drivers|map(attribute='name')|join(',') }}
{% endif %}