Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
modify 'master_slave_bypass' in lua by calling simgrid.AS.new (still improvale :...
authorcoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 17:22:08 +0000 (17:22 +0000)
committercoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 17:22:08 +0000 (17:22 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8330 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/lua/master_slave_bypass.lua

index 52d57df..15cfe97 100644 (file)
@@ -68,7 +68,10 @@ end
 --]]
 
 require "simgrid"
-  
+  --create new routing model
+  --simgrid.AS.new(AS_id,AS_mode)
+  simgrid.AS.new{id="AS0",mode="Full"}; 
   --simgrid.Host.new(host_id,power)
   simgrid.Host.new{id="Tremblay",power=98095000};
   simgrid.Host.new{id="Jupiter",power=76296000};