A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
untangle resource::state (ON/OFF) and VM::state (STARTED/MIGRATING/etc)
[simgrid.git]
/
src
/
surf
/
surf_routing_cluster.cpp
diff --git
a/src/surf/surf_routing_cluster.cpp
b/src/surf/surf_routing_cluster.cpp
index
04f9da6
..
4c92419
100644
(file)
--- a/
src/surf/surf_routing_cluster.cpp
+++ b/
src/surf/surf_routing_cluster.cpp
@@
-157,7
+157,7
@@
void AsCluster::create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id,
link.id = link_id;
link.bandwidth = cluster->bw;
link.latency = cluster->lat;
- link.
state = SURF_RESOURCE_ON
;
+ link.
initiallyOn = 1
;
link.policy = cluster->sharing_policy;
sg_platf_new_link(&link);