Home | Trees | Indices | Help |
|
---|
|
Node class represents topology node discovered via a protocol by connecting to a NetworkElement. A Node object can contain the identity of a network node like hostname, IP address etc, depending how the node was discovered. For example, if the node is discovered via CDP, then the Node object contains hostname, IP address; if the node is discovered through OSPF or any other L3 routing protocol, then the Node object contains only the IP address.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
NodeType = enum('CDP_NODE', 'MEDIA_TRACE_NODE', 'INVALID_NODE_ The type of node discovered by a protocol |
|
name = property(_get_name, None, _doc)
|
|
type = property(_get_type, None, _doc)
|
|
address_list = property(_get_address_list, None, _doc)
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Compare two nodes for equality. This method returns true if the two topology nodes are equal and the same. For CDP nodes the hostname and the management IP address of the node are compared.
|
str(x)
|
Class Variable Details |
NodeTypeThe type of node discovered by a protocol
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:34 2014 | http://epydoc.sourceforge.net |