From b1f052e07783a4ac10ac1627738d26618f69ade4 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Thu, 16 Jan 2025 10:34:19 +0000 Subject: [PATCH] SBP - update description in SBP --- geant/gap_ansible/roles/sbp/templates/deploy_sbp.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geant/gap_ansible/roles/sbp/templates/deploy_sbp.j2 b/geant/gap_ansible/roles/sbp/templates/deploy_sbp.j2 index 7aa5ef4b..07b1b5d4 100644 --- a/geant/gap_ansible/roles/sbp/templates/deploy_sbp.j2 +++ b/geant/gap_ansible/roles/sbp/templates/deploy_sbp.j2 @@ -14,9 +14,9 @@ <interface alu:operation="replace"> <interface-name>{{ lag_name }}.{{ ap.sbp.vlan_id }}</interface-name> {% if subscription.l3_core_service_type in ['GEANT_IP', 'GEANT IP'] %} - <description>SRV_GLOBAL CUSTOMER {{ partner_name }} #{{ partner_name }}-{{ ap.ap_type }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description> + <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.l3_core_service_type in ['LHCONE'] %} - <description>SRV_L3VPN CUSTOMER {{ partner_name }} #{{ partner_name }}-{{ ap.ap_type }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description> + <description>SRV_L3VPN CUSTOMER {{ partner_name }} {{ '#'+ap.custom_service_name if ap.custom_service_name is string }} ${{ ap.sbp.gs_id }} | ASN{{ partner.asn }} | </description> {% endif %} <ip-mtu>{{ sbp_params.ip_mtu }}</ip-mtu> <sap> -- GitLab