NetworkManager
class provides a unified interface to set up links and nodes for a given network topology (represented by an adjacency graph).
More...
#include <gmpls.h>
Public Member Functions | |
int | lightpathSetup (long lightpath, int *rt, int rSize) |
Setup a lightpath on the pre-specified route. | |
int | lightpathTeardown (long lightpath, int *rt, int rSize) |
Tear down the lightpath on the pre-specified route. | |
NetworkManager (u_int size, u_int chCount, u_int trxCount, std::string filename) | |
Construct a new NetworkManager object by constructing the topology from the provided input file. | |
NetworkManager (u_int size, std::string filename) | |
Construct a new NetworkManager object by constructing the topology from the provided input file. | |
~NetworkManager () | |
Default destructor. | |
Protected Member Functions | |
void | constructNetwork (double **matrix, u_int chCount, u_int trxCount) |
Construct and initialize the network from the provided network or adjacency matrix. | |
void | init (u_int size, u_int chCount, u_int trxCount, std::string filename) |
Internal method, intended to be called by the constructor. | |
Protected Attributes | |
GroomerNode ** | _nodeMap |
The node map contains a list of all the node objects indexed by the corresponding nodeIds. | |
u_int | _size |
Number of nodes in the network. |
NetworkManager
class provides a unified interface to set up links and nodes for a given network topology (represented by an adjacency graph).
Additionally, it provides a transparent interface to setup and teardown lightpaths.
|
Construct a new
|
|
Construct a new
|
|
Default destructor.
|
|
Setup a lightpath on the pre-specified route.
|
|
Tear down the lightpath on the pre-specified route.
|
|
Internal method, intended to be called by the constructor.
|
|
Construct and initialize the network from the provided network or adjacency matrix. This will populate the node map.
|
|
The node map contains a list of all the node objects indexed by the corresponding nodeIds.
|
|
Number of nodes in the network.
|