RLRP routing  v.0.1.0
NeighborDiscovery.Neighbor Class Reference

Class describing a neighbor and its properties. More...

Collaboration diagram for NeighborDiscovery.Neighbor:
Collaboration graph

Public Member Functions

def __init__ (self)
 Constructor. More...
 

Public Attributes

 l3_addresses
 List of a neighbor's L3 (both IPv4 and IPv6) addresses in a string representation. More...
 
 mac
 MAC address of a neighbor, in a string "xx:xx:xx:xx:xx:xx" format. More...
 
 last_activity
 Timestamp of the last registered activity of a neighbor, i.e. More...
 

Detailed Description

Class describing a neighbor and its properties.

Constructor & Destructor Documentation

def NeighborDiscovery.Neighbor.__init__ (   self)

Constructor.

Parameters
selfThe object pointer.
Returns
None

Member Data Documentation

NeighborDiscovery.Neighbor.l3_addresses

List of a neighbor's L3 (both IPv4 and IPv6) addresses in a string representation.

NeighborDiscovery.Neighbor.last_activity

Timestamp of the last registered activity of a neighbor, i.e.

the last time the node has received the HELLO message from this neighbor. float().

NeighborDiscovery.Neighbor.mac

MAC address of a neighbor, in a string "xx:xx:xx:xx:xx:xx" format.


The documentation for this class was generated from the following file: