# This script updates the simgrid XML file passed as argument (modification in place)
# It is built to do the conversion incrementally.
-# Copyright (c) 2006-2016. The SimGrid Team.
+# Copyright (c) 2006-2019. The SimGrid Team.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
=item
-The DOCTYPE points to the right URL: http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd
+The DOCTYPE points to the right URL.
=item
=back
-=item B<Version 4.1:> Introduced in SimGrid 3.16 (this is the current version)
+=item B<Version 4.1:> Introduced in SimGrid 3.16 (this is the current version).
=over 4
Rename the FULLDUPLEX sharing into SPLITDUPLEX.
+=item
+
+In <host> and <peer>, rename the 'availability_file' attribute into 'speed_file'.
+
=back
=back
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2006-2018. The SimGrid Team. All rights reserved.
+Copyright (c) 2006-2019. The SimGrid Team. All rights reserved.
This program is free software; you may redistribute it and/or modify it
under the terms of GNU LGPL (v2.1) license.
open INPUT, "$filename" or die "Cannot open input file $filename: $!\n";
my $output_string = "<?xml version='1.0'?>\n".
- "<!DOCTYPE platform SYSTEM \"http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd\">\n".
+ "<!DOCTYPE platform SYSTEM \"https://simgrid.org/simgrid.dtd\">\n".
"<platform version=\"$toversion\">\n";
my($AS_opened)=0;
$line =~ s/\bprocess\b/actor/g;
}
$line =~ s/\bFULLDUPLEX\b/SPLITDUPLEX/g;
+ $line =~ s/\bavailability_file\b/speed_file/g;
$output_string .= "$line\n";
}