X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a82dc808b0cbd982bdc787a7b0a6721b01f3c116..8ab67fea317b43cb0f64495ff0f1972080b8ed1d:/examples/msg/masterslave/platform_script.lua diff --git a/examples/msg/masterslave/platform_script.lua b/examples/msg/masterslave/platform_script.lua index bb1853f3d6..32215a9ef7 100644 --- a/examples/msg/masterslave/platform_script.lua +++ b/examples/msg/masterslave/platform_script.lua @@ -1,3 +1,15 @@ +-- Copyright (c) 2010-2012. 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. + + +-- This file describes a platform very similar to the small_platform.xml, but in lua +-- It is naturally to be used with the MSG_load_platform_script function + +-- Of course, such a flat file is maybe not very interesting wrt xml. +-- The full power of lua reveals when you describe your platform programatically. + require "simgrid" simgrid.AS.new{id="AS0",mode="Full"};