diff --git a/ansible/templates/minigraph_dpg_asic.j2 b/ansible/templates/minigraph_dpg_asic.j2 index 19d778b05b4..a832781e058 100644 --- a/ansible/templates/minigraph_dpg_asic.j2 +++ b/ansible/templates/minigraph_dpg_asic.j2 @@ -96,7 +96,7 @@ {% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf'][dut_index|int]|lower %} {% set port_channel_intf=';'.join(vm_asic_ifnames[vms[index]]) %} - PortChannel{{ '10' + ((index+1)|string) }} + PortChannel{{ (100 + index + 1)|string }} {{ port_channel_intf }} @@ -144,7 +144,7 @@ {% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf'][dut_index|int][intf_index]|lower %} - PortChannel{{ '10' + ((index+1)|string) }} + PortChannel{{ (100 + index + 1)|string }} {% else %} {{ front_panel_asic_ifnames[vm_topo_config['vm'][vms[index]]['interface_indexes'][dut_index|int][0]] }} {% endif %} @@ -153,7 +153,7 @@ {% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf'][dut_index|int][intf_index]|lower %} - PortChannel{{ '10' + ((index+1)|string) }} + PortChannel{{ (100 + index + 1)|string }} {% else %} {{ front_panel_asic_ifnames[vm_topo_config['vm'][vms[index]]['interface_indexes'][dut_index|int][0]] }} {% endif %} @@ -271,7 +271,7 @@ {%- for index in range(vms_number) %} {% if vms[index] in vm_asic_ifnames and vm_asic_ids[vms[index]][0] == asic_name %} {% if 'port-channel' in vm_topo_config['vm'][vms[index]]['ip_intf'][0]|lower %} -{% set a_intf = 'PortChannel' + '10' + ((index+1)|string) %} +{% set a_intf = 'PortChannel' ~ (100 + index + 1)|string %} {{- acl_intfs.append(a_intf) -}} {% endif %} {% endif %}