Skip to content

Bug: Minigraph generation is broken for multi asic #18507

@rawal01

Description

@rawal01

Is it platform specific

generic

Importance or Severity

High

Description of the bug

With changes introduced by PR 18161.
There is mismatch between port channel names in global and asic.
The name change is done in file ansible/templates/minigraph_dpg.j2 but we need corresponding change in ansible/templates/minigraph_dpg_asic.j2 so the name are same in both global and asic.

the dpg_asic has still old way of naming
{% set port_channel_intf=';'.join(vm_asic_ifnames[vms[index]]) %}

PortChannel{{ '10' + ((index+1)|string) }}
{{ port_channel_intf }}

Steps to Reproduce

do gen-mg for multiasic platform, generated minigraph will have different Portchannel names under host vs asic

Actual Behavior and Expected Behavior

Port channel names should be same

Relevant log output

Output of show version

master and 2503

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions