Do not configure bagpipe bgpvpn extension for sriov agent
Currently l2 agent extensions are specified in a single pillar
and then used by ovs and sriov agents.
This is not correct since there might be different extensions for
different agents, so we need separate pillars for each agent.
This patch is a hot fix for the release.
Another bug will be filed for proper extensions handling.
Change-Id: I84111b419a4386e4598edac100cfd746ec7a3611
Related-Prod: PROD-19316
diff --git a/neutron/files/pike/sriov_agent.ini b/neutron/files/pike/sriov_agent.ini
index 3947dec..2885f9b 100644
--- a/neutron/files/pike/sriov_agent.ini
+++ b/neutron/files/pike/sriov_agent.ini
@@ -125,7 +125,7 @@
{# Get neutron:backend:extension mapping and prepare tmp_ext_list list with extentions where enabled = True #}
{%- set tmp_ext_list = [] %}
{%- for ext_name, ext_params in neutron.backend.get('extension', {}).iteritems() %}
-{%- do tmp_ext_list.append(ext_name) if ext_params.get('enabled', False) %}
+{%- do tmp_ext_list.append(ext_name) if ext_params.get('enabled', False) and ext_name != 'bagpipe_bgpvpn' %}
{%- endfor %}
{# Below section is for backward compatible when extentions were separated properties without neutron:backend:extension pillar #}
{%- do tmp_ext_list.append('qos') if neutron.get('qos', 'True') and 'qos' not in tmp_ext_list %}