Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶
type Probe struct {
sync.RWMutex
graph.DefaultGraphListener
// contains filtered or unexported fields
}
Probe describes the probe that is in charge of listening for LLDP packets on interfaces and create the corresponding chassis and port nodes
func NewProbe ¶
NewProbe returns a new LLDP probe
func (*Probe) OnEdgeAdded ¶
OnEdgeAdded is called when a new edge was created on the graph
func (*Probe) OnNodeUpdated ¶
OnNodeUpdated is called when a new node was updated on the graph
Source Files
¶
- lldp.go
Click to show internal directories.
Click to hide internal directories.