OverSim
RUNetworkConfigurator.h File Reference
#include <omnetpp.h>
#include <cctype>
#include <vector>
#include <map>
#include <ctopology.h>
#include <string>
#include <iostream>
#include "INETDefs.h"
#include "IPAddress.h"
#include "RoutingTable.h"
#include "InterfaceTable.h"
#include "IPAddressResolver.h"
#include "NetworkConfigurator.h"
#include "IPv4InterfaceData.h"
#include "InterfaceEntry.h"

Go to the source code of this file.

Classes

struct  nodeInfoRL
 Structure that contains all information about a router-level node. More...
struct  edgeRouter
struct  nodeInfoAS
 Structure that contains all information about an AS-level node. More...
class  RUNetworkConfigurator
 Configures the nodes belonging to the topology before starting the actual simulation. More...

Namespaces

namespace  RUNetConf

Typedefs

typedef vector< string > StringVector
typedef std::vector< nodeInfoRLNODE_INFO_RL_VEC
typedef std::map< int, nodeInfoRLNODE_MAP
typedef std::pair< int,
nodeInfoRL
NODE_MAP_PAIR
typedef std::vector< edgeRouterEDGE_ROUTER_VEC
typedef std::vector< nodeInfoASNODE_INFO_AS_VEC

Functions

static bool RUNetConf::getCoreNodes (cModule *curMod, void *nullPointer)
 Callback method that is used by extractFromNetwork.
static bool RUNetConf::getRouterLevelNodes (cModule *curMod, void *name)
 Callback method that is used by extractFromNetwork.

Variables

const int INIT_STAGES = 3
const int TRANSIT_AS = 1
const int STUB_AS = 2
const int UNSPECIFIED = -1
const int CORE = 1
const int GW = 2
const int EDGE = 3
const int ENDSYS = 4

Typedef Documentation

typedef std::vector<edgeRouter> EDGE_ROUTER_VEC

Definition at line 183 of file RUNetworkConfigurator.h.

typedef std::vector<nodeInfoAS> NODE_INFO_AS_VEC

Definition at line 239 of file RUNetworkConfigurator.h.

typedef std::vector<nodeInfoRL> NODE_INFO_RL_VEC

Definition at line 180 of file RUNetworkConfigurator.h.

typedef std::map<int, nodeInfoRL> NODE_MAP

Definition at line 181 of file RUNetworkConfigurator.h.

typedef std::pair<int, nodeInfoRL> NODE_MAP_PAIR

Definition at line 182 of file RUNetworkConfigurator.h.

typedef vector<string> StringVector

Definition at line 62 of file RUNetworkConfigurator.h.

Variable Documentation

const int CORE = 1
const int GW = 2

Definition at line 58 of file RUNetworkConfigurator.h.

Referenced by nodeInfoRL::nodeInfoRL().

const int INIT_STAGES = 3

Definition at line 52 of file RUNetworkConfigurator.h.

const int STUB_AS = 2

Definition at line 55 of file RUNetworkConfigurator.h.

Referenced by nodeInfoAS::nodeInfoAS(), and nodeInfoRL::nodeInfoRL().

const int UNSPECIFIED = -1

Definition at line 56 of file RUNetworkConfigurator.h.

Referenced by nodeInfoAS::nodeInfoAS(), and nodeInfoRL::nodeInfoRL().