+-- Copyright (c) 2011, 2014. The SimGrid Team.
+-- All rights reserved.
+
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the license (GNU LGPL) which comes with this package.
+
require "simgrid"
simgrid.AS.new{id="AS0",mode="Full"};
simgrid.host.setProperty{host="Fafard",prop_id="port",prop_value="76"};
-- create Links
for i=10,0,-1 do
- simgrid.AS.addLink{AS="AS0",id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};
+ simgrid.AS.addLink{AS="AS0",id=i,bandwidth=252750+ i*768,lat=0.000270544+i*0.087};
end
-- simgrid.route.new(src_id,des_id,links_nb,links_list)
simgrid.AS.addRoute("AS0","Tremblay","Jupiter",{"1"});