How to configure the network topology in CloudSim

  • //Load the network topology file
    NetworkTopology.buildNetworkTopology(“topology.brite”);
    //maps CloudSim entities to BRITE entities
    //PowerDatacenter will correspond to BRITE node 0
    Int briteNode=0;
    NetworkTopology.mapNode(datacenter0.getId(),briteNode);