From d7eb3bb69f863712edee7d805b0b0e0131b0bb58 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Fri, 25 Apr 2025 18:27:46 +0100
Subject: [PATCH] `sbp`: Update template to use IAS flavor parameter from GSO

---
 geant/gap_ansible/roles/sbp/templates/nokia/deploy/sbp.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geant/gap_ansible/roles/sbp/templates/nokia/deploy/sbp.j2 b/geant/gap_ansible/roles/sbp/templates/nokia/deploy/sbp.j2
index 9b650c67..5d6daeab 100644
--- a/geant/gap_ansible/roles/sbp/templates/nokia/deploy/sbp.j2
+++ b/geant/gap_ansible/roles/sbp/templates/nokia/deploy/sbp.j2
@@ -16,7 +16,7 @@
                 {% if subscription.product.product_type | upper in l3_service_types.ies %}
                     <description>SRV_GLOBAL CUSTOMER {{ partner_name }} {{ '#'+ap.custom_service_name if ap.custom_service_name is string }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description>
                 {% elif subscription.product.product_type | upper == 'IAS' %}
-                    <description>SRV_IAS CUSTOMER {{ partner_name }} {{ '#'+ap.custom_service_name if ap.custom_service_name is string }} {{ partner.ias_flavour | regex_search('IAS(GWS)?(PS)?') }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description>
+                    <description>SRV_IAS CUSTOMER {{ partner_name }} {{ '#'+ap.custom_service_name if ap.custom_service_name is string }} {{ subscription[subscription_key].ias_flavor | regex_search('IAS(GWS)?(PS)?') }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description>
                     <ingress>
                         <policy-accounting>GEANT_DEST_CLASS_POL_TEMPLATE_01</policy-accounting>
                         <destination-class-lookup>true</destination-class-lookup>
-- 
GitLab