X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d46966003b763d0c43b497db1fe6cb2006833fec..d2e206d0539afade3722f7aa9f7a65ad8a714253:/examples/platforms/routing_cluster.lua diff --git a/examples/platforms/routing_cluster.lua b/examples/platforms/routing_cluster.lua index 2b2826f32b..8ef183f911 100644 --- a/examples/platforms/routing_cluster.lua +++ b/examples/platforms/routing_cluster.lua @@ -7,42 +7,42 @@ simgrid.platf.AS_open{id="AS0",mode="Full"} simgrid.platf.AS_open{id="my_cluster1",mode="Cluster"} simgrid.platf.router_new{id="router1"} - simgrid.platf.host_new{id="host1",power="1Gf"}; - simgrid.platf.link_new{id="l1_UP",bandwidth="125MBps",latency="100us"}; - simgrid.platf.link_new{id="l1_DOWN",bandwidth="125MBps",latency="100us"}; + simgrid.platf.host_new{id="host1",speed="1Gf"}; + simgrid.platf.link_new{id="l1_UP",bandwidth="125MBps",lat="100us"}; + simgrid.platf.link_new{id="l1_DOWN",bandwidth="125MBps",lat="100us"}; simgrid.platf.host_link_new{id="host1",up="l1_UP",down="l1_DOWN"}; - simgrid.platf.host_new{id="host2",power="1Gf"}; - simgrid.platf.link_new{id="l2",bandwidth="125MBps",latency="100us",sharing_policy="FULLDUPLEX"}; + simgrid.platf.host_new{id="host2",speed="1Gf"}; + simgrid.platf.link_new{id="l2",bandwidth="125MBps",lat="100us",sharing_policy="FULLDUPLEX"}; simgrid.platf.host_link_new{id="host2",up="l2_UP",down="l2_DOWN"}; - simgrid.platf.host_new{id="host3",power="1Gf"}; - simgrid.platf.link_new{id="l3",bandwidth="125MBps",latency="100us"}; + simgrid.platf.host_new{id="host3",speed="1Gf"}; + simgrid.platf.link_new{id="l3",bandwidth="125MBps",lat="100us"}; simgrid.platf.host_link_new{id="host3",up="l3",down="l3"}; - simgrid.platf.backbone_new{id="backbone1",bandwidth="2.25GBps",latency="500us"}; + simgrid.platf.backbone_new{id="backbone1",bandwidth="2.25GBps",lat="500us"}; simgrid.platf.AS_close() simgrid.platf.AS_open{id="my_cluster2",mode="Cluster"} simgrid.platf.router_new{id="router2"} - simgrid.platf.host_new{id="host4",power="1Gf"}; - simgrid.platf.link_new{id="l4_UP",bandwidth="125MBps",latency="100us"}; - simgrid.platf.link_new{id="l4_DOWN",bandwidth="125MBps",latency="100us"}; + simgrid.platf.host_new{id="host4",speed="1Gf"}; + simgrid.platf.link_new{id="l4_UP",bandwidth="125MBps",lat="100us"}; + simgrid.platf.link_new{id="l4_DOWN",bandwidth="125MBps",lat="100us"}; simgrid.platf.host_link_new{id="host4",up="l4_UP",down="l4_DOWN"}; - simgrid.platf.host_new{id="host5",power="1Gf"}; - simgrid.platf.link_new{id="l5",bandwidth="125MBps",latency="100us",sharing_policy="FULLDUPLEX"}; + simgrid.platf.host_new{id="host5",speed="1Gf"}; + simgrid.platf.link_new{id="l5",bandwidth="125MBps",lat="100us",sharing_policy="FULLDUPLEX"}; simgrid.platf.host_link_new{id="host5",up="l5_UP",down="l5_DOWN"}; - simgrid.platf.host_new{id="host6",power="1Gf"}; - simgrid.platf.link_new{id="l6",bandwidth="125MBps",latency="100us"}; + simgrid.platf.host_new{id="host6",speed="1Gf"}; + simgrid.platf.link_new{id="l6",bandwidth="125MBps",lat="100us"}; simgrid.platf.host_link_new{id="host6",up="l6",down="l6"}; - simgrid.platf.backbone_new{id="backbone2",bandwidth="2.25GBps",latency="500us"} + simgrid.platf.backbone_new{id="backbone2",bandwidth="2.25GBps",lat="500us"} simgrid.platf.AS_close() - simgrid.platf.link_new{id="link1-2",bandwidth="2.25GBps",latency="500us"}; + simgrid.platf.link_new{id="link1-2",bandwidth="2.25GBps",lat="500us"}; simgrid.platf.ASroute_new{src="my_cluster1", dst="my_cluster2", gw_src="router1", gw_dst="router2", links="link1-2",symmetrical="YES"}