Skip to content

No connection between 2 LLDP ports #21286

@g-bougard

Description

@g-bougard

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.20

Bug description

I was exploring port connection failure between TP-Link devices reported here: glpi-project/glpi-agent#1026

GLPI fails to connect 2 TP-Links ports. This may be related to #21285 as second problem there is it seems GLPI fails to handle LLDP ports.

Here are the 2 XMLs generated with nightly build glpi-agent applied on walks provided by @loginone33 on linked and fixed glpi-agent issue:

  1. SG2218P-2.0.xml
  2. SG3428XF-1.20.xml

From the first device, port "gigabitEthernet 1/0/18" is connected to the port "gigabitEthernet 1/0/7" of the second device.

On the first device, connections of port "gigabitEthernet 1/0/18" contains:

          <CONNECTIONS>
            <CDP>1</CDP>
            <CONNECTION>
              <IFDESCR>gigabitEthernet 1/0/7</IFDESCR>
              <SYSDESCR>Omada 24-Port Gigabit SFP L2+ Managed Switch with 4 10GE SFP+ Slots</SYSDESCR>
              <SYSMAC>24:2f:d0:5c:82:10</SYSMAC>
              <SYSNAME>SWITCH-011 Main SFP</SYSNAME>
            </CONNECTION>
          </CONNECTIONS>

On the second device, connections of port "gigabitEthernet 1/0/7" contains:

          <CONNECTIONS>
            <CDP>1</CDP>
            <CONNECTION>
              <IFDESCR>gigabitEthernet 1/0/18</IFDESCR>
              <SYSDESCR>Omada 18-Port Gigabit Smart Switch with 16-Port PoE+</SYSDESCR>
              <SYSMAC>30:68:93:f2:41:17</SYSMAC>
              <SYSNAME>SWITCH-008 PoE</SYSNAME>
            </CONNECTION>
          </CONNECTIONS>

Here on the 2 sides, IFDESCR, SYSMAC and SYSNAME data seems correct so I think we have all necessary data to link ports together.

Relevant log output

Page URL

No response

Steps To reproduce

  1. Import manually provided xml: SG2218P-2.0.xml and SG3428XF-1.20.xml
  2. Check ports table of the imported devices
  3. See "gigabitEthernet 1/0/18" port on "SWITCH-008 PoE" first asset has no connection
  4. See "gigabitEthernet 1/0/7" port on "SWITCH-011 Main SFP" second asset has no connection

Your GLPI setup information

No response

Anything else?

Also checked in GLPI 10.0.20, issue is the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions