From 4aa2a095465e275b85b73cbf5ed7741ec52bd700 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotjagov Date: Fri, 23 Nov 2018 19:04:01 +0200 Subject: [PATCH] Fix linuxbridge agent extensions Extensions list was always empty, as jinja append is actually a method, which requires "()" to be used instead of "[]" Change-Id: Ifd308186753de654da8f9f076ee93033028c267e --- templates/plugins/ml2/linuxbridge_agent.ini.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/plugins/ml2/linuxbridge_agent.ini.j2 b/templates/plugins/ml2/linuxbridge_agent.ini.j2 index 012ba58c..553561c5 100644 --- a/templates/plugins/ml2/linuxbridge_agent.ini.j2 +++ b/templates/plugins/ml2/linuxbridge_agent.ini.j2 @@ -30,10 +30,10 @@ enable_vxlan = False {% if 'nova_compute' in group_names %} {% set _extensions = [] %} {% if 'ml2.sriov' in neutron_plugin_types %} -{% set _ = _extensions.append['fdb'] %} +{% set _ = _extensions.append('fdb') %} {% endif %} {% if 'qos' in neutron_plugin_base %} -{% set _ = _extensions.append['qos'] %} +{% set _ = _extensions.append('qos') %} {% endif %} extensions = {{ _extensions | join(',') }}