srl-labs / containerlab

container-based networking labs
https://containerlab.dev
BSD 3-Clause "New" or "Revised" License
1.52k stars 261 forks source link

Graph feature on Containerlab not showing interface tags correctly #2224

Open netwninja opened 2 weeks ago

netwninja commented 2 weeks ago

Issue:- Graph feature on Containerlab displaying incorrect interface IDs.

containerlab version:-

sudo clab version
  ____ ___  _   _ _____  _    ___ _   _ _____ ____  _       _     
 / ___/ _ \| \ | |_   _|/ \  |_ _| \ | | ____|  _ \| | __ _| |__  
| |  | | | |  \| | | | / _ \  | ||  \| |  _| | |_) | |/ _` | '_ \ 
| |__| |_| | |\  | | |/ ___ \ | || |\  | |___|  _ <| | (_| | |_) |
 \____\___/|_| \_| |_/_/   \_\___|_| \_|_____|_| \_\_|\__,_|_.__/ 

    version: 0.57.5
     commit: fbca124e
       date: 2024-09-30T10:53:07Z
     source: https://github.com/srl-labs/containerlab
 rel. notes: https://containerlab.dev/rn/0.57/#0575

Topology YAML

name: eos_mlag

topology:
  nodes:
    ceos1:
      kind: ceos
      image: ceos:4.32.0F
      startup-config: ceos1.cfg 
    ceos2:
      kind: ceos
      image: ceos:4.32.0F
      startup-config: ceos2.cfg
  links:
    - endpoints: ["ceos1:eth47", "ceos2:eth47"]
    - endpoints: ["ceos1:eth48", "ceos2:eth48"]

LLDP output from COES1 & CEOS2

ceos1#show lldp nei 
Last table change time   : 0:19:11 ago
Number of table inserts  : 3
Number of table deletes  : 0
Number of table drops    : 0
Number of table age-outs : 0

Port          Neighbor Device ID       Neighbor Port ID    TTL
---------- ------------------------ ---------------------- ---
Et47          ceos2                    Ethernet47          120
Et48          ceos2                    Ethernet48          120
Ma0           ceos2                    Management0         120

ceos2#show lldp nei 
Last table change time   : 0:19:21 ago
Number of table inserts  : 3
Number of table deletes  : 0
Number of table drops    : 0
Number of table age-outs : 0

Port          Neighbor Device ID       Neighbor Port ID    TTL
---------- ------------------------ ---------------------- ---
Et47          ceos1                    Ethernet47          120
Et48          ceos1                    Ethernet48          120
Ma0           ceos1                    Management0         120

Graph Topology

Screenshot from 2024-10-07 17-36-35

hellt commented 1 week ago

yeah it is just one label on top of the other. I don't think there is much I can do, since I don't have the frontend skills to alter the LAGs links positioning in the next ui