Infiniband::DataSource Class Reference
[Fountain serverInfiniband discovery and monitoring]

Methods and data structures for discovering nodes and switches connected to an Infiniband network. This class implements the ServerData DataSource policy. More...

#include <InfinibandNetwork.h>

List of all members.

Public Types

typedef NodeData< Loki::Select<
FountainNodes::Enable, FountainNodes::Statistics,
Statistics >::Result, Network
NodeDataType
 The type of objects stored in the Fountain Server's node monitor database.
typedef std::map< std::string,
NodeDataType
HashTable
 The associated container used for the Fountain Server's node monitor database.

Public Member Functions

 DataSource (HashTable &database)
 Constructor.
 ~DataSource ()
 Destructor.
void discover ()
 Discovers all nodes and switches in the connected Infiniband network.
void update ()
 Update the port counters for each node.
void parseNodelistFile ()
 Populates the node monitor database of the Fountain server.


Detailed Description

Methods and data structures for discovering nodes and switches connected to an Infiniband network. This class implements the ServerData DataSource policy.


Constructor & Destructor Documentation

DataSource::DataSource HashTable database  )  [explicit]
 

Constructor.

Calls madrpc_init() and sets up some other initialization specifics

Parameters:
[in] database Reference to the node monitor database used by the Fountain Server
Exceptions:
FountainException If we are not root


Member Function Documentation

void DataSource::discover  ) 
 

Discovers all nodes and switches in the connected Infiniband network.

Exceptions:
FountainException if we're not connected to an Infiniband switch

void DataSource::parseNodelistFile  ) 
 

Populates the node monitor database of the Fountain server.

Exceptions:
FountainException if an error occurred during population


The documentation for this class was generated from the following files:
Generated on Wed Mar 8 14:43:34 2006 for Fountain by  doxygen 1.4.6