We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be3c391 commit 057e4f9Copy full SHA for 057e4f9
1 file changed
netsim/ansible/templates/vlan/sros.j2
@@ -23,6 +23,7 @@ updates:
23
{% endif %}
24
{% if l.type in ['vlan_member','lan'] %}
25
{% set sap_id = l.ifname.replace("c1/","") if 'ixr' in clab.type and 'ixr-x' not in clab.type else l.ifname %}
26
+{% set sap_id = sap_id.replace("eth-","") %}
27
sap:
28
- sap-id: {{ sap_id if ':' in sap_id else (sap_id+"/1"+(":0" if native else "")) }}
29
{% if native %}
0 commit comments