ixs / napalm-procurve

HP ProCurve Driver for NAPALM automation frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_lldp_neighbors() not showing in netbox - lldp shows repeated port

davama opened this issue · comments

commented

Hello

using v0.6.0
Sw procurve version K.16.02.0021

this is how show lldp info remote cmd looks like.
My uplinks to cisco routers show twice.

 F7        | 10.x.x.142     64 xx xx xx xx xx  1  Polycom VVX 300
  F22       | RTR-36    TenGigabitEther...                
  F22       | 64 xx xx xx xx xx Te1/9              W-A-1C... RTR-36

of course running get_lldp_neighbors() from the phython cli also shows port F22 json twice.
this is how it looks from the python cli


"F22": [
        {
            "hostname": "RTR-36",
            "port": "Te1/9"
        },
        {
            "hostname": "RTR-36",
            "port": "Te1/9"
        }
    ],

Not sure if this causes it to not show up in netbox.
any input is appreciated
Thanks!