pyhpecw7.features.neighbor module

Gather LLDP neighbor information from HPCOM7 devices.

class pyhpecw7.features.neighbor.Neighbors(device)[source]

Bases: object

Gather LLDP neighbor information from a HP COM7 switch.

Parameters:device (HPCOM7) – connected instance of a pyhpecw7.comware.HPCOM7 object.
device

connected instance of a pyhpecw7.comware.HPCOM7 object.

Type:HPCOM7
lldp

dictionary containing LLDP neighbors

Type:lldp
cdp

dictionary containing CDP neighbors

Type:cdp
refresh()[source]

Refreshes the “ldp” and “cdp” attributes of the class