Package ZenUtils :: Module NetworkTree :: Class NetworkLink
[hide private]
[frames] | no frames]

Class NetworkLink

source code

                  object --+    
                           |    
Products.ZenModel.Link.ILink --+
                               |
                              NetworkLink

Represents a link between two IpInterfaces related by network connectivity. Not a persistent object, so not managed by a LinkManager. Implements Products.ZenModel.Link.ILink.

Instance Methods [hide private]
 
__hash__(self)
hash(x)
source code
 
setEndpoints(self, pointa, pointb)
Sets the two endpoints of a link-like object
source code
 
getEndpoints(self) source code
 
getStatus(self)
Returns the event status, determined by: Pingdown on Device owning either endpoint Most severe event on either endpoint
source code
 
getGeomapData(self, context, full=False)
Return the addresses of the endpoints aggregated for the generation of the context
source code

Inherited from Products.ZenModel.Link.ILink: getDataForJSON, getEndpointNames, getOtherEndpoint

Inherited from object: __delattr__, __getattribute__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  OSI_layer = '3'
  pointa = None
  pointb = None

Inherited from Products.ZenModel.Link.ILink: entry_type, link_type

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__hash__(self)
(Hashing function)

source code 
hash(x)
Overrides: object.__hash__
(inherited documentation)

setEndpoints(self, pointa, pointb)

source code 
Sets the two endpoints of a link-like object
Overrides: Products.ZenModel.Link.ILink.setEndpoints
(inherited documentation)

getStatus(self)

source code 
Returns the event status, determined by: Pingdown on Device owning either endpoint Most severe event on either endpoint
Overrides: Products.ZenModel.Link.ILink.getStatus
(inherited documentation)

getGeomapData(self, context, full=False)

source code 
Return the addresses of the endpoints aggregated for the generation of the context
Overrides: Products.ZenModel.Link.ILink.getGeomapData